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
↓ 495 callers
Method
any
Checks if any of the edges satisfy a given predicate. This method applies a predicate function to each field of the `Edges` and returns `true` if any
crates/gpui/src/geometry.rs:1887
↓ 486 callers
Method
add_window_view
Adds a new window, and returns its root view and a `VisualTestContext` which can be used as a `Window` and `App` for the rest of the test. Typically y
crates/gpui/src/app/test_context.rs:287
↓ 484 callers
Method
len
(&self)
crates/editor/src/display_map/fold_map.rs:806
↓ 479 callers
Method
background_spawn
Spawn a future on the background executor.
crates/gpui/src/app/test_app.rs:216
↓ 470 callers
Method
spawn_in
(&self, window: &Window, f: AsyncFn)
crates/gpui/src/app/context.rs:676
↓ 462 callers
Method
background_executor
Returns a handle to the [`BackgroundExecutor`] associated with this app, which can be used to spawn futures in the background.
crates/gpui/src/app.rs:219
↓ 455 callers
Method
chars
(&self)
crates/rope/src/rope.rs:336
↓ 454 callers
Function
rel_path
(path: &str)
crates/util/src/rel_path.rs:409
↓ 450 callers
Method
dispatch_action
Dispatch an action to the currently active window or global action handler See [`crate::Action`] for more information on how actions work
crates/gpui/src/app.rs:2168
↓ 450 callers
Method
flatten
(self)
crates/text/src/text.rs:554
↓ 448 callers
Method
read
(&self, sha: Oid)
crates/git/src/repository.rs:131
↓ 445 callers
Method
into
(self)
crates/livekit_client/src/mock_client.rs:30
↓ 444 callers
Method
clone
(&self)
crates/gpui_util/src/arc_cow.rs:46
↓ 443 callers
Method
children
Add multiple child elements to this element.
crates/gpui/src/element.rs:170
↓ 432 callers
Method
workspace
(&self, window: &Window, cx: &App)
crates/vim/src/vim.rs:1049
↓ 426 callers
Method
set_shared_state
(&mut self, marked_text: &str)
crates/vim/src/test/neovim_backed_test_context.rs:251
↓ 425 callers
Method
to_point
Converts to an equivalent outline item, but with parameterized over Points.
crates/language/src/outline.rs:32
↓ 423 callers
Method
clone
(&self, window: &mut Window, cx: &mut Context<Self>)
crates/agent/src/edit_agent/evals/fixtures/disable_cursor_blinking/before.rs:1443
↓ 421 callers
Method
when_some
Conditionally unwrap and modify self with the given closure, if the given option is Some.
crates/gpui/src/util.rs:42
↓ 417 callers
Method
trim
Determine whether to trim whitespace. Uses naive HTML5 whitespace collapsing rules.
crates/markdown/src/html/html_minifier.rs:502
↓ 414 callers
Method
border_color
Sets the border color of the quad.
crates/gpui/src/window.rs:5841
↓ 408 callers
Method
advance_clock
(&self, duration: Duration)
crates/gpui/src/executor.rs:299
↓ 407 callers
Method
map
(&mut self, callback: impl FnMut(&mut Statement) -> Result<R>)
crates/sqlez/src/statement.rs:302
↓ 405 callers
Function
parse
(filter: &str)
crates/zlog/src/env_config.rs:9
↓ 405 callers
Method
update
(&mut self, editor: Entity<Editor>, _: &mut Window, cx: &mut Context<Self>)
crates/line_ending_selector/src/line_ending_indicator.rs:17
↓ 404 callers
Method
as_ref
(&self)
crates/language_core/src/manifest.rs:33
↓ 401 callers
Method
add_window
Adds a new window. The Window will always be backed by a `TestWindow` which can be retrieved with `self.test_window(handle)`
crates/gpui/src/app/test_context.rs:219
↓ 401 callers
Method
detach_and_log_err
(self, cx: &App)
crates/gpui/src/executor.rs:91
↓ 398 callers
Method
iter
Returns an iterator over the elements of the queue this iterator will wait for new elements if the queue is empty.
crates/gpui/src/queue.rs:298
↓ 396 callers
Method
buffer
(&self)
crates/editor/src/editor.rs:3325
↓ 395 callers
Method
get
(&self, row: usize, col: usize)
crates/agent/src/edit_agent/streaming_fuzzy_matcher.rs:302
↓ 391 callers
Method
clone
(&self)
crates/settings_ui/src/settings_ui.rs:126
↓ 388 callers
Method
as_ref
(&self)
crates/gpui_util/src/arc_cow.rs:126
↓ 385 callers
Method
strip_prefix
(&self, base: &Self)
crates/util/src/paths.rs:294
↓ 380 callers
Method
anchor_after
Returns an anchor for the given input position that is anchored to the text after the position.
crates/text/src/text.rs:2571
↓ 379 callers
Method
is_empty
(&self)
crates/editor/src/inlays.rs:40
↓ 379 callers
Method
random_range
Generate a random value in the given range.
crates/scheduler/src/test_scheduler.rs:828
↓ 371 callers
Method
update
(&self, terminal: &Terminal)
crates/terminal_view/src/terminal_scrollbar.rs:43
↓ 371 callers
Method
upgrade
Convert to a strongly-typed handle if the referenced view has not yet been released.
crates/gpui/src/view.rs:267
↓ 369 callers
Method
update
(&mut self, key: &K, f: F)
crates/sum_tree/src/tree_map.rs:140
↓ 366 callers
Method
head
(&self)
crates/git/src/status.rs:520
↓ 361 callers
Method
bg
Returns the background color for the given elevation index.
crates/ui/src/styles/elevation.rs:96
↓ 358 callers
Method
entry
(&self)
crates/worktree/src/worktree.rs:6041
↓ 354 callers
Method
boxed_clone
(&self)
crates/workspace/src/item.rs:713
↓ 353 callers
Method
borrow_mut
(&self)
crates/gpui_linux/src/linux/wayland/window.rs:503
↓ 353 callers
Method
next
(&self)
crates/editor/src/editor.rs:1416
↓ 348 callers
Method
min
(&'a self, other: &'a Self, buffer: &BufferSnapshot)
crates/text/src/anchor.rs:105
↓ 347 callers
Method
push
(name: SharedString, hitbox_id: HitboxId, cx: &mut App)
crates/gpui/src/elements/div.rs:3208
↓ 347 callers
Method
saturating_sub
(self, other: Self)
crates/rope/src/point.rs:57
↓ 346 callers
Method
active_pane
(&self)
crates/workspace/src/workspace.rs:5548
↓ 328 callers
Method
insert
Inserts another variable into the container, overwriting the existing one if it already exists — in this case, the old value is returned.
crates/task/src/task.rs:274
↓ 328 callers
Method
to_display_point
(&self, map: &DisplaySnapshot)
crates/editor/src/display_map.rs:2544
↓ 325 callers
Method
assert_matches
(&self)
crates/vim/src/test/neovim_backed_test_context.rs:36
↓ 320 callers
Method
arg
(&mut self, arg: impl AsRef<OsStr>)
crates/util/src/command.rs:57
↓ 317 callers
Method
borrow_mut
(&self)
crates/gpui/src/app.rs:93
↓ 316 callers
Method
len
(&self)
crates/gpui/src/scene.rs:57
↓ 315 callers
Function
size
Constructs a new `Size<T>` with the provided width and height. # Arguments `width` - The width component of the `Size`. `height` - The height compon
crates/gpui/src/geometry.rs:425
↓ 314 callers
Function
t
(input: &'static str)
crates/agent/src/tool_permissions.rs:745
↓ 309 callers
Method
tooltip
Use the given callback to construct a new tooltip view when the mouse hovers over this element. The imperative API equivalent to [`StatefulInteractive
crates/gpui/src/elements/div.rs:614
↓ 309 callers
Method
values
(&self)
crates/sum_tree/src/tree_map.rs:180
↓ 303 callers
Method
as_mut
(&self, cx: &'a mut C)
crates/gpui/src/app/entity_map.rs:486
↓ 301 callers
Method
insert
(&mut self, path: &TriePath, value: Label, presence: LabelPresence)
crates/project/src/manifest_tree/path_trie.rs:77
↓ 300 callers
Method
lock
(global: HGLOBAL)
crates/gpui_windows/src/clipboard.rs:366
↓ 298 callers
Method
read
(&mut self)
crates/rpc/src/message_stream.rs:84
↓ 297 callers
Method
retain
Call the given callback for each subscriber to the given emitter. If the callback returns false, the subscriber is removed.
crates/gpui/src/subscription.rs:110
↓ 292 callers
Method
select_ranges
(&mut self, ranges: I)
crates/editor/src/selections_collection.rs:834
↓ 290 callers
Function
register_action
( editor: &Entity<Editor>, window: &mut Window, listener: impl Fn(&mut Editor, &T, &mut Window, &m
crates/editor/src/element.rs:12695
↓ 288 callers
Method
count
(&self)
crates/editor/src/selections_collection.rs:66
↓ 286 callers
Method
iter
(&self)
crates/sum_tree/src/tree_map.rs:176
↓ 286 callers
Method
push
( &mut self, branch: SharedString, remote_branch: SharedString, remote: Shared
crates/project/src/git_store.rs:6154
↓ 285 callers
Method
iter
Returns an iterator over the diagnostic entries in the set.
crates/language/src/diagnostic_set.rs:193
↓ 284 callers
Method
len
(&self)
crates/agent/src/edit_agent/reindent.rs:18
↓ 282 callers
Method
create_client
(&mut self, cx: &mut TestAppContext, name: &str)
crates/collab/tests/integration/test_server.rs:164
↓ 276 callers
Method
into
(self)
crates/settings/src/base_keymap_setting.rs:41
↓ 275 callers
Method
map
(&self, f: F)
crates/text/src/selection.rs:45
↓ 271 callers
Method
parent
(&self)
crates/util/src/paths.rs:290
↓ 270 callers
Method
max
(&'a self, other: &'a Self, buffer: &BufferSnapshot)
crates/text/src/anchor.rs:113
↓ 269 callers
Method
entity_id
Returns the [EntityId] that will be associated with the entity once it is inserted.
crates/gpui/src/gpui.rs:220
↓ 269 callers
Method
join
(components: impl Iterator<Item = Self>, separator: &str)
crates/picker/src/highlighted_match_with_paths.rs:19
↓ 268 callers
Method
as_str
(&self)
crates/git/src/git.rs:256
↓ 266 callers
Method
borrow
(&self)
crates/gpui/src/app.rs:83
↓ 266 callers
Method
item
(&self)
crates/sum_tree/src/cursor.rs:99
↓ 261 callers
Method
clone
(value: &(&T, &U))
crates/worktree/src/worktree.rs:1369
↓ 258 callers
Method
first
(&self)
crates/sum_tree/src/tree_map.rs:184
↓ 255 callers
Method
as_bytes
(&self)
crates/git/src/git.rs:156
↓ 254 callers
Method
last
(&self)
crates/editor/src/editor.rs:983
↓ 253 callers
Method
then
(&'a self, job: NamedJob)
tooling/xtask/src/tasks/workflows/vars.rs:155
↓ 252 callers
Method
clone
(&self)
crates/gpui/src/app/test_app.rs:496
↓ 252 callers
Method
ends_with
(&self, pattern: &str)
crates/rope/src/rope.rs:594
↓ 252 callers
Method
push
(&mut self, entry: SelectionHistoryEntry)
crates/agent/src/tools/evals/fixtures/disable_cursor_blinking/before.rs:1129
↓ 251 callers
Method
project
(&self)
crates/agent/src/thread.rs:1398
↓ 250 callers
Method
len
Returns the number of diagnostics in the set.
crates/language/src/diagnostic_set.rs:184
↓ 249 callers
Method
get
(&self, image_id: ImageId)
crates/project/src/image_store.rs:363
↓ 248 callers
Method
as_fake
(&self)
crates/fs/src/fs.rs:3352
↓ 245 callers
Function
assert_item_labels
( pane: &Entity<Pane>, expected_states: [&str; COUNT], cx: &mut VisualTestContext,
crates/workspace/src/pane.rs:8900
↓ 245 callers
Method
peek
(&self)
crates/rope/src/rope.rs:964
↓ 244 callers
Method
icon_size
(mut self, icon_size: IconSize)
crates/ui/src/components/context_menu.rs:154
↓ 244 callers
Method
next
(&mut self, cursor: &mut SearchHistoryCursor)
crates/project/src/search_history.rs:76
↓ 241 callers
Method
update
(&mut self, parsed: &ParsedMarkdown, cx: &mut Context<Markdown>)
crates/markdown/src/mermaid.rs:69
↓ 240 callers
Function
f
(k,j,I,z)
docs/theme/c15t@2.0.0-rc.3.js:1
← previous
next →
101–200 of 38,615, ranked by callers