Loading…

VS Code personalizations

This list contains some of my personal settings and optimizations I normally use in VS Code.

Show whitespaces

VS Code 1.6.0 and Greater

As mentioned by aloisdg beloweditor.renderWhitespace is now an enum taking either noneboundary or all. To view all whitespaces:

"editor.renderWhitespace": "all", 

Before VS Code 1.6.0

Before 1.6.0, you had to set editor.renderWhitespace to true:

"editor.renderWhitespace": true

Source: https://stackoverflow.com/questions/30140595/show-whitespace-characters-in-visual-studio-code

Lint .vue files

Add the following part to your settings.json and VS Code will lint vue files like js files.

"eslint.validate": [
  {
    "language": "vue",
    "autoFix": false
  },
],

Author: Anton Bracke

Software engineering student from Germany. Loves programming in PHP, JS and sometimes C.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.