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
↓ 8 callers
Method
drain
Drain pending events, applying debounce. Returns up to a small burst per call so the UI doesn't get hammered when a code generator writes 100 files in
berrycode/src/app/asset_watcher.rs:151
↓ 8 callers
Function
ease
Evaluate an easing curve at parameter `t` in `[0, 1]`.
berrycode/src/app/scene_editor/animation.rs:92
↓ 8 callers
Function
find_path
Find a path on the nav grid using A*. Returns world-space waypoints.
berrycode/src/app/scene_editor/navmesh.rs:123
↓ 8 callers
Method
len_chars
(&self)
berrycode/src/buffer.rs:119
↓ 8 callers
Function
load_scene_from_ron
Load a scene from a RON file. Re-derives `root_entities` and the per-entity `children` lists from the persisted `parent` pointers, and re-attaches the
berrycode/src/app/scene_editor/serialization.rs:19
↓ 8 callers
Method
name
(&self)
berrycode/src/app/scene_editor/animator.rs:242
↓ 8 callers
Function
parse_tracing_line
Parse a single line of tracing-style log output.
berrycode/src/app/run_panel.rs:73
↓ 8 callers
Method
remove_entity
Remove an entity and all of its descendants. If the removed entity was selected, selection is cleared.
berrycode/src/app/scene_editor/model.rs:1421
↓ 8 callers
Function
sample_spline
Sample a full spline as a polyline. For each pair of adjacent points the curve goes from `points[i].position` through control points derived from the
berrycode/src/app/scene_editor/spline.rs:61
↓ 8 callers
Function
scan_systems_from_code
Scan source code text for `add_systems(Schedule, system_fn)` patterns. Returns a list of (stage, system_name) pairs found. Handles, depth-aware acros
berrycode/src/app/scene_editor/system_graph.rs:81
↓ 8 callers
Method
select_add
Add an entity to the current selection (Shift+Click).
berrycode/src/app/scene_editor/model.rs:1642
↓ 8 callers
Method
start
(&self)
berrycode/src/cursor.rs:38
↓ 7 callers
Function
SETTINGS_HEADER
()
berrycode/src/app/mod.rs:521
↓ 7 callers
Method
contains
(&self, position: CursorPosition)
berrycode/src/cursor.rs:58
↓ 7 callers
Function
extract_gltf_mesh_data
Extract vertex positions and triangle indices from the first primitive of the first mesh in a GLTF/GLB file. Pure function, no Bevy dependency.
berrycode/src/app/scene_editor/bevy_sync.rs:635
↓ 7 callers
Function
generate_reflect_code
Generate a Rust source file containing Reflect registrations for the given set of scanned components. The output is meant to be written to a `_reflect
berrycode/src/app/scene_editor/reflect_codegen.rs:15
↓ 7 callers
Function
height_at
Terrain system: grid-based heightmap with editing helpers. Bilinear interpolation of height at world position (x, z).
berrycode/src/app/scene_editor/terrain.rs:4
↓ 7 callers
Function
instantiate_prefab
Instantiate a prefab into the given scene. Returns the new root entity ID. All prefab IDs are re-keyed using `scene.next_id` so they don't collide. Th
berrycode/src/app/scene_editor/prefab.rs:114
↓ 7 callers
Method
is_active
(&self)
berrycode/src/app/scene_editor/play_mode.rs:18
↓ 7 callers
Method
line_to_char
Convert line index to character index (start of the line)
berrycode/src/buffer.rs:152
↓ 7 callers
Method
load
Load from file, falling back to defaults.
berrycode/src/app/keymap.rs:239
↓ 7 callers
Method
render_sidebar
Render Sidebar (file tree, chat, terminal, etc.)
berrycode/src/app/sidebar.rs:9
↓ 7 callers
Method
run
( &self, prompt: &str, cwd: &Path, opts: AgentRunOpts, )
berrycode/src/agent/codex.rs:59
↓ 7 callers
Function
run_capture
Spawn a command, wait up to `PROBE_TIMEOUT`, return stdout as a String on success. Anything else (binary missing, non-zero exit, timeout) returns `Non
berrycode/src/app/mobile/probe.rs:409
↓ 7 callers
Function
scan_text_with_fields
Walk `text` line-by-line; when a `#[derive(... Component ...)]` attribute is seen, capture the struct name and parse any `pub` fields from the body bl
berrycode/src/app/scene_editor/script_scan.rs:132
↓ 7 callers
Function
set_theme
(mode: super::types::ThemeMode)
berrycode/src/app/mod.rs:318
↓ 7 callers
Function
setting_card
VS Code-style settings card: a title (bold), an optional dim description, and a control rendered by `body`. Each card is wrapped in a subtle bordered
berrycode/src/app/settings.rs:1546
↓ 7 callers
Method
tick
Call every frame. Returns an action for the Bevy system to execute.
berrycode/src/app/demo_capture.rs:271
↓ 7 callers
Function
write_file
( cwd: &Path, rel: &str, contents: &str, tx: &mpsc::UnboundedSender<AgentEvent>, )
berrycode/src/agent/tools.rs:48
↓ 6 callers
Function
CONTROL_BG
()
berrycode/src/app/mod.rs:470
↓ 6 callers
Method
add_basic_tokens
(&self, tokens: &mut Vec<SyntaxToken>, text: &str, offset: usize)
berrycode/src/syntax.rs:549
↓ 6 callers
Function
add_field_to_resource
Add a field of the given type to a resource. Returns true if successful.
berrycode/src/app/scene_editor/resource_editor.rs:28
↓ 6 callers
Method
add_tab
Add a new terminal tab
berrycode/src/app/terminal_emulator.rs:1156
↓ 6 callers
Function
apply_text_edits
Apply LSP TextEdits to a string (edits must be applied in reverse order)
berrycode/src/app/rename.rs:147
↓ 6 callers
Method
attr
(&self, key: &str)
berrycode/src/godot_import/scene.rs:238
↓ 6 callers
Function
build_command
Build the argv for a target + artifact pair. Pure function so the dispatch matrix has unit tests; the actual spawn happens in `start_run` below. Ever
berrycode/src/app/mobile/runner.rs:152
↓ 6 callers
Function
draw_canvas_placeholder
(ui: &mut egui::Ui, rect: egui::Rect, label: &str)
berrycode/src/app/oracleberry.rs:1391
↓ 6 callers
Function
format_one_click_err
(e: &OneClickError)
berrycode/src/app/mobile_toolchain.rs:1340
↓ 6 callers
Function
generate_resource_code
Generate Rust code to insert all resources via `app.insert_resource(...)`.
berrycode/src/app/scene_editor/resource_editor.rs:179
↓ 6 callers
Method
notify_change
Record that a .rs file was modified (sets debounce timer).
berrycode/src/app/scene_editor/hot_reload.rs:77
↓ 6 callers
Function
parse_script_value
Parse a single value string into a [`ScriptValue`]. Handles primitives as well as `vec![...]`, `Some(...)`, `None`, and `HashMap::from([...])` / `Hash
berrycode/src/app/scene_editor/code_import.rs:689
↓ 6 callers
Method
refresh_git_branches
Refresh Git branches
berrycode/src/app/git.rs:1148
↓ 6 callers
Function
save_scene_code_modular
Save scene code in modular structure: `src/scenes/{name}.rs` + update mod.rs. Filename matches the `.bscene` stem so the file tree and the Hierarchy t
berrycode/src/app/scene_editor/codegen.rs:1759
↓ 6 callers
Method
send_notification
( &self, server: Arc<RwLock<LspServer>>, method: &str, params: P, )
berrycode/src/native/lsp_native.rs:487
↓ 6 callers
Method
set_options
(&mut self, options: SearchOptions)
berrycode/src/search.rs:102
↓ 6 callers
Method
set_register
(&mut self, reg: char, text: String)
berrycode/src/app/vim_mode.rs:96
↓ 6 callers
Method
snapshot
Save a snapshot of the current state. Call this BEFORE making changes. Any new edit invalidates the redo stack.
berrycode/src/app/scene_editor/history.rs:110
↓ 6 callers
Function
spawn_with_log_channel
( cmd: &mut Command, stage: OneClickStage, )
berrycode/src/app/mobile/one_click.rs:411
↓ 6 callers
Method
spec
Spec for this profile. `Default` returns `None`, telling the renderer to fill the panel as-is (no letterboxing).
berrycode/src/app/mod.rs:128
↓ 6 callers
Function
stage_color
Stage color mapping. Uses prefix matching so `OnEnter(AppScene::Test)` and `OnExit(AppScene::Test)` resolve to the OnEnter / OnExit colors — state-bou
berrycode/src/app/scene_editor/system_graph.rs:295
↓ 6 callers
Method
stats
Compute (min, avg, max) frame time in seconds over the recorded window. Returns `None` if there are no samples yet.
berrycode/src/app/scene_editor/profiler.rs:48
↓ 6 callers
Method
target
surface for telemetry; not yet wired into UI
berrycode/src/app/mobile/runner.rs:93
↓ 5 callers
Function
ACCENT
()
berrycode/src/app/mod.rs:486
↓ 5 callers
Function
apply_brush
Apply a terrain brush stroke at (center_x, center_z) in world space.
berrycode/src/app/scene_editor/terrain.rs:162
↓ 5 callers
Function
create_test_skeleton
Create a test skeleton hierarchy for testing without a .glb file.
berrycode/src/app/scene_editor/skeleton.rs:64
↓ 5 callers
Method
duplicate_entity
Deep clone an entity and all its descendants. Returns the new root entity ID. The duplicate is inserted directly after the source under the same paren
berrycode/src/app/scene_editor/model.rs:1545
↓ 5 callers
Function
ensure_2xx
(status: &reqwest::StatusCode, op: &str)
berrycode/src/native/rest_client.rs:127
↓ 5 callers
Function
evaluate_blend_1d
Evaluate a 1D blend tree: returns (child_index, weight) pairs. Children must be sorted by threshold.
berrycode/src/app/scene_editor/animator.rs:258
↓ 5 callers
Function
evaluate_graph
Evaluate the shader graph to produce PBR material parameters.
berrycode/src/app/scene_editor/shader_graph.rs:87
↓ 5 callers
Function
export_to_bevy_scene
Generate Bevy-native .scn.ron content from a SceneModel.
berrycode/src/app/scene_editor/bevy_scene_export.rs:6
↓ 5 callers
Function
icon_button
Compact square button rendering a single codicon glyph. Use this for inline action toolbars (start / stop / restart / delete). The glyph is rendered t
berrycode/src/app/button_style.rs:163
↓ 5 callers
Function
icon_button
VSCode-style flat icon button: no frame at rest, subtle hover background, fixed compact size so the four header actions read as a tidy strip instead o
berrycode/src/app/scene_editor/inspector.rs:9
↓ 5 callers
Method
is_running
(&self)
berrycode/src/app/mobile_toolchain.rs:146
↓ 5 callers
Method
is_selected
Returns true if the given entity is in the current selection set.
berrycode/src/app/scene_editor/model.rs:1631
↓ 5 callers
Method
jump_to_current_match
Jump to the current search match location
berrycode/src/app/search.rs:960
↓ 5 callers
Method
label
(&self)
berrycode/src/app/new_project.rs:28
↓ 5 callers
Function
lerp
Linear interpolation of two scalars.
berrycode/src/app/scene_editor/scene_view.rs:1941
↓ 5 callers
Function
list_project_bscenes
Scan `<project_root>/scenes/` and return every `.bscene` path it contains, sorted alphabetically. Used by `open_project` to restore one tab per scene
berrycode/src/app/mod.rs:2576
↓ 5 callers
Method
load_directory_children
Load children for a specific directory
berrycode/src/app/file_tree.rs:797
↓ 5 callers
Function
nav_section_header
Tiny dimmed section label, used as a visual divider between groups of nav entries (e.g. "Application", "Editor", "Features").
berrycode/src/app/settings.rs:1480
↓ 5 callers
Function
parse_srgb_color
(block: &str)
berrycode/src/app/scene_editor/code_import.rs:780
↓ 5 callers
Function
primary_button
Affirmative action button with accent blue background.
berrycode/src/app/button_style.rs:25
↓ 5 callers
Function
primary_button_with_icon
Primary (accent-blue) variant of [`button_with_icon`].
berrycode/src/app/button_style.rs:121
↓ 5 callers
Method
redo
Returns the next state if available; pushes the current onto undo.
berrycode/src/app/scene_editor/history.rs:129
↓ 5 callers
Method
refresh_containers
(&mut self)
berrycode/src/app/docker.rs:127
↓ 5 callers
Method
refresh_git_history
Refresh Git history (load commit graph)
berrycode/src/app/git.rs:1124
↓ 5 callers
Method
refresh_git_stashes
Refresh Git stashes
berrycode/src/app/git.rs:1193
↓ 5 callers
Function
render
(ctx: &egui::Context, buffer: &mut String, id: egui::Id)
berrycode/src/app/mod.rs:4159
↓ 5 callers
Method
resize
(&mut self, new_rows: usize, new_cols: usize)
berrycode/src/app/terminal_emulator.rs:470
↓ 5 callers
Function
resolve_new_scene_path
Resolve the (label, absolute path) for a brand-new scene file. Sanitised name takes precedence; an empty input falls back to `Untitled N`. Already-exi
berrycode/src/app/scene_editor/hierarchy.rs:1515
↓ 5 callers
Function
row_status
(ui: &mut egui::Ui, label: &str, ok: bool, detail: &str)
berrycode/src/app/mobile_toolchain.rs:1352
↓ 5 callers
Function
run
(label: &str, bytes: &[u8])
berrycode/src/app/terminal_emulator.rs:1323
↓ 5 callers
Function
run_frame
(ctx: &egui::Context, buffer: &mut String, id: egui::Id, mut events: Vec<Event>)
berrycode/src/app/mod.rs:4166
↓ 5 callers
Function
sample_track
Sample a single animation track at time `t`, returning the interpolated `[f32; 3]` value, or `None` if the track has no keyframes.
berrycode/src/app/scene_editor/animation.rs:123
↓ 5 callers
Function
save_cargo_deps
Save dependencies back to Cargo.toml, preserving existing content.
berrycode/src/app/package_manager.rs:112
↓ 5 callers
Function
save_scene_to_ron
Save a scene to a RON file. Pretty-printed for human inspection / diffing.
berrycode/src/app/scene_editor/serialization.rs:10
↓ 5 callers
Function
section_frame
(ui: &mut egui::Ui, add_contents: impl FnOnce(&mut egui::Ui))
berrycode/src/app/mobile_toolchain.rs:1453
↓ 5 callers
Function
section_title
(ui: &mut egui::Ui, title: &str)
berrycode/src/app/mobile_toolchain.rs:1470
↓ 5 callers
Function
set_editor_font_size
(size: f32)
berrycode/src/app/editor.rs:23
↓ 5 callers
Function
split_attrs
`name="Main" type="Node2D" parent="."` → vec of (key, value). Values are returned without surrounding quotes for ergonomics.
berrycode/src/godot_import/scene.rs:301
↓ 5 callers
Method
stop_run
Stop the running process
berrycode/src/app/run_panel.rs:184
↓ 5 callers
Method
tick
Advance the simulation by one frame.
berrycode/src/app/scene_editor/physics_sim.rs:81
↓ 5 callers
Method
toggle_fold_at_line
Toggle fold at the given line (fold/unfold the block starting at this line)
berrycode/src/app/folding.rs:8
↓ 5 callers
Method
trim_token_cache
🚀 PERFORMANCE: Trim token cache to visible range only Prevents unbounded memory growth during scrolling
berrycode/src/buffer.rs:197
↓ 5 callers
Function
utf8_offset_to_utf16
Convert UTF-8 character offset to UTF-16 code unit offset
berrycode/src/app/utils.rs:127
↓ 4 callers
Function
CONTROL_BORDER
()
berrycode/src/app/mod.rs:474
↓ 4 callers
Function
FOCUS_BORDER
()
berrycode/src/app/mod.rs:494
↓ 4 callers
Function
HOVER_BG
()
berrycode/src/app/mod.rs:478
↓ 4 callers
Function
aabb_overlap
Returns the push-out vector if two AABBs overlap, or `None` if they don't. The push vector is along the axis of least penetration, pointing from B to
berrycode/src/app/scene_editor/physics_sim.rs:24
↓ 4 callers
Function
apply_filter
Apply our filter exactly the way `berry_ui_system` does to a borrowed event vector.
berrycode/src/app/mod.rs:4137
← previous
next →
101–200 of 2,320, ranked by callers