MCPcopy Index your code

hub / github.com/Dylanmurzello/zed-android-port / functions

Functions38,615 in github.com/Dylanmurzello/zed-android-port

↓ 24,453 callersFunctionnew
(cx: &App)
crates/zed_credentials_provider/src/zed_credentials_provider.rs:45
↓ 10,274 callersMethodunwrap
(self)
crates/settings/src/settings_store.rs:1462
↓ 7,508 callersFunctiondefault
()
crates/util/src/util.rs:734
↓ 6,760 callersMethodclone
(&self, window: &mut Window, cx: &mut Context<Self>)
crates/editor/src/editor.rs:2007
↓ 6,230 callersMethodread
(&self, key: &str)
crates/db/src/kvp.rs:103
↓ 5,540 callersMethodmap
(mut self, f: impl FnOnce(&mut T) -> &mut U)
crates/gpui/src/arena.rs:172
↓ 4,933 callersMethodchild
Add a single child element to this element.
crates/gpui/src/element.rs:161
↓ 4,574 callersMethodclone
(&self, window: &mut Window, cx: &mut Context<Self>)
crates/agent/src/tools/evals/fixtures/disable_cursor_blinking/before.rs:1443
↓ 4,240 callersMethodupdate
(&mut self, update: impl FnOnce(&mut Self) -> R)
crates/gpui/src/app.rs:886
↓ 3,355 callersMethodto_string
(&self, path_to_string: &dyn Fn(&PathBuf) -> String)
crates/util/src/paths.rs:813
↓ 3,306 callersMethodrun_until_parked
(&self)
crates/gpui/src/executor.rs:316
↓ 3,287 callersMethodread_with
Read the root view out of this window, with a callback This will fail if the window is closed or if the root view's type does not match `V`.
crates/gpui/src/window.rs:5512
↓ 3,171 callersMethodupdate
(&mut self, cx: &mut Context<Diff>)
crates/acp_thread/src/diff.rs:230
↓ 3,076 callersMethodas_ref
(&self)
crates/editor/src/display_map/block_map.rs:156
↓ 2,986 callersMethodinto
(self)
crates/rope/src/chunk.rs:227
↓ 2,863 callersMethodupdate_in
( &self, cx: &mut C, update: impl FnOnce(&mut T, &mut Window, &mut Context<T>) -> R,
crates/gpui/src/app/entity_map.rs:502
↓ 2,785 callersMethodclone
(&self)
crates/proto/src/typed_envelope.rs:179
↓ 2,523 callersMethodok
Create an Ok button
crates/gpui/src/platform.rs:1703
↓ 2,287 callersMethodupdate
( &mut self, new_tab_snapshot: TabSnapshot, tab_edits: &[TabEdit], wrap_width:
crates/editor/src/display_map/wrap_map.rs:455
↓ 2,220 callersMethodexecutor
Returns an executor (for running tasks in the background)
crates/gpui/src/app/test_context.rs:196
↓ 2,202 callersMethoditer
(&self)
crates/task/src/task.rs:297
↓ 2,044 callersMethodinto_iter
(self)
crates/task/src/task.rs:313
↓ 1,901 callersFunctionpx
Constructs a `Pixels` value representing a length in pixels. # Arguments `pixels` - The number of pixels for the length. # Returns A `Pixels` repr
crates/gpui/src/geometry.rs:3724
↓ 1,889 callersMethodexpect
(self, message: &str)
crates/settings/src/settings_store.rs:1466
↓ 1,882 callersMethodupdate
( &mut self, backend: &Arc<dyn GitRepository>, current_conflicted_paths: Vec<RepoPath>
crates/project/src/git_store.rs:4247
↓ 1,619 callersFunctiontest
(args: TokenStream, function: TokenStream)
crates/gpui_macros/src/test.rs:95
↓ 1,484 callersMethodread
( &mut self, inlay_snapshot: InlaySnapshot, edits: Vec<InlayEdit>, )
crates/editor/src/display_map/fold_map.rs:392
↓ 1,435 callersMethodlistener
Convenience method for accessing view state in an event callback. Many GPUI callbacks take the form of `Fn(&E, &mut Window, &mut App)`, but it's ofte
crates/gpui/src/app/context.rs:252
↓ 1,413 callersMethodnotify
Sends a RPC notification to the language server. [LSP Specification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/spe
crates/lsp/src/lsp.rs:1581
↓ 1,393 callersMethodpush
(&mut self, mut text: &str)
crates/rope/src/rope.rs:147
↓ 1,351 callersMethodlog_err
(self)
crates/gpui_util/src/lib.rs:104
↓ 1,272 callersFunctiondiv
()
crates/gpui/src/elements/div.rs:1369
↓ 1,254 callersMethodtheme
(&self)
crates/theme/src/theme.rs:125
↓ 1,235 callersMethodtake
Called by `ConnectionPool::connect` to retrieve a pre-registered mock connection.
crates/remote/src/transport/mock.rs:108
↓ 1,231 callersMethodclone
(&self)
crates/language/src/buffer.rs:5525
↓ 1,214 callersMethodcontext
(mut self, focus: FocusHandle)
crates/ui/src/components/context_menu.rs:479
↓ 1,202 callersMethodmap
(&mut self, point: FoldPoint)
crates/editor/src/display_map/tab_map.rs:509
↓ 1,196 callersMethodupdate_editor
(&mut self, update: F)
crates/editor/src/test/editor_test_context.rs:191
↓ 1,148 callersMethodinto_any_element
(self)
crates/gpui/src/element.rs:727
↓ 1,144 callersMethodclone
(&self)
crates/workspace/src/item.rs:1177
↓ 1,143 callersMethodas_ref
(&self)
crates/settings_content/src/theme.rs:406
↓ 1,141 callersMethodinsert_tree
( &'a self, path: impl 'a + AsRef<Path> + Send, tree: serde_json::Value, )
crates/fs/src/fs.rs:1985
↓ 1,122 callersMethodclone
(&self)
crates/gpui/src/queue.rs:172
↓ 1,117 callersMethodjoin
(&self, path: P)
crates/util/src/paths.rs:286
↓ 1,111 callersMethodclone
(&self)
crates/collections/src/vecmap_tests.rs:110
↓ 1,105 callersMethodcolors
(&self)
crates/theme/src/theme.rs:240
↓ 1,060 callersMethodcloned
(&self)
crates/proto/src/error.rs:125
↓ 993 callersMethodlen
(&self)
crates/rope/src/rope.rs:316
↓ 988 callersFunctionh_flex
()
crates/ui/src/components/stack.rs:7
↓ 984 callersMethodspawn
(&self, f: AsyncFn)
crates/gpui/src/app.rs:1667
↓ 980 callersMethodunwrap
(self)
crates/gpui_util/src/lib.rs:267
↓ 965 callersMethodwhen
Conditionally modify self with the given closure.
crates/gpui/src/util.rs:21
↓ 964 callersMethodinto
(self)
crates/gpui/src/inspector.rs:13
↓ 961 callersMethoddetach
Detaching a subscription handle prevents it from unsubscribing on drop.
crates/lsp/src/lsp.rs:1742
↓ 954 callersMethodclone
(&self, cx: &mut Context<Self>)
crates/search/src/project_search.rs:338
↓ 945 callersMethodinto
(self)
crates/editor/src/scroll/autoscroll.rs:91
↓ 920 callersMethodemit
Emit an event of the specified type, which can be handled by other entities that have subscribed via `subscribe` methods on their respective contexts.
crates/gpui/src/app/context.rs:765
↓ 910 callersMethodsimulate_keystrokes
Simulate multiple keystrokes (space-separated).
crates/gpui/src/app/test_app.rs:398
↓ 907 callersMethodcontains
Obtains whether this handle contains the given handle in the most recently rendered frame.
crates/gpui/src/window.rs:341
↓ 894 callersMethodon_action
Register a global handler for actions invoked via the keyboard. These handlers are run at the end of the bubble phase for actions, and so will only be
crates/gpui/src/app.rs:1962
↓ 875 callersMethodpush_str
(&mut self, text: &str)
crates/rope/src/chunk.rs:105
↓ 867 callersMethodfilter
(&self, delta: &mut gpui::Point<Pixels>)
crates/editor/src/scroll.rs:122
↓ 834 callersMethodlock
Lock the inner RNG for direct access. Use this when you need multiple random operations without re-locking between each one.
crates/scheduler/src/test_scheduler.rs:823
↓ 829 callersMethodsimulate_shared_keystrokes
(&mut self, keystroke_texts: &str)
crates/vim/src/test/neovim_backed_test_context.rs:263
↓ 819 callersMethodas_ref
(&self)
crates/project/src/agent_server_store.rs:97
↓ 811 callersMethodclone
(&self)
crates/text/src/locator.rs:15
↓ 789 callersMethodupdate
(&mut self, editor: Entity<Editor>, window: &mut Window, cx: &mut Context<Self>)
crates/diagnostics/src/items.rs:170
↓ 781 callersMethodcolor
Unwrap this fill into a solid color, if it is one. If the fill is not a solid color, this method returns `None`.
crates/gpui/src/style.rs:817
↓ 760 callersMethoditer
(&self)
crates/editor/src/code_context_menus.rs:1455
↓ 748 callersMethodassert_editor_state
(&mut self, marked_text: &str)
crates/editor/src/test/editor_test_context.rs:609
↓ 736 callersMethodshared_state
(&mut self)
crates/vim/src/test/neovim_backed_test_context.rs:362
↓ 735 callersFunctionglobal
(f: impl FnOnce(&GlobalWatcher) -> T)
crates/fs/src/fs_watcher.rs:581
↓ 734 callersMethodsize
Get the size of this image, in pixels.
crates/gpui/src/assets.rs:79
↓ 717 callersMethodassert_eq
(&self, expected: &str)
crates/vim/src/test/vim_test_context.rs:274
↓ 703 callersMethoddowngrade
Convert this to a weak handle.
crates/gpui/src/view.rs:56
↓ 701 callersMethodon_click
Bind the given callback to click events of this element. The imperative API equivalent to [`StatefulInteractiveElement::on_click`]. See [`Context::li
crates/gpui/src/elements/div.rs:546
↓ 693 callersMethodassert_state
(&mut self, text: &str, mode: Mode)
crates/vim/src/test/vim_test_context.rs:225
↓ 687 callersMethodrun_until_parked
(&mut self)
crates/editor/src/test/editor_test_context.rs:271
↓ 659 callersMethodinto
(self)
crates/project/src/project_settings.rs:256
↓ 638 callersMethodto_string
(&self)
crates/edit_prediction_cli/src/reorder_patch.rs:149
↓ 636 callersFunctionv_flex
()
crates/ui/src/components/stack.rs:13
↓ 633 callersMethodto_owned
Returns an owned version of this layer.
crates/language/src/syntax_map.rs:1841
↓ 625 callersMethodset_state
(&mut self, other: &DisplaySnapshot, cx: &mut Context<Self>)
crates/editor/src/display_map.rs:692
↓ 622 callersMethodget
Get the value associated with given variable name, if there is one.
crates/task/src/task.rs:283
↓ 591 callersMethodfind
()
crates/zed_actions/src/lib.rs:449
↓ 583 callersMethodpush
Queries the editor's linked editing ranges for the given anchor range and, if any are found, records them paired with `text` for later application.
crates/editor/src/linked_editing_ranges.rs:178
↓ 579 callersMethodis_empty
(&self)
crates/rope/src/rope.rs:320
↓ 562 callersFunctionpoint
Constructs a new `Point<T>` with the given x and y coordinates. # Arguments `x` - The x coordinate of the point. `y` - The y coordinate of the point
crates/gpui/src/geometry.rs:111
↓ 557 callersMethodclone
(&self, new_cx: &mut Context<Self>)
crates/multi_buffer/src/multi_buffer.rs:1265
↓ 555 callersMethodto_offset
(self, map: &DisplaySnapshot, bias: Bias)
crates/editor/src/display_map.rs:2530
↓ 552 callersMethodanchor_before
Returns an anchor for the given input position that is anchored to the text before the position.
crates/text/src/text.rs:2566
↓ 547 callersMethodchange_selections
Changes selections using the provided mutation function. Changes to `self.selections` occur immediately, but when run within `transact` or `with_selec
crates/editor/src/editor.rs:4082
↓ 544 callersMethodsnapshot
(&self, window: &Window, cx: &mut App)
crates/editor/src/editor.rs:3367
↓ 542 callersMethodwith_context
(self, f: F)
crates/collab/src/errors.rs:22
↓ 529 callersMethodstarts_with
(&self, pattern: &str)
crates/rope/src/rope.rs:573
↓ 519 callersMethodset_state
(&mut self, text: &str, mode: Mode)
crates/vim/src/test/vim_test_context.rs:211
↓ 508 callersMethodbuffer_snapshot
(&self)
crates/editor/src/display_map.rs:1547
↓ 508 callersFunctioninit_test
(cx: &mut TestAppContext, f: fn(&mut AllLanguageSettingsContent))
crates/editor/src/editor_tests.rs:31474
↓ 507 callersMethodupdate
(cx: &mut C, f: impl FnOnce(&mut Self, &mut C) -> R)
crates/settings/src/settings_store.rs:338
↓ 499 callersMethodto_string
(&self)
crates/git_ui/src/git_panel.rs:611
next →1–100 of 38,615, ranked by callers