MCPcopy Create free account

hub / github.com/KyosukeIshizu1008/berryscode / functions

Functions2,320 in github.com/KyosukeIshizu1008/berryscode

↓ 4 callersFunctionauto_detect_humanoid
Auto-detect humanoid bone mapping from skeleton bone names. Supports common naming conventions including Mixamo-style names (e.g. "b_Hip_01", "b_Head_
berrycode/src/app/scene_editor/humanoid_avatar.rs:93
↓ 4 callersFunctionclassify_severity
(line: &str)
berrycode/src/app/run_panel.rs:84
↓ 4 callersFunctioncompose_transforms
Compose two transforms: result = parent * child (in transform space). This gives the world transform of a child given its parent's world transform and
berrycode/src/app/scene_editor/model.rs:1268
↓ 4 callersMethoddescription
Human-readable one-line description of this command.
berrycode/src/app/scene_editor/history.rs:63
↓ 4 callersFunctiondraw_wireframe_aabb
Project the 8 corners of an AABB to screen space and draw its 12 edges.
berrycode/src/app/scene_editor/scene_view.rs:1889
↓ 4 callersFunctionempty_state
(ui: &mut egui::Ui, title: &str, body: &str)
berrycode/src/app/docker.rs:589
↓ 4 callersFunctionensure_mod_declaration
Ensures `pub mod <module_name>;` exists in the given mod.rs file. Creates the file if it doesn't exist. Idempotent.
berrycode/src/app/scene_editor/codegen.rs:690
↓ 4 callersFunctionentity_eq
(a: Option<&SceneEntity>, b: Option<&SceneEntity>)
berrycode/src/app/scene_editor/scene_merge.rs:130
↓ 4 callersFunctionevaluate_cubic_bezier
Evaluate a cubic Bezier curve at parameter `t` (0..=1). `p0` and `p3` are the endpoints; `p1` and `p2` are the control points.
berrycode/src/app/scene_editor/spline.rs:32
↓ 4 callersFunctionextract_asset_paths
Extract asset path strings from RON content. Looks for common patterns: `path: "..."`, `texture_path: Some("...")`, `normal_map_path: Some("...")`.
berrycode/src/app/scene_editor/asset_deps.rs:77
↓ 4 callersFunctionfilter_rust_diagnostics
Filter diagnostics to Rust files only
berrycode/src/app/utils.rs:16
↓ 4 callersFunctionfind_matched_pair
Find matched bracket pair range on a line (free function to avoid borrow issues)
berrycode/src/app/vim_mode.rs:1309
↓ 4 callersMethodget_text
Get the text content, using cache when possible
berrycode/src/app/types.rs:94
↓ 4 callersFunctionhas_modular_structure
Returns true if the project at `root` has the modular `src/scenes/` structure.
berrycode/src/app/scene_editor/codegen.rs:684
↓ 4 callersMethodlabel
(self)
berrycode/src/app/mobile/one_click.rs:56
↓ 4 callersMethodline
(&self, line_idx: usize)
berrycode/src/buffer.rs:127
↓ 4 callersFunctionload_prefab
Load a `PrefabFile` from disk.
berrycode/src/app/scene_editor/prefab.rs:100
↓ 4 callersFunctionmodule_to_pascal
Convert a module name to PascalCase for struct names.
berrycode/src/app/scene_editor/codegen.rs:720
↓ 4 callersMethodnewline
(&mut self)
berrycode/src/app/terminal_emulator.rs:182
↓ 4 callersFunctionparse_ifc_cartesian_point
Parse `IFCCARTESIANPOINT((x,y,z))` (or the 2D form `((x,y))` — returns Z=0). Tolerates whitespace and the `IFCCARTESIANPOINT(...)` prefix being upper-
berrycode/src/app/model_preview.rs:269
↓ 4 callersFunctionparse_param_bool
Parse a boolean parameter from a `key=value` parameter string.
berrycode/src/app/scene_editor/code_import.rs:647
↓ 4 callersFunctionparse_snippet
Expand a snippet template string into plain text + tab stop positions. Returns (expanded_text, tab_stops: Vec<(index, offset_in_text, placeholder_len)
berrycode/src/app/snippets.rs:19
↓ 4 callersMethodplay_mode_start
Enter play mode: snapshot the current scene and switch to play state.
berrycode/src/app/scene_editor/play_mode.rs:33
↓ 4 callersFunctionquat_from_euler
(euler: [f32; 3])
berrycode/src/app/scene_editor/model.rs:1201
↓ 4 callersFunctionquat_mul
Multiply two quaternions: result = a * b.
berrycode/src/app/scene_editor/retargeting.rs:11
↓ 4 callersFunctionquat_to_euler
(q: [f32; 4])
berrycode/src/app/scene_editor/skeleton.rs:148
↓ 4 callersFunctionrasterise_svg
Rasterise an embedded SVG to an `egui::TextureHandle`. The SVG is rendered ×3 the requested pixel size for hidpi crispness, then scaled down by egui a
berrycode/src/app/header.rs:418
↓ 4 callersMethodrefresh
Full re-probe: Xcode + Android + Rust targets. Persists the result.
berrycode/src/app/mobile_toolchain.rs:198
↓ 4 callersMethodrefresh_git_remotes
Refresh Git remotes
berrycode/src/app/git.rs:1169
↓ 4 callersMethodrefresh_git_tags
Refresh Git tags
berrycode/src/app/git.rs:1181
↓ 4 callersMethodrender_generate_row
(&mut self, ui: &mut egui::Ui)
berrycode/src/app/oracleberry.rs:1165
↓ 4 callersMethodrewind
Reset all playback times to 0.
berrycode/src/app/scene_editor/animation.rs:80
↓ 4 callersFunctionrun_codegen_for_save
Codegen dispatch for `save_current_scene` — pure function so we can test the "modular vs legacy, never both" contract without spinning up `BerryCodeAp
berrycode/src/app/shortcuts.rs:969
↓ 4 callersFunctionrun_status
(args: &[&str])
berrycode/src/app/docker.rs:215
↓ 4 callersFunctionsave_animator
Save controller to .banimator file.
berrycode/src/app/scene_editor/animator.rs:343
↓ 4 callersMethodsave_current_scene
Save the current scene to its `file_path`, falling back to `<root>/scenes/scene.bscene` if the scene has never been saved.
berrycode/src/app/shortcuts.rs:612
↓ 4 callersFunctionscan_components_with_fields
Return a list of [`ScannedComponent`] entries found under `root`, each containing the struct name and its public fields with types. The scan skips `ta
berrycode/src/app/scene_editor/script_scan.rs:54
↓ 4 callersFunctionscan_queries_from_code
Scan source code text for `Query<(...)>` patterns. Returns query definitions with extracted component types.
berrycode/src/app/scene_editor/query_viz.rs:25
↓ 4 callersFunctionscan_tests
Scan a Rust source file for test functions
berrycode/src/app/test_runner.rs:69
↓ 4 callersFunctionscan_text
Walk `text` line-by-line; when a `#[derive(... Component ...)]` attribute is seen, look for the next `struct Name` or `enum Name` line and push the id
berrycode/src/app/scene_editor/script_scan.rs:97
↓ 4 callersFunctionscene_label_from_path
Derive a human-readable tab label from a `.bscene` path. Falls back to "scene" if the path has no useful stem (Windows roots, stripped extensions, etc
berrycode/src/app/shortcuts.rs:951
↓ 4 callersFunctionscene_name_to_module
Convert a scene name to a valid Rust module name (snake_case).
berrycode/src/app/scene_editor/codegen.rs:708
↓ 4 callersMethodselect_toggle
Toggle an entity in/out of the selection (Ctrl/Cmd+Click).
berrycode/src/app/scene_editor/model.rs:1647
↓ 4 callersMethodstart_run
Start the Bevy project as a subprocess (cargo run)
berrycode/src/app/run_panel.rs:108
↓ 4 callersFunctionstrip_thinking_blocks
Strip `<thinking>...</thinking>` blocks from LLM responses. CoT blocks are internal reasoning and should not be shown to users.
berrycode/src/app/utils.rs:61
↓ 4 callersMethodtick
Record a frame sample using the time elapsed since the last sample. Call this once per UI frame — e.g., at the top of the Profiler render.
berrycode/src/app/scene_editor/profiler.rs:34
↓ 4 callersMethodwatch
Start watching a directory recursively
berrycode/src/native/watcher.rs:74
↓ 3 callersFunctionACTIVE_BG
()
berrycode/src/app/mod.rs:482
↓ 3 callersFunctionBORDER
()
berrycode/src/app/mod.rs:462
↓ 3 callersFunctionSETTINGS_CARD_BORDER
()
berrycode/src/app/mod.rs:525
↓ 3 callersFunctionSETTINGS_DESC
()
berrycode/src/app/mod.rs:513
↓ 3 callersFunctionSETTINGS_HINT
()
berrycode/src/app/mod.rs:517
↓ 3 callersFunctionaabb_for_entity
Compute a world-space AABB for a scene entity based on its first renderable component. The caller must supply the entity's world-space transform (sinc
berrycode/src/app/scene_editor/gizmo.rs:187
↓ 3 callersMethodadd_change
(&mut self, change: LineChange)
berrycode/src/git.rs:77
↓ 3 callersFunctionapply_folding
Returns (folded_text, line_mapping) where line_mapping maps folded line indices to original line indices.
berrycode/src/app/folding.rs:68
↓ 3 callersFunctionbake_nav_grid
Bake a navigation grid from the scene. Cells overlapping with collider entities are marked as blocked.
berrycode/src/app/scene_editor/navmesh.rs:32
↓ 3 callersFunctionbevy_rust_analyzer_options
Generate rust-analyzer initialization options optimized for Bevy projects. These settings enable proc-macro expansion (required for Bevy's derive mac
berrycode/src/bevy_ide/lsp_config.rs:15
↓ 3 callersFunctionbuild_command_args
Generate the cargo build command arguments for a given build settings config.
berrycode/src/app/scene_editor/build_settings.rs:290
↓ 3 callersMethodchar_to_line
Convert character index to line index
berrycode/src/buffer.rs:157
↓ 3 callersFunctioncleanup_orphan_scene_rs
When a `.bscene` is deleted on disk, the generated scene plugin `<root>/src/scenes/<name>.rs` becomes an orphan that still gets registered by `mod.rs`
berrycode/src/app/shortcuts.rs:996
↓ 3 callersMethodclose_tab
Close a tab by index
berrycode/src/app/terminal_emulator.rs:1166
↓ 3 callersFunctioncollect_all_keyframe_times
Get all unique keyframe times across all tracks, sorted and deduplicated. Useful for timeline display without needing UI context.
berrycode/src/app/scene_editor/dopesheet.rs:13
↓ 3 callersFunctioncompute_glb_auto_fit
Compute a fit-to-view scale factor from the GLB's vertex bounds. Returns `Some(factor)` when the largest extent exceeds 5 units (i.e. the model is aut
berrycode/src/app/scene_editor/bevy_sync.rs:657
↓ 3 callersFunctiondark
()
berrycode/src/app/mod.rs:327
↓ 3 callersMethoddebug_continue
(&mut self)
berrycode/src/app/debugger.rs:693
↓ 3 callersFunctiondetect_bevy_version
Bevy version detection and management. Detect the Bevy version from the project's Cargo.toml
berrycode/src/app/scene_editor/bevy_version.rs:4
↓ 3 callersFunctiondraw_material_preview_gpu_or_fallback
Draw the GPU-rendered material preview if the texture is available, otherwise fall back to the CPU approximation.
berrycode/src/app/scene_editor/material_preview.rs:178
↓ 3 callersFunctioneditor_font_size
()
berrycode/src/app/editor.rs:19
↓ 3 callersFunctionemit_xcode_project
Emit a minimal Xcode project tree at `<root>/ios/`. Wraps the `aarch64-apple-ios` cargo build output as an embedded `.framework` loaded by a small Swi
berrycode/src/app/mobile/project_emit.rs:44
↓ 3 callersMethodensure_cli_check
Check whether `docker` is on PATH. Cheap; cached.
berrycode/src/app/docker.rs:98
↓ 3 callersFunctionextract_features
Extract features from a dependency value. Handles `bevy = { version = "0.15", features = ["foo", "bar"] }`.
berrycode/src/bevy_ide/detection.rs:122
↓ 3 callersMethodfeed
(&mut self, pixels: &[u8], w: u32, h: u32)
berrycode/src/app/demo_capture.rs:103
↓ 3 callersMethodforce_kill_all_sync
Synchronous, runtime-free fallback. Closes stdin (sends EOF — most LSP servers exit cleanly on their own from this) and then sends `process.kill()` fo
berrycode/src/native/lsp_native.rs:1194
↓ 3 callersMethodformat_json_value
(&self, value: &serde_json::Value)
berrycode/src/app/ecs_inspector.rs:1251
↓ 3 callersMethodfps
Compute instantaneous FPS from the average frame time.
berrycode/src/app/scene_editor/profiler.rs:68
↓ 3 callersFunctionfull_error_chain
Walk reqwest's error source chain so the UI shows the real cause (timeout, connection refused, etc.) instead of the bland top-level "error sending req
berrycode/src/app/oracleberry.rs:446
↓ 3 callersMethodgenerate
Generate Rust source code for this template
berrycode/src/bevy_ide/templates.rs:42
↓ 3 callersFunctiongenerate_states_code
Generate Bevy States enum code
berrycode/src/app/scene_editor/state_editor.rs:83
↓ 3 callersMethodget_cursors
Get all cursor positions
berrycode/src/cursor.rs:122
↓ 3 callersFunctionget_target_triple
Standalone function to get target triple for a platform (testable without self).
berrycode/src/app/scene_editor/build_settings.rs:260
↓ 3 callersFunctionhash
(mut x: u64)
berrycode/src/app/scene_editor/particle_preview.rs:139
↓ 3 callersFunctioninit_mobile_project_if_needed
Run `cargo mobile init` non-interactively. Most prompts answer from `OneClickConfig`; the rest take the cargo-mobile2 default. Skipped automatically w
berrycode/src/app/mobile/one_click.rs:147
↓ 3 callersFunctioninstantiate_prefab_from_path
Instantiate a prefab and tag the new root entity with `prefab_source` pointing to `path`. Child entities retain any `prefab_source` values that were s
berrycode/src/app/scene_editor/prefab.rs:121
↓ 3 callersMethodis_connected
(&self)
berrycode/src/app/remote_dev.rs:272
↓ 3 callersFunctionis_valid_system_name
Whether `name` looks like a valid Rust path identifier — starts with a letter or underscore, and contains only word chars / `:` after. Used both to fi
berrycode/src/app/scene_editor/system_graph.rs:280
↓ 3 callersFunctionis_whole_word
True if `line[start..end]` is a whole-word match — i.e. the chars immediately before `start` and immediately after `end` are not alphanumeric (or don'
berrycode/src/search.rs:19
↓ 3 callersMethodlabel
(&self)
berrycode/src/app/dock.rs:47
↓ 3 callersMethodlast_command
The most recently executed (or undone-to) command, if any.
berrycode/src/app/scene_editor/history.rs:221
↓ 3 callersMethodlen_lines
(&self)
berrycode/src/buffer.rs:123
↓ 3 callersFunctionload_animator
Load controller from .banimator file. Normalizes legacy data.
berrycode/src/app/scene_editor/animator.rs:350
↓ 3 callersMethodload_scene
Reload the active scene in-place from disk. Used by the asset watcher's hot-reload path; the active tab's model + label are overwritten with the fresh
berrycode/src/app/shortcuts.rs:704
↓ 3 callersMethodlog_event
Push an event into the monitor log (called by subsystems during play mode).
berrycode/src/app/scene_editor/event_monitor.rs:153
↓ 3 callersMethodmark_saved
(&mut self)
berrycode/src/buffer.rs:139
↓ 3 callersMethodnavigate_to_location
Navigate to a specific location (file + line + column)
berrycode/src/app/lsp.rs:1422
↓ 3 callersFunctionnext_id
(graph: &MusicGraph)
berrycode/src/app/audio/music_graph.rs:338
↓ 3 callersFunctionnormal_at
Compute approximate normal at a grid position.
berrycode/src/app/scene_editor/terrain.rs:36
↓ 3 callersFunctionnormalize_code
Normalize code: strip comments, collapse whitespace, and inline simple `let var = meshes.add(Cuboid::new(...))` bindings so that `Mesh3d(var.clone())`
berrycode/src/app/scene_editor/code_import.rs:12
↓ 3 callersMethodnormalized
(&self)
berrycode/src/app/terminal_emulator.rs:923
↓ 3 callersMethodparse_file
Parse file and build AST This would use tree-sitter-rust in production, but for now we implement a fast regex-based approximation that still beats In
berrycode/src/tree_sitter_engine.rs:81
↓ 3 callersFunctionparse_ifc_ref_list
Parse the entity-reference list inside `IFCPOLYLINE((#1,#2,#3))` or `IFCPOLYLOOP((#1,#2,#3))`. Returns the bare numeric ids.
berrycode/src/app/model_preview.rs:289
← previousnext →201–300 of 2,320, ranked by callers