Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dylanmurzello/zed-android-port
/ functions
Functions
38,615 in github.com/Dylanmurzello/zed-android-port
⨍
Functions
38,615
◇
Types & classes
7,505
↓ 73 callers
Method
items
(&'a self)
crates/workspace/src/pane.rs:71
↓ 73 callers
Method
modifiers
The current state of the keyboard's modifiers
crates/gpui/src/window.rs:2461
↓ 73 callers
Method
snapshot
Retrieve a snapshot of the buffer's current state. This is computationally cheap, and allows reading from the buffer on a background thread.
crates/language/src/buffer.rs:1224
↓ 73 callers
Method
status
(&self, cx: &'a App)
crates/agent_ui/src/buffer_codegen.rs:137
↓ 73 callers
Method
transaction
(&self, f: F)
crates/collab/src/db.rs:91
↓ 72 callers
Method
http_client
Returns the HTTP client for the application.
crates/gpui/src/app.rs:1353
↓ 72 callers
Function
linear_color_stop
Creates a new linear color stop. The percentage of the gradient, in the range 0.0 to 1.0.
crates/gpui/src/color.rs:805
↓ 72 callers
Method
random_bool
Generate a random boolean with the given probability of being true.
crates/scheduler/src/test_scheduler.rs:837
↓ 72 callers
Method
recv
(&self, buf: &mut [u8])
crates/net/src/socket.rs:46
↓ 71 callers
Function
all
()
tooling/xtask/src/tasks/workflows/vars.rs:394
↓ 71 callers
Method
borrow
(&self)
crates/gpui_util/src/arc_cow.rs:106
↓ 71 callers
Method
enable_helix
(&mut self)
crates/vim/src/test/vim_test_context.rs:182
↓ 71 callers
Method
get
Get all initialized language server IDs for a given path.
crates/project/src/manifest_tree/server_tree.rs:138
↓ 71 callers
Method
insert_file
(&self, path: impl AsRef<Path>, content: Vec<u8>)
crates/fs/src/fs.rs:1844
↓ 71 callers
Function
language
(name: &str, grammar: tree_sitter::Language)
crates/languages/src/lib.rs:375
↓ 71 callers
Method
switch_mode
( &mut self, mode: Mode, leave_selections: bool, window: &mut Window,
crates/vim/src/vim.rs:1188
↓ 71 callers
Method
text_for_range
(&self, range: Range<T>)
crates/text/src/text.rs:2245
↓ 70 callers
Method
entries
Returns all threads.
crates/agent_ui/src/thread_metadata_store.rs:564
↓ 70 callers
Method
file
(&self)
crates/audio/src/audio.rs:35
↓ 70 callers
Method
insert
( &mut self, id: NotificationId, build_notification: Arc<dyn Fn(&mut Context<Workspace
crates/workspace/src/notifications.rs:996
↓ 70 callers
Method
next
(&mut self)
crates/rope/src/rope.rs:1068
↓ 70 callers
Method
on_click
( self, handler: impl Fn(&gpui::ClickEvent, &mut Window, &mut App) + 'static, )
crates/repl/src/notebook/cell.rs:80
↓ 70 callers
Method
spawn
( &self, _task: task::SpawnInTerminal, _window: &mut ui::Window,
crates/workspace/src/tasks.rs:496
↓ 69 callers
Method
create_dir
(&self, path: &Path)
crates/fs/src/fs.rs:744
↓ 69 callers
Method
filter
Note: If the summary type requires a non `()` context, then the filter cursor that is returned cannot be used with Rust's iterators.
crates/sum_tree/src/sum_tree.rs:609
↓ 69 callers
Method
first
(&self, snapshot: &DisplaySnapshot)
crates/editor/src/selections_collection.rs:316
↓ 69 callers
Method
into
(self)
crates/gpui/examples/set_menus.rs:70
↓ 69 callers
Method
replace
( &mut self, identifier: &Self::Match, query: &project::search::SearchQuery, t
crates/editor/src/split.rs:1966
↓ 69 callers
Method
scan_complete
(&self)
crates/worktree/src/worktree.rs:1376
↓ 69 callers
Method
session_id
(&self)
crates/agent_ui/src/buffer_codegen.rs:260
↓ 69 callers
Method
top
Returns the top edge of the bounds. # Returns A value of type `T` representing the y-coordinate of the top edge of the bounds.
crates/gpui/src/geometry.rs:1293
↓ 69 callers
Method
workspace
(&self)
crates/editor/src/editor.rs:3333
↓ 68 callers
Method
anchor_to_buffer_anchor
Returns a buffer anchor and its buffer snapshot for the given anchor, if it is in the multibuffer.
crates/multi_buffer/src/multi_buffer.rs:5331
↓ 68 callers
Method
clip_point
(&self, point: DisplayPoint, bias: Bias)
crates/editor/src/display_map.rs:2057
↓ 68 callers
Method
file
(&self, cx: &App)
crates/project/src/task_inventory.rs:201
↓ 68 callers
Method
get_or_insert_with
( &self, key: &AtlasKey, build: &mut dyn FnMut() -> Result<Option<(Size<DevicePixels>,
crates/gpui_wgpu/src/wgpu_atlas.rs:108
↓ 68 callers
Method
languages
Returns the list of languages for the language server. Prefer this over accessing the `language` or `languages` fields directly, as we currently supp
crates/extension/src/extension_manifest.rs:335
↓ 68 callers
Method
new_window_entity
( &mut self, build_entity: impl FnOnce(&mut Window, &mut Context<T>) -> T, )
crates/gpui/src/app/test_context.rs:1041
↓ 68 callers
Method
node
(&self, node_id: DispatchNodeId)
crates/gpui/src/key_dispatch.rs:598
↓ 68 callers
Function
open
( workspace: &mut Workspace, _: &zed_actions::git::ViewStash, window: &mut Window, cx: &mut Co
crates/git_ui/src/stash_picker.rs:32
↓ 68 callers
Function
repo_path
(s: &S)
crates/git/src/repository.rs:3546
↓ 68 callers
Method
text_anchor_for_position
( &self, position: T, cx: &App, )
crates/multi_buffer/src/multi_buffer.rs:1931
↓ 68 callers
Method
to_owned
(self)
crates/project/src/git_store/git_traversal.rs:203
↓ 67 callers
Method
db
(&self)
crates/collab/src/rpc.rs:199
↓ 67 callers
Method
new
( agent: Rc<dyn AgentServer>, connection_store: Entity<AgentConnectionStore>, connecti
crates/agent_ui/src/conversation_view.rs:682
↓ 67 callers
Method
next
(&mut self)
crates/worktree/src/worktree.rs:6065
↓ 67 callers
Function
update_test_language_settings
( cx: &mut TestAppContext, f: &dyn Fn(&mut AllLanguageSettingsContent), )
crates/editor/src/editor_tests.rs:31439
↓ 67 callers
Method
workspace
(mut self, workspace: Option<WeakEntity<Workspace>>)
crates/agent_ui/src/ui/mention_crease.rs:55
↓ 66 callers
Method
add_tool
(&mut self, tool: T)
crates/agent/src/thread.rs:1583
↓ 66 callers
Method
editor
(&mut self, read: F)
crates/editor/src/test/editor_test_context.rs:182
↓ 66 callers
Method
max_point
(&self)
crates/rope/src/rope.rs:324
↓ 66 callers
Method
simulate_input
Simulate typing text.
crates/gpui/src/app/test_app.rs:405
↓ 66 callers
Method
sort
(&mut self)
crates/prompt_store/src/prompt_store.rs:237
↓ 65 callers
Method
as_local_mut
(&mut self)
crates/project/src/lsp_store.rs:4240
↓ 65 callers
Method
as_unix_str
Get the internal unix-style representation of the path. This should not be shown to the user.
crates/util/src/rel_path.rs:239
↓ 65 callers
Method
find
()
crates/gpui_macos/src/pasteboard.rs:33
↓ 65 callers
Method
is_singleton
(&self)
crates/multi_buffer/src/multi_buffer.rs:1344
↓ 65 callers
Method
new
(items: Vec<OutlineItem<T>>)
crates/language/src/outline.rs:102
↓ 65 callers
Method
push
(&mut self, op: Operation)
crates/text/src/text.rs:234
↓ 65 callers
Method
start_icon
(mut self, icon: IconName)
crates/ui_input/src/input_field.rs:73
↓ 64 callers
Method
as_local
(&self)
crates/worktree/src/worktree.rs:635
↓ 64 callers
Method
on_mouse_down
Bind the given callback to the mouse down event for the given mouse button, during the bubble phase. The imperative API equivalent of [`InteractiveEle
crates/gpui/src/elements/div.rs:122
↓ 64 callers
Method
read
( &self, wrap_snapshot: WrapSnapshot, edits: WrapPatch, companion_view: Option
crates/editor/src/display_map/block_map.rs:645
↓ 64 callers
Method
upgrade
(&self)
crates/workspace/src/item.rs:1191
↓ 64 callers
Function
white
Pure white in [`Hsla`]
crates/gpui/src/color.rs:386
↓ 63 callers
Method
boxed_clone
(&self)
crates/gpui/tests/action_macros.rs:29
↓ 63 callers
Method
fake_event
(&self, event: dap_types::messages::Events)
crates/dap/src/client.rs:251
↓ 63 callers
Method
focus_self
Move focus to the current view, assuming it implements [`Focusable`].
crates/gpui/src/app/context.rs:752
↓ 63 callers
Function
init
Initializes the Tokio wrapper using a new Tokio runtime with 2 worker threads. If you need more threads (or access to the runtime outside of GPUI), y
crates/gpui_tokio/src/gpui_tokio.rs:12
↓ 63 callers
Function
language_settings_field
( settings_content: &SettingsContent, get_language_setting_field: fn(&LanguageSettingsContent) -> Opti
crates/settings_ui/src/page_data.rs:7812
↓ 63 callers
Function
language_settings_field_mut
( settings_content: &mut SettingsContent, value: Option<T>, write: fn(&mut LanguageSettingsContent
crates/settings_ui/src/page_data.rs:7829
↓ 63 callers
Method
line_height
The line height associated with the current text style.
crates/gpui/src/window.rs:2333
↓ 63 callers
Function
match_strings
( candidates: &[T], query: &str, smart_case: bool, penalize_length: bool, max_results: usi
crates/fuzzy/src/strings.rs:117
↓ 63 callers
Method
opacity
(mut self, opacity: f32)
crates/ui/src/components/button/button_like.rs:541
↓ 63 callers
Method
open_local_buffer_with_lsp
( &mut self, abs_path: impl AsRef<Path>, cx: &mut Context<Self>, )
crates/project/src/project.rs:3077
↓ 63 callers
Method
path_style
(&self)
crates/util/src/paths.rs:485
↓ 63 callers
Method
text
(&self, cx: &App)
crates/agent_ui/src/message_editor.rs:1654
↓ 63 callers
Function
uniform_list
( id: impl Into<ElementId>, item_count: usize, f: impl 'static + Fn(Range<usize>, &mut Window, &mu
crates/gpui/src/elements/uniform_list.rs:22
↓ 63 callers
Method
with_project_items
(mut self, items: &[Entity<TestProjectItem>])
crates/workspace/src/item.rs:1570
↓ 62 callers
Method
alpha
Returns a new HSLA color with the same hue, saturation, and lightness, but with a new alpha value. Example: ``` let color = gpui::red(); let red_colo
crates/gpui/src/color.rs:579
↓ 62 callers
Method
as_f64
(&self)
crates/editor/src/editor.rs:29917
↓ 62 callers
Method
clamp
Clamps the point to a specified range. Given a minimum point and a maximum point, this method constrains the current point such that its coordinates
crates/gpui/src/geometry.rs:367
↓ 62 callers
Method
interactivity
(&mut self)
crates/gpui/src/elements/div.rs:1453
↓ 62 callers
Method
into_inner
Returns the inner value of the guard.
crates/collab/src/db.rs:301
↓ 62 callers
Method
is_allow
(self)
crates/agent/src/tool_permissions.rs:676
↓ 62 callers
Method
left
Returns the left edge of the bounds. # Returns A value of type `T` representing the x-coordinate of the left edge of the bounds.
crates/gpui/src/geometry.rs:1311
↓ 62 callers
Method
motion
(&mut self, motion: Motion, window: &mut Window, cx: &mut Context<Self>)
crates/vim/src/motion.rs:720
↓ 62 callers
Method
next
(&self)
crates/agent/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rs:1005
↓ 62 callers
Method
open_url
Directs the platform's default browser to open the given URL.
crates/gpui/src/app.rs:1265
↓ 62 callers
Method
right
Returns the right edge of the bounds. # Returns A value of type `T` representing the x-coordinate of the right edge of the bounds.
crates/gpui/src/geometry.rs:1320
↓ 62 callers
Method
send_partial
(&mut self, payload: serde_json::Value)
crates/agent/src/thread.rs:3327
↓ 62 callers
Method
slice
(&self, range: Range<usize>)
crates/rope/src/rope.rs:134
↓ 61 callers
Method
buffer
(&self, cx: &App)
crates/agent_ui/src/buffer_codegen.rs:232
↓ 61 callers
Method
build_workspace
( &'a self, project: &Entity<Project>, cx: &'a mut TestAppContext, )
crates/collab/tests/integration/test_server.rs:893
↓ 61 callers
Method
canonicalize
(path: &Path)
crates/fs/src/fs.rs:644
↓ 61 callers
Method
group
Returns all of the diagnostics in a particular diagnostic group, in order of their position in the buffer.
crates/language/src/diagnostic_set.rs:290
↓ 61 callers
Method
id
(&self)
crates/workspace/src/item.rs:1183
↓ 61 callers
Method
indent_size_for_line
Returns [`IndentSize`] for a given line that respects user settings and language preferences.
crates/language/src/buffer.rs:3379
↓ 61 callers
Method
layout_as_root
( &mut self, available_space: Size<AvailableSpace>, window: &mut Window, cx: &
crates/gpui/src/element.rs:504
↓ 61 callers
Method
new
( style: DiffViewStyle, rhs_multibuffer: Entity<MultiBuffer>, project: Entity<Project>
crates/editor/src/split.rs:494
← previous
next →
601–700 of 38,615, ranked by callers