Repository navigation
VCode v5.0.0 Release Notes π
VCode v5.0.0 is one of our biggest updates yet. We overhauled the Git engine, added a fully customizable keybinding system, upgraded JavaScript/TypeScript language features, introduced live CSS gradient previews, and cleaned up performance under the hood.
π Git & Version Control
- Full-Screen Diff Viewer: Replaced the cramped bottom-sheet diffs with a full-screen viewer featuring word-level change highlighting, inline commit stats, and a one-tap "Go to file" shortcut.
- Pre-Merge Inspection: Added a fetch review drawer to inspect incoming commits, author details, and file diffs before running a merge or pull.
- Smarter Branching & Author Info:
- Automatically checks out local branches to keep you out of a detached HEAD state.
- Cleans up stale remote-tracking branches during fetches.
- Auto-detects author credentials from your linked GitHub account or local
.gitconfig.
- Draft Saving & Clean Dialogs: Automatically saves commit message drafts per project so you never lose your notes, and updated all conflict/uncommitted change prompts to clean Material 3 dialogs.
β¨οΈ Custom Keybindings & Editor Improvements
- Fully Configurable Shortcuts: Built a new keybindings manager with support for 37 customizable commands, visual keycap badges, conflict alerts, and
keybindings.jsonimport/export. - Hardware Keyboard Recording: Detects and binds physical key presses directly from external keyboards.
- Desktop-Style Editing Shortcuts: Added standard shortcuts for moving lines (
Alt+Up/Down), duplicating lines (Shift+Alt+Up/Down), deleting lines (Ctrl+Shift+K), and toggling read-only mode (Alt+R). - Touch-Friendly Overflow Menu: Added a quick-action menu to the selection toolbar so you can run line operations without a physical keyboard.
- Smart Session Memory: Keeps track of your exact cursor position and scroll state across tab switches, project reloads, and file tree clicks.
β‘ JS/TS Intelligence & Language Server
- Smarter Autocomplete: Better control-flow type narrowing (
typeof,instanceof), plus contextual completions for tuples, multiline arrays, inline objects, DOM events, andfor..of/forEachloops. - Safe Symbol Renaming: Refactor class properties (
this.prop), constructor parameters, methods, and TypeScript types (interface,enum,type) cleanly across your project. - Unobtrusive LSP Toolbar: The navigation toolbar now waits until you pause typing before showing popups, keeping clutter out of your way while writing code.
- Parser Fixes & Support:
- Fixed loop AST corruption bugs and false "variable not defined" lint warnings.
- Solidified support for ES2022 private fields (
#field), arrow function scopes, and complex TypeScript generics.
π File System & Automatic Refactoring
- Custom File Templates: Create project templates using dynamic placeholders like
{fileName}and{projectName}, complete with live code previews and safety rules for binary files. - Automatic Import Updating: Renaming or moving a file automatically updates relative imports, assets, and links across JS, TS, HTML, CSS, Markdown, and PHP files.
- Cleaner Single-File Editing: Opening standalone files from an external manager no longer generates unwanted
.vcode/workspace folders. - Improved Tree Navigation: Added right-click context menu positioning, hardware key support (
Shift+F10/KEYCODE_MENU), and paste actions for root directories.
π¨ UI, Visual Tools & Diagnostics
- New
VCodeSnackbar: Toast and snackbar notifications now match your active Material 3 color palette. - Live CSS Shader Previews: Render CSS gradient shader previews right inside the editor gutter.
- Cleaner Emmet Aliases: Fixed shortcut collisions for short Emmet triggers (
posa,df,db). - Visual Toggles: Added toggles for rainbow bracket pairs, boundary bracket highlights, custom accent cursors, and selection handles.
- Precise Error Navigation: Tapping an error or warning in the Problems panel jumps your caret directly to the exact line and character column.
π οΈ Performance & System Optimizations
- Memory & String Tuning: Lowered memory overhead and sped up file reading with optimized string buffers and improved font caching.
- Resource Cleanup: Ensured background Git tasks release file handles properly to avoid memory leaks.
- Smarter Indexing: Heavy dependency folders (
node_modules,build,.gradle,dist) are now ignored during file counts and linter indexing to keep things snappy.
Full Commit Changelog: v4.3.5...v5.0.0