[FIXED] How to prevent autocomplete in Visual Studio Code, and a few other customizations

If visual code opinionates about what you are typing, and you want it to stop, then perhaps you are looking for this setting:

"editor.acceptSuggestionOnCommitCharacter": false

Don't forget to backup your configuration file ~/.config/Code/User/setttings.json to be able to load it from backup later!

And while I have your attention, let's talk about configuring this text editor.

As you know, visual code is owned by microsoft. That's a reason not to use this text editor. On the other hand, if you've been searching for a good text editor for a while, you know that it's not easy to find one. A full-blown IDE isn't always the best idea, using those tends to make you stupid because the IDE knows your code more than you do, and you end up giving up control of what you're writing... to your IDE, to your text editor. So I like to keep my text editor dumb, dumber than me - which is saying something. The text editor has to be very dumb! 

Anyway, here are some customizations that I like.

Theme: solarized light

There is also solarized dark, but I prefer the light one. It's a very reasonable black-on-yellow. Looks like an old newspaper.

Remove vertical lines

In settings:  "editor.guides.indentation": false. By the way to get to the settings: File->Preferences->Settings and then just start typing the setting you're looking for. Upon change, the change should be visible in the file: ~/.config/Code/User/settings.json , and you should be backing up this file.

Do not highlight current row

Uncheck "Highlight current line". I recommend disabling that - the code doesn't need to flash itself in your face - you are already looking at it, no need to emphasize anything there.

Please login or register to post a comment.