MCPcopy Create free account
hub / github.com/bajrangCoder/setu / toggle_command_palette

Method toggle_command_palette

src/views/main_view.rs:1695–1699  ·  view source on GitHub ↗
(&mut self, window: &mut Window, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

1693 fn derive_request_display_name(method: HttpMethod, url: &str) -> String {
1694 match Self::extract_url_path(url) {
1695 Some(path) => format!("{} {}", method.as_str(), path),
1696 None => "New Request".to_string(),
1697 }
1698 }
1699
1700 fn destination_options(entries: Vec<CollectionDestinationEntry>) -> Vec<DestinationOption> {
1701 entries
1702 .into_iter()

Callers 1

renderMethod · 0.80

Calls 1

toggleMethod · 0.45

Tested by

no test coverage detected