跳到主要内容

常用 VS Code 配置

· 阅读需 3 分钟
周小天
{折腾 ⇌ 迷茫 ⇌ 思考]ing,在路上...

Terminal

  • Oh My Zsh - Unleash your terminal like never before.
  • starship - The minimal, blazing-fast, and infinitely customizable prompt for any shell!

Extensions

  • vsg - Explore Github repositories directly from Visual Studio Code.
  • Remote Repositories - Remotely browse and edit a GitHub repository
  • GitHub Copilot - Your AI pair programmer
  • CodeSnap - Take beautiful screenshots of your code
  • Live Share - Real-time collaborative development from the comfort of your favorite tools.
  • Local History - Save files into local history
  • Bracket Pair Colorizer - A customizable extension for colorizing matching brackets
  • filesize - Show the current file size in the status bar
  • Code Runner - Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure, Haxe, Obj-C, Rust, Racket, Scheme, AutoHotkey, AutoIt, Kotlin, Dart, Pascal, Haskell, Nim...
  • indent-rainbow - Makes indentation easier to read
  • Prettier - Code formatter - Code formatter using prettier
  • Highlight Matching Tag - Highlights matching closing and opening tags
  • Import Cost - Display import/require package size in the editor
  • Even Better TOML - Fully-featured TOML support
  • Code Spell Checker - Spelling checker for source code
  • Color Highlight - Highlight web colors in your editor
  • Auto Import - Automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX
  • Git Graph - View a Git Graph of your repository, and perform Git actions from the graph.
  • Bookmarks - Mark lines and jump to them
  • Quokka.js - JavaScript and TypeScript playground in your editor.

Theme

  • Shades of Purple - A professional theme suite with hand-picked & bold shades of purple for your VS Code editor and terminal apps. One of the excellent, most downloaded, and top-rated VSCode Themes on the marketplace. Part of VSCode.pro course.
  • Material Icon Theme - Material Design Icons for Visual Studio Code

TODO

  • Todo Tree - Show TODO, FIXME, etc. comment tags in a tree view
  • Better Comments - Improve your code commenting by annotating with alert, informational, TODOs, and more!

Preview

  • Excel Viewer - View Excel spreadsheets and CSV files within Visual Studio Code workspaces.
  • Image preview - Shows image preview in the gutter and on hover
  • Svg Preview - Preview for Svg files
  • LaTeX Workshop - Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.

Rust