Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/KyosukeIshizu1008/berryscode
/ functions
Functions
2,320 in github.com/KyosukeIshizu1008/berryscode
⨍
Functions
2,320
◇
Types & classes
432
↓ 863 callers
Method
to_string
(&self)
berrycode/src/buffer.rs:115
↓ 861 callers
Method
clone
(&self)
berrycode/src/ai/usage.rs:121
↓ 610 callers
Method
len
(&self)
berrycode/src/app/mobile/log_relay.rs:184
↓ 450 callers
Method
iter
(&self)
berrycode/src/app/mobile/log_relay.rs:188
↓ 445 callers
Method
label
(self)
berrycode/src/app/mod.rs:186
↓ 285 callers
Method
label
(&self)
berrycode/src/app/scene_editor/model.rs:73
↓ 242 callers
Method
contains
(&self, row: usize, col: usize)
berrycode/src/app/terminal_emulator.rs:933
↓ 201 callers
Method
add_entity
Add a new top-level entity and return its id.
berrycode/src/app/scene_editor/model.rs:1409
↓ 168 callers
Method
insert
(&mut self, char_idx: usize, text: &str)
berrycode/src/buffer.rs:59
↓ 152 callers
Method
clear
(&mut self)
berrycode/src/app/mobile/log_relay.rs:180
↓ 130 callers
Method
path
()
berrycode/src/ai/settings.rs:74
↓ 98 callers
Method
tr
Shorthand for i18n translation
berrycode/src/app/mod.rs:1378
↓ 86 callers
Method
line_segment
✅ IntelliJ Pro: Get horizontal segment of a line (for long-line rendering) Only returns visible characters within viewport bounds
berrycode/src/buffer.rs:233
↓ 70 callers
Method
remove
(&mut self, id: &str)
berrycode/src/app/docker.rs:168
↓ 62 callers
Function
parse_param_f32
Parse a float parameter from a `key=value` parameter string.
berrycode/src/app/scene_editor/code_import.rs:637
↓ 62 callers
Method
range
(&self)
berrycode/src/search.rs:53
↓ 51 callers
Method
scene_snapshot
Take a snapshot of the current scene model so the next destructive edit can be undone. Call this BEFORE the mutation. This is the backward-compatible
berrycode/src/app/mod.rs:2564
↓ 49 callers
Function
generate_scene_code
(scene: &SceneModel)
berrycode/src/app/scene_editor/codegen.rs:102
↓ 43 callers
Function
TEXT_DEFAULT
()
berrycode/src/app/mod.rs:454
↓ 43 callers
Method
close
(&mut self)
berrycode/src/app/audio/preview.rs:66
↓ 41 callers
Function
assert_valid_code
Helper: generate code and check basic structural validity.
berrycode/src/app/scene_editor/codegen.rs:1992
↓ 41 callers
Method
count
Count total cursors
berrycode/src/cursor.rs:245
↓ 36 callers
Method
label
(self)
berrycode/src/app/oracleberry.rs:30
↓ 34 callers
Method
label
surface for status-bar / window-title use
berrycode/src/app/mobile/runner.rs:44
↓ 34 callers
Function
open_repo
Open a Git repository
berrycode/src/native/git.rs:137
↓ 29 callers
Method
is_pressed
Check if a specific action's keybinding is pressed this frame.
berrycode/src/app/keymap.rs:165
↓ 27 callers
Method
id
(&self)
berrycode/src/agent/codex.rs:51
↓ 26 callers
Method
highlight_line
(&self, line: &str)
berrycode/src/syntax.rs:55
↓ 26 callers
Method
set_language
(&mut self, lang: &str)
berrycode/src/syntax.rs:46
↓ 25 callers
Method
clear
Clear the cache (e.g., when files change).
berrycode/src/app/scene_editor/thumbnail_cache.rs:108
↓ 25 callers
Method
try_recv
Try to receive a file event without blocking. Returns `None` if no events are pending.
berrycode/src/native/watcher.rs:81
↓ 23 callers
Function
SIDEBAR_BG
()
berrycode/src/app/mod.rs:438
↓ 23 callers
Function
TEXT_MUTED
()
berrycode/src/app/mod.rs:458
↓ 23 callers
Function
button_with_icon
Default-style button with a codicon glyph prefix. Mixes the codicon font (for the glyph) and the proportional UI font (for the label) inside a single
berrycode/src/app/button_style.rs:116
↓ 22 callers
Method
compute_world_transform
Compute the world-space transform for an entity by composing the local transforms along the parent chain (root -> ... -> parent -> self).
berrycode/src/app/scene_editor/model.rs:1393
↓ 21 callers
Method
cmp
(&self, other: &Self)
berrycode/src/app/scene_editor/navmesh.rs:107
↓ 21 callers
Function
generate_scene_plugin_code_with_root
( scene: &SceneModel, scene_name: &str, project_root: &str, )
berrycode/src/app/scene_editor/codegen.rs:873
↓ 21 callers
Function
project_to_screen
Project a 3D world point to screen space within the given viewport rect. Returns `None` if the point is behind the camera.
berrycode/src/app/scene_editor/gizmo.rs:70
↓ 21 callers
Function
read_dir
Read directory contents with depth limit
berrycode/src/native/fs.rs:161
↓ 20 callers
Function
import_scene_from_code
Parse a generated _scene.rs file and create a SceneModel. Also handles minor hand-edits thanks to `normalize_code()`.
berrycode/src/app/scene_editor/code_import.rs:122
↓ 20 callers
Function
read_f32_le
(data: &[u8])
berrycode/src/app/model_preview.rs:133
↓ 18 callers
Function
current
()
berrycode/src/app/mod.rs:421
↓ 18 callers
Method
execute
Record a command and take a snapshot of the current scene. Call this BEFORE applying the mutation to `scene`.
berrycode/src/app/scene_editor/history.rs:186
↓ 18 callers
Method
push_line
(&mut self, raw: String)
berrycode/src/app/mobile/log_relay.rs:168
↓ 18 callers
Method
select_only
Replace the entire selection with a single entity.
berrycode/src/app/scene_editor/model.rs:1636
↓ 17 callers
Method
end
(&self)
berrycode/src/cursor.rs:48
↓ 17 callers
Method
open
Decode `path` synchronously and replace the previous peaks with the result. Synchronous is fine for the WAV-only MVP — even a 5-minute clip decodes in
berrycode/src/app/audio/preview.rs:50
↓ 17 callers
Method
open_file_from_path
Open a file from a given path (used by file tree and search results)
berrycode/src/app/file_tree.rs:628
↓ 16 callers
Function
EDITOR_BG
()
berrycode/src/app/mod.rs:434
↓ 16 callers
Function
file_path_to_uri
Helper: convert a file path to a file:// URI using lsp_types::Url
berrycode/src/native/lsp_native.rs:52
↓ 16 callers
Function
load
Load the full usage log. Returns an empty Vec if the file is missing or unreadable — usage tracking is best-effort, never fatal.
berrycode/src/ai/usage.rs:141
↓ 16 callers
Function
shell_quote
Shell-related helpers shared across modules that build commands for `sh -c` execution. POSIX shell-quote a value so it can be safely interpolated into
berrycode/src/common/shell.rs:21
↓ 15 callers
Method
label
(&self)
berrycode/src/app/scene_editor/build_settings.rs:81
↓ 15 callers
Function
script_value_from_type
(ty: &str)
berrycode/src/app/scene_editor/inspector.rs:174
↓ 14 callers
Function
find_property_offset
Find the byte offset of a named property
berrycode/src/app/model_preview.rs:125
↓ 14 callers
Function
path_text_edit
Create a default [`ScriptValue`] from a Rust type string. Recognises `Vec<T>`, `Option<T>`, and `HashMap<K,V>` wrappers in addition to the basic primi
berrycode/src/app/scene_editor/inspector.rs:112
↓ 13 callers
Method
active_tab
Get the active tab (immutable)
berrycode/src/app/terminal_emulator.rs:1182
↓ 13 callers
Method
all
()
berrycode/src/app/run_panel.rs:36
↓ 13 callers
Method
build
(&self, app: &mut App)
berrycode/src/bevy_plugin.rs:69
↓ 13 callers
Method
load
Load .meta file for an asset. Returns default settings if no meta exists.
berrycode/src/app/scene_editor/asset_import.rs:73
↓ 13 callers
Method
mark_dirty
(&mut self)
berrycode/src/app/types.rs:103
↓ 13 callers
Method
save
Save to file.
berrycode/src/app/keymap.rs:250
↓ 13 callers
Method
search
(&mut self, text: &str)
berrycode/src/search.rs:106
↓ 13 callers
Method
send_request
Send a BRP request (blocking - should be called from async context)
berrycode/src/bevy_ide/inspector/brp_client.rs:55
↓ 13 callers
Method
send_request
( &self, server: Arc<RwLock<LspServer>>, method: &str, params: P, )
berrycode/src/native/lsp_native.rs:440
↓ 13 callers
Method
set_parent
Re-parent `child_id` to `parent_id`. Pass `None` for the parent to make the entity a root entity. Cycles are rejected silently. The child's local tra
berrycode/src/app/scene_editor/model.rs:1450
↓ 12 callers
Function
detect_server_language
Detect the LSP server language key from a file path. Returns None if no LSP server handles this file type.
berrycode/src/native/lsp_native.rs:59
↓ 12 callers
Method
display
(&self)
berrycode/src/app/keymap.rs:104
↓ 12 callers
Function
parse_param_str
Parse a string parameter from a `key=value` parameter string.
berrycode/src/app/scene_editor/code_import.rs:657
↓ 12 callers
Method
refresh_git_status
Refresh Git status (branch and changed files)
berrycode/src/app/git.rs:1092
↓ 12 callers
Function
sample_animation_tracks
Sample all tracks at time `t` and compose the result onto `base` (the entity's static local transform). Each track overrides the property it drives; p
berrycode/src/app/scene_editor/animation.rs:154
↓ 11 callers
Function
PANEL_BORDER
()
berrycode/src/app/mod.rs:466
↓ 11 callers
Method
add_cursor
Add a new cursor at the given position
berrycode/src/cursor.rs:99
↓ 11 callers
Function
fuzzy_match_score
Advanced fuzzy matching with scoring Returns a score indicating match quality: - 10000+: Exact match - 5000+: Prefix match - 3000+: Acronym match (hw
berrycode/src/common/fuzzy.rs:25
↓ 11 callers
Function
generate_scene_plugin_code
(scene: &SceneModel, scene_name: &str)
berrycode/src/app/scene_editor/codegen.rs:735
↓ 11 callers
Method
label
(self)
berrycode/src/app/run_panel.rs:27
↓ 11 callers
Method
send_request
(&mut self, command: &str, arguments: Value)
berrycode/src/native/dap.rs:223
↓ 11 callers
Method
set_query
(&mut self, query: String)
berrycode/src/search.rs:98
↓ 10 callers
Method
cache_tokens
🚀 PERFORMANCE: Cache tokens for a line tokens: Vec<(text, token_kind)> 🔥 OPTIMIZED: Converts strings to InternedString for deduplication
berrycode/src/buffer.rs:187
↓ 10 callers
Function
load_cargo_deps
Load dependencies from a project's Cargo.toml.
berrycode/src/app/package_manager.rs:54
↓ 10 callers
Method
name
Get platform name as string
berrycode/src/common/platform.rs:56
↓ 10 callers
Method
normalize
Migrate legacy clip_name into motion field if needed.
berrycode/src/app/scene_editor/animator.rs:180
↓ 10 callers
Method
open
(&mut self, path: PathBuf)
berrycode/src/app/database.rs:58
↓ 10 callers
Method
partial_cmp
(&self, other: &Self)
berrycode/src/app/scene_editor/navmesh.rs:117
↓ 10 callers
Function
read_file
(cwd: &Path, rel: &str)
berrycode/src/agent/tools.rs:35
↓ 10 callers
Method
remove
(&mut self, start: usize, end: usize)
berrycode/src/buffer.rs:77
↓ 10 callers
Function
t
Translate a UI string based on the current language. English is the key, Japanese is the translation.
berrycode/src/app/i18n.rs:10
↓ 10 callers
Method
undo
Returns the previous state if available; pushes the current onto redo.
berrycode/src/app/scene_editor/history.rs:119
↓ 10 callers
Method
version
✅ IntelliJ Design: Get version for cache invalidation
berrycode/src/buffer.rs:171
↓ 10 callers
Method
write_to_pty
Write bytes to the PTY (e.g. typed characters, control sequences)
berrycode/src/app/terminal_emulator.rs:1029
↓ 9 callers
Method
close
(&mut self)
berrycode/src/app/database.rs:76
↓ 9 callers
Function
generate_scenes_mod_rs
Scan `src/scenes/` for scene plugin files and generate `mod.rs` with `AppScene` (a `States` enum, one variant per scene) and `ScenesPlugin`. Picks up
berrycode/src/app/scene_editor/codegen.rs:1422
↓ 9 callers
Function
nav_item
One row in the left navigation column. Looks like a VS Code tree item: full-row click target, subtle hover, accent bar on the selected entry.
berrycode/src/app/settings.rs:1495
↓ 9 callers
Function
parse_ansi
Parse a string containing ANSI escape codes into colored segments
berrycode/src/app/ansi.rs:19
↓ 9 callers
Function
quat_normalize
Normalize a quaternion to unit length.
berrycode/src/app/scene_editor/retargeting.rs:28
↓ 9 callers
Method
select_clear
Clear the entire selection.
berrycode/src/app/scene_editor/model.rs:1656
↓ 9 callers
Function
three_way_merge
Three-way merge: given base, ours, theirs, produce merged result.
berrycode/src/app/scene_editor/scene_merge.rs:21
↓ 9 callers
Method
touch
(&mut self, path: PathBuf, contents: &str)
berrycode/src/app/mobile/project_emit.rs:27
↓ 8 callers
Method
active_tab_mut
Get the active tab (mutable)
berrycode/src/app/terminal_emulator.rs:1177
↓ 8 callers
Function
build_prefab_from_entity
Build a `PrefabFile` from `root_id` and all of its descendants in `scene`. Returns `None` if `root_id` is not present in the scene.
berrycode/src/app/scene_editor/prefab.rs:25
next →
1–100 of 2,320, ranked by callers