- Collapse all files & folders in explorer: https://stackoverflow.com/questions/53273421/visual-studio-code-shortcut-collapse-all-files-in-explorer
- Object.entries -> .map() for object: https://stackoverflow.com/questions/40950546/react-js-right-way-to-iterate-over-object-instead-of-object-entries
Recommended customized default setting for Visual Studio Code. These settings should be the standard behaviors by default.
Demonstrate the use case of reduce()
with github public api.
- CodeSandbox: https://qf2h1.csb.app
Here are few settings to turn on and off the autocomplete when a certain key is pressed.
This is different from turning off the suggestions. Suggestion still appears but will not trigger autocomplete when a certain key is pressed.
How to turn on and off autocomplete when
enter
,return
key is pressed:
Some people do not want to autocomplete when they enter.
They will choose tab
key instead since you have to press esc
when you want to use enter
key and at the same the unwanted suggestion shows up.
But some people find enter
key is more handy instead.
Anyway, below shows 2 ways to turn this off.