Skip to content

Visual Studio Code, rebuilt in Rust

Rust
2.8 KB
Raw Blame

Units: src/vs/editor

Part of the Units table, generated by bun port/tools/gen-ledger.ts; the status and gap legend is in port/ledger.md.

id area milestone status gaps evidence
editor/browser src/vs/editor M8 verified editor/view.rs, editor/folding.rs, editor/minimap.rs, editor/word_wrap.rs, editor/smooth_scroll.rs, editor/mouse_selection.rs, workbench/editor_view.rs, workbench/gutter_mouse.rs, workbench/editor_view/text_decorations.rs: cargo test -p app editor::view::tests editor::folding minimap section_headers editor_menus selection_corners whitespace control_characters gutter_presses word_wrap smooth_scroll diff_editor diff_gutter switch_side bracket_pair_guide wrapping_indent_repeats without_a_wrapping_indent file_compare char_ranges a_click_without_a_move mouse_selection text_clicks_select a_selecting_drag_below a_drag_into_the_vertical the_bottom_edge_hit a_drag_below_a_comment text_input:: outline_and_border_follow_the_css_cascade a_decoration_outline_is_drawn_outside_its_range decoration_types_set_and_remove_editor_decorations wrapping_a_padded_inlay_hint_skips_its_padding_box a_selection_over_changes_shows_the_selection_toolbar the_scrollbars_stay_shown_over_the_minimap_and_the_track; ui-pair m12/compare.json, port/fixtures/ui-pair/m8/scrollbar-hover.json (FOLDER=/src/vs/base/common FILE=strings.ts: the 14px scrollbar column matches with 0 px over 6% fuzz while the pointer is on the minimap and on the track), port/fixtures/ui-pair/menus/diff-gutter-selection.json, port/fixtures/ui-pair/m8/inlay-hint-wrap.json (port/notes.md milestones 8 and 14)
editor/common src/vs/editor M27 verified app/src/editor, decorations.rs, link_computer.rs, syntax.rs, brackets/tree.rs, the diff crate, workbench/editor_options.rs: cargo test -p app editor:: decorations:: link_computer syntax:: auto_closing brackets lines_in_view_past_the_tokenized_ones the_word_at_a_column full_width_chars_take moving_down_keeps a_hyphen_next_to_a_class_escape_is_literal editor_options (13 ignored: upstream's test.skip cases); cargo test -p diff; typing on the 52k-line TS file under 16 ms per edit with the section headers and unicode highlights, trim and comment on it just opened under 16 ms, its bracket selection scan under 30 ms (port/notes.md "Scheduling differences"): cargo gc test --release -p app -- --ignored typing_latency_on_a_large_file. By design: the piece tree text buffer is a vector of lines (large files through workbench/large_file.rs)
editor/standalone src/vs/editor removed Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port
editor/test src/vs/editor M6 n/a upstream test infrastructure; the port tests with cargo test and port/tools