Recently, I was at the Boryspil Airport in Ukraine, working on a blog article, when suddenly my VS Code stopped working. It actually crashed! Not once, but twice in less than 30 minutes. Some of the content was autosaved, but some of it was gone forever.
I was frustrated at first as to why it had to crash at that moment. After re-opening the editor, I was angry with myself because I had to write some of the stuff that didn’t get saved again.
Before this experience, it did at times feel that I had too many extensions that I wasn’t using, as I stopped working with some of the frameworks in recent months (Angular, for example).
What did I do? The emotions weren’t helping; I had to find a better way. So, I re-installed VS Code.
The first thing I did was install themes that I see all day. I like my editor to be charming and appealing. Thus, I used the following themes for different purposes.
Next, I changed a few things that I remembered from my previous settings.
Tabsize to two spaces.
autoSavewith a delay of 5 seconds.
Next step for me is to make this editor work like a charm with the help of some well maintained and free extensions.
With Prettier, I like to use my own set of configurations, as described below.
1"prettier.jsxSingleQuote": true,"prettier.printWidth": 100,"prettier.semi": false,"prettier.useTabs": true,"prettier.tabWidth": 2,