Archive

VSCode12 writings

7 writings

  1. Type Less With Code Snippets
    Developers often face repetitive coding patterns, ranging from standard if/for structures to Go's error handling or HTML boilerplates. This redundancy is inefficient and error-prone. Snippets offer the optimal solution. When you type a short prefix (e.g., if, for), your IDE suggests a completion item that can be expanded into a predefined code template.

    VSCodeWorkflowMarkdownNeovim3 min

  1. Enable Autocompletion for Lua API With Stub Files
    Configure IDEs to recognize Sketchybar module types for Lua autocompletion in VS Code, Neovim, and JetBrains IDEs.

    VSCodeLuaSketchybarLSPNeovim2 min

  2. VSCode Status Bar Ricing
    Customize the VS Code status bar with custom CSS, fonts, item ordering, Vim mode colors, and replacement problem icons.

    CSSVSCodeRicingCatppuccinVim4 min

  1. VSCode VIM Part I - EasyMotion
    Learn how to enhance VSCode text navigation by setting up EasyMotion with the VSCode Vim extension and LazyVim-like keybindings.

    VSCodeCatppuccinVim3 min

  1. Use Docker and SSH to Work Around Old Ubuntu Dev Environment Compatibility Issues
    Ubuntu 18.04's glibc is too old for newer VS Code Remote SSH Server and some Node.js binaries. Run the dev environment in Docker and SSH into it.

    LinuxVSCodeDockerSSH8 min

  2. How to Install VSCode Extensions Offline: Downloading and Installing VSIX Files
    A practical guide to installing VS Code extensions offline: downloading VSIX files through the official API, installing language packs, handling SSH remote development, and choosing platform-specific packages.

    VSCodeVSIX4 min

  1. VS Code DevContainer
    Use VS Code Dev Containers to develop inside Docker, reusing an existing Dockerfile while keeping dependencies isolated and reproducible.

    LinuxVSCodeDocker3 min

  2. VSCode Ricing
    Customize VS Code with Custom CSS and Animations, including themes, fonts, status bar styling, borders, and command palette layout.

    CSSFontVSCodeRicingCatppuccin2 min

  1. Python Dev Environment and Toolchain: VSCode, UV, Ruff
    Build a modern Python workflow from interpreter, virtual env, and dependency management to editor setup and Ruff, with the trade-offs behind each step.

    PythonVSCodeRuffUV10 min

  1. Using tasks.json
    A brief note on using VS Code tasks.json to compile, run, package, and automate common project tasks.

    ProductivityVSCode3 min

  2. VS Code Extensions
    A personal list of VS Code extensions for editing, Markdown, formatting, Git, web development, utilities, and drawing.

    VSCode2 min

  3. Setting Up a C/C++ Debug Environment in VSCode
    How to set up a C/C++ debug environment in VSCode, with a walkthrough of `task.json` and `launch.json` and sample configurations.

    LinuxCWindowsVSCodeCpp6 min