Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KyosukeIshizu1008/berryscode
/ functions
Functions
2,320 in github.com/KyosukeIshizu1008/berryscode
⨍
Functions
2,320
◇
Types & classes
432
↓ 2 callers
Method
shutdown_all_with_timeout
Shutdown all servers with a hard time bound. Used by `BerryCodeApp::drop` so that an unresponsive rust-analyzer can never block the editor's quit path
berrycode/src/native/lsp_native.rs:1167
↓ 2 callers
Method
snapshot
✅ IntelliJ Pro: Create immutable snapshot of the rope for rendering This is O(1) operation - Rope uses Arc internally, so clone is instant! The snapsh
berrycode/src/buffer.rs:218
↓ 2 callers
Function
split_top_level_commas
Split `s` at commas that sit at paren/bracket/brace depth 0 and outside of double-quoted strings. Generic angle brackets (`<>`) are intentionally *not
berrycode/src/app/scene_editor/system_graph.rs:166
↓ 2 callers
Method
start
(&mut self, id: &str)
berrycode/src/app/docker.rs:153
↓ 2 callers
Method
start_server
Start an LSP server for a language
berrycode/src/native/lsp_native.rs:119
↓ 2 callers
Function
status_chip
(ui: &mut egui::Ui, ok: bool, label: &str)
berrycode/src/app/mobile_toolchain.rs:1479
↓ 2 callers
Method
stop
Stop watching. Called on project close or shutdown.
berrycode/src/app/asset_watcher.rs:83
↓ 2 callers
Function
stop_audio_preview
Stop any currently playing audio preview.
berrycode/src/app/scene_editor/inspector.rs:73
↓ 2 callers
Function
template_main_rs_for_test
(template: ProjectTemplate)
berrycode/src/app/new_project.rs:286
↓ 2 callers
Method
terminal_copy_selection
(&mut self)
berrycode/src/app/terminal.rs:1104
↓ 2 callers
Method
terminal_paste
(&mut self)
berrycode/src/app/terminal.rs:1114
↓ 2 callers
Function
theme_mode_path
Where the chosen visual theme is persisted between sessions.
berrycode/src/app/mod.rs:2618
↓ 2 callers
Method
tick
Advance playback by real elapsed time since the last tick.
berrycode/src/app/scene_editor/animation.rs:24
↓ 2 callers
Function
to_snake_case
Convert PascalCase to snake_case.
berrycode/src/bevy_ide/templates.rs:172
↓ 2 callers
Method
toggle_breakpoint
Toggle breakpoint at cursor line
berrycode/src/app/debugger.rs:579
↓ 2 callers
Function
tool_window_frame
()
berrycode/src/app/mobile_toolchain.rs:1424
↓ 2 callers
Function
totals_between
Sum every record whose timestamp falls inside the supplied UTC date range (`since` inclusive, `until` exclusive). The Settings panel passes "today" an
berrycode/src/ai/usage.rs:190
↓ 2 callers
Function
triangles_for_entity
Build the list of local-space triangles that represent an entity's first renderable component. Returns `None` for non-renderable entities (lights, dat
berrycode/src/app/scene_editor/mesh_outline.rs:16
↓ 2 callers
Method
trigger_lsp_signature_help
Trigger `textDocument/signatureHelp` for the cursor position. Called when `(` or `,` is typed inside a function call, or via Cmd+Shift+Space.
berrycode/src/app/lsp.rs:168
↓ 2 callers
Function
unpack_prefab
Remove the prefab link from an entity, making it a regular entity. This "unpacks" the prefab — the entity's components and children remain but it is n
berrycode/src/app/scene_editor/prefab.rs:181
↓ 2 callers
Function
usage_path
()
berrycode/src/ai/usage.rs:134
↓ 2 callers
Method
used_by
Get scenes that use a given asset path.
berrycode/src/app/scene_editor/asset_deps.rs:37
↓ 2 callers
Function
utf16_offset_to_utf8
Convert UTF-16 character offset to UTF-8 character offset
berrycode/src/app/utils.rs:111
↓ 2 callers
Method
vim_delete_char
(&mut self, n: usize)
berrycode/src/app/vim_mode.rs:873
↓ 2 callers
Method
vim_delete_lines
(&mut self, start_line: usize, count: usize)
berrycode/src/app/vim_mode.rs:900
↓ 2 callers
Method
vim_delete_visual_selection
(&mut self)
berrycode/src/app/vim_mode.rs:1121
↓ 2 callers
Method
vim_search_next
(&mut self)
berrycode/src/app/vim_mode.rs:1131
↓ 2 callers
Method
vim_search_prev
(&mut self)
berrycode/src/app/vim_mode.rs:1173
↓ 2 callers
Method
vim_word_backward
(&mut self)
berrycode/src/app/vim_mode.rs:781
↓ 2 callers
Method
vim_word_end
(&mut self)
berrycode/src/app/vim_mode.rs:826
↓ 2 callers
Method
vim_word_forward
(&mut self)
berrycode/src/app/vim_mode.rs:739
↓ 2 callers
Method
visible_lines
Get all visible lines (scrollback + active) for the current scroll position scroll_offset = 0: show current grid (latest output) scroll_offset = N: s
berrycode/src/app/terminal_emulator.rs:556
↓ 2 callers
Function
visuals_for_theme
Build an `egui::Visuals` for the given theme preset. Centralised so the startup path and the runtime theme switcher always agree on colours.
berrycode/src/app/mod.rs:2726
↓ 2 callers
Function
which_docker
()
berrycode/src/app/docker.rs:181
↓ 2 callers
Method
write_message
(&mut self, bytes: &[u8])
berrycode/src/native/lsp_native.rs:41
↓ 1 callers
Function
ACCENT_HOVER
()
berrycode/src/app/mod.rs:490
↓ 1 callers
Function
ACTIVITY_BAR_BG
()
berrycode/src/app/mod.rs:442
↓ 1 callers
Function
BUTTON_BG
()
berrycode/src/app/mod.rs:555
↓ 1 callers
Function
SETTINGS_ACCENT
()
berrycode/src/app/mod.rs:529
↓ 1 callers
Function
SETTINGS_SEARCH_BG
()
berrycode/src/app/mod.rs:509
↓ 1 callers
Function
STATUS_BAR_BG
()
berrycode/src/app/mod.rs:450
↓ 1 callers
Function
TAB_ACTIVE
()
berrycode/src/app/mod.rs:546
↓ 1 callers
Function
TAB_INACTIVE
()
berrycode/src/app/mod.rs:549
↓ 1 callers
Function
TEXT_DIM
()
berrycode/src/app/mod.rs:564
↓ 1 callers
Function
accumulate_usage
(total: &mut Option<TokenUsage>, usage: Option<&Value>)
berrycode/src/agent/native.rs:333
↓ 1 callers
Function
accumulate_usage
(total: &mut Option<TokenUsage>, usage: Option<&Value>)
berrycode/src/agent/ollama.rs:365
↓ 1 callers
Method
active_tscn_path
Returns the active editor tab's path iff it ends with `.tscn`.
berrycode/src/app/godot_panel.rs:224
↓ 1 callers
Function
adb_filename
()
berrycode/src/app/mobile/probe.rs:282
↓ 1 callers
Function
adb_priority_tail
Return Some(severity) iff `line` opens with `X/Tag(<pid>)` or `X/Tag:` where X is a logcat priority letter. Real logcat output is always one of those
berrycode/src/app/mobile/log_relay.rs:109
↓ 1 callers
Method
add_cursor_above
Add a virtual cursor on the line above the primary cursor at the same column. The added cursor is stored as a character offset in `self.multi_cursors`
berrycode/src/app/shortcuts.rs:395
↓ 1 callers
Method
add_cursor_at_next_occurrence
Add a cursor at the next occurrence of the word under the primary cursor (Ctrl+D)
berrycode/src/app/shortcuts.rs:443
↓ 1 callers
Method
add_cursor_below
Mirror of `add_cursor_above` for the line below.
berrycode/src/app/shortcuts.rs:409
↓ 1 callers
Function
add_remote
Add a new remote
berrycode/src/native/git.rs:889
↓ 1 callers
Function
ansi_256_color
Convert a 256-color index to an egui Color32
berrycode/src/app/ansi.rs:157
↓ 1 callers
Method
apply_code_action
Apply a code action's workspace edit
berrycode/src/app/code_actions.rs:171
↓ 1 callers
Method
apply_lsp_format_to_active_tab
Block-on `textDocument/formatting` for the active tab and apply the returned edits to the buffer. Bails out silently when no language server is attach
berrycode/src/app/shortcuts.rs:265
↓ 1 callers
Method
apply_remote_edits
Apply pending remote edits to local buffers
berrycode/src/app/live_collab.rs:487
↓ 1 callers
Function
apply_sgr
Apply SGR (Select Graphic Rendition) parameters
berrycode/src/app/ansi.rs:92
↓ 1 callers
Method
apply_sgr
(&mut self, params: &[u16])
berrycode/src/app/terminal_emulator.rs:309
↓ 1 callers
Method
apply_workspace_edit
Apply a WorkspaceEdit (used by code actions and rename)
berrycode/src/app/code_actions.rs:182
↓ 1 callers
Function
bevy_type_names
Get a list of all known Bevy type names for autocomplete suggestions.
berrycode/src/bevy_ide/docs.rs:86
↓ 1 callers
Function
bone_depth
Get the depth of a bone in the hierarchy (0 for root bones).
berrycode/src/app/scene_editor/skeleton.rs:134
↓ 1 callers
Function
build_all
Sequentially kick off a build for each requested platform. Each returns the spawned `Child` + its log channel; the caller drives them to completion in
berrycode/src/app/mobile/build_all.rs:111
↓ 1 callers
Function
build_chat_completions_body
(request: &CompletionRequest)
berrycode/src/ai/openai.rs:122
↓ 1 callers
Function
build_doctor_report
Generate a Flutter-doctor-style diagnostic report from the current toolchain snapshot + project state. Pure function (no I/O, no probing) so it stays
berrycode/src/app/mobile_toolchain.rs:1154
↓ 1 callers
Function
build_instructions
(cwd: &Path, extra: Option<&str>)
berrycode/src/agent/native.rs:351
↓ 1 callers
Function
build_responses_body
(request: &CompletionRequest)
berrycode/src/ai/openai.rs:138
↓ 1 callers
Method
build_symbol_table
Build symbol table from tokens
berrycode/src/tree_sitter_engine.rs:208
↓ 1 callers
Method
build_target
(&self)
berrycode/src/app/mobile_toolchain.rs:255
↓ 1 callers
Function
build_tools_schema
()
berrycode/src/agent/native.rs:376
↓ 1 callers
Function
build_tools_schema
()
berrycode/src/agent/ollama.rs:403
↓ 1 callers
Function
bundled_binary_path
Look for a CLI binary that ships inside the BerryCode distribution (currently `codex`, bundled via `scripts/build-release.sh` so end users don't have
berrycode/src/agent/mod.rs:51
↓ 1 callers
Function
calculate_line_column
Calculate line and column from byte offset in text
berrycode/src/app/utils.rs:141
↓ 1 callers
Function
calculate_property_offsets
Calculate byte offsets for each property in a PLY vertex
berrycode/src/app/model_preview.rs:100
↓ 1 callers
Function
camera_position
Reconstruct the camera position from orbit parameters. This must stay in sync with `update_scene_editor_camera` in `bevy_render.rs`.
berrycode/src/app/scene_editor/gizmo.rs:49
↓ 1 callers
Method
cancel
Try to terminate the child gracefully. Idempotent.
berrycode/src/agent/mod.rs:209
↓ 1 callers
Function
checkout_branch
Checkout a branch
berrycode/src/native/git.rs:318
↓ 1 callers
Function
classify
(path: &Path)
berrycode/src/app/asset_watcher.rs:194
↓ 1 callers
Function
classify
Classify a single log line. Heuristics, in priority order: 1. `panicked at` / `thread 'main' panicked` → Panic 2. `adb logcat` priority letter `E/`,
berrycode/src/app/mobile/log_relay.rs:63
↓ 1 callers
Function
classify_removal
Variant of [`classify`] for `Remove` events. We currently only surface scene removals — shaders / audio reload via Bevy's own asset server, which alre
berrycode/src/app/asset_watcher.rs:219
↓ 1 callers
Function
classify_runtime
(key: &str)
berrycode/src/app/mobile/probe.rs:153
↓ 1 callers
Method
clear_oracleberry_inputs
(&mut self)
berrycode/src/app/oracleberry.rs:1190
↓ 1 callers
Method
clear_secondary_cursors
Clear all cursors except primary
berrycode/src/cursor.rs:137
↓ 1 callers
Method
close_file
Notify LSP that a file has been closed. Sends textDocument/didClose and removes the file from the opened_files tracker.
berrycode/src/native/lsp_native.rs:613
↓ 1 callers
Method
close_peek_definition
Close the peek definition view
berrycode/src/app/peek.rs:129
↓ 1 callers
Function
collect_attached_files
Resolve `@<path>` references in a chat message — read each file against `root_path` and return `(rel_path, content)` pairs to inject into the system p
berrycode/src/app/ai_chat.rs:1410
↓ 1 callers
Function
collect_rs_files_for_scan
Recursively collect `.rs` files, skipping `target/` and hidden dirs.
berrycode/src/app/scene_editor/system_graph.rs:730
↓ 1 callers
Function
collect_rs_for_query_scan
(dir: &std::path::Path, out: &mut Vec<std::path::PathBuf>)
berrycode/src/app/scene_editor/query_viz.rs:374
↓ 1 callers
Function
collect_scene_files
(dir: &std::path::Path, out: &mut Vec<String>)
berrycode/src/app/scene_editor/asset_deps.rs:50
↓ 1 callers
Method
collect_subtree
Collect `root` and all of its descendants (depth-first) into `out`.
berrycode/src/app/scene_editor/model.rs:1531
↓ 1 callers
Function
commit
(s: &str)
berrycode/src/app/mod.rs:4021
↓ 1 callers
Function
compose_with_parent
Compose a local-space transform with the parent's world transform for the given entity. If the entity has no parent, the local transform IS the world
berrycode/src/app/scene_editor/bevy_sync.rs:139
↓ 1 callers
Function
compute_auto_fit_factor
(positions: &[[f32; 3]])
berrycode/src/app/scene_editor/mesh_outline.rs:159
↓ 1 callers
Function
compute_scene_hash
(scene: &SceneModel)
berrycode/src/app/scene_editor/bevy_sync.rs:714
↓ 1 callers
Method
compute_visible_entities
Compute the set of entity IDs that should be visible given a non-empty (already lower-cased) name filter. Includes matched entities and all of their a
berrycode/src/app/scene_editor/hierarchy.rs:993
↓ 1 callers
Method
connect
Connect to a remote host via SSH
berrycode/src/app/remote_dev.rs:107
↓ 1 callers
Function
copy_dir_recursive
Recursively copy a directory and all its contents
berrycode/src/app/mod.rs:2598
↓ 1 callers
Method
count_filtered_entities
Count entities whose name contains the filter string (case-insensitive). Testable without UI context.
berrycode/src/app/scene_editor/hierarchy.rs:958
↓ 1 callers
Function
count_root_bones
Count root bones (bones with no parent) in a skeleton.
berrycode/src/app/scene_editor/skeleton.rs:129
↓ 1 callers
Function
create_annotated_tag
Create an annotated tag
berrycode/src/native/git.rs:1021
← previous
next →
501–600 of 2,320, ranked by callers