An Interest In:
Web News this Week
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
September 25, 2022 07:23 am GMT
Original Link: https://dev.to/danielbellmas/productivity-boost-with-cmd-ctrl-1nh8
Productivity Boost with Cmd. / Ctrl.
The light bulb icon means that VS Code found a possibility to refactor the code. It can be accessed by pressing Cmd+.
/ Ctrl+.
There are many more little quick fixes, but here are some I frequently use:
Remove braces
Add braces
Extract to a constant/function
Extract Type/Interface
Remove unused imports
Add a missing import
Add all missing imports
Convert then to async await
Bonus Productivity Tip
By pressing F2
, the variable's name will be changed everywhere it is referenced.
Original Link: https://dev.to/danielbellmas/productivity-boost-with-cmd-ctrl-1nh8
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To