Everyone has things they can't live without, whether it is your pet, a really loud neighbor, taxes, the dank memes, or even water! (This is my way ...
For further actions, you may consider blocking this person and/or reporting abuse
I'd recommend Live Server as well. It's quite useful.
Would you mind explaining what it does or a link to it for others?
It runs a web server in the root directory of your project so as to automatically update the page once you edit anything. Check the gif in its marketplace page: marketplace.visualstudio.com/items...
Tried Visual Studio code.
Still find vim and a terminal is more productive for my needs! Each to their own.
That's totally cool. I know a few people who love Vim but I have never used it.
What are some the things that you prefer from Vim over VS Code?
Pros:
Vim starts fast and consumes minimal memory.
Largest syntax highlighting support you can find, in terms of languages.
Fingers don't have to leave the keyboard.
I can go to line 18790 of a file make a change within a second or two.
Massive plugin library (although I'm sure VS Code is big too).
I'm a Unix/Linux developer, so the ability to ssh to a remote system and make a change really quickly is important for productivity, may not apply if your primary development platform is Windows.
Almost every Unix/Linux system has vim installed, or at least it's closely related sister vi.
Cons:
The main one, steep learning curve.
C/C++ indexing could be improved upon. But VS Code is just as poor. QT Creator and full VS have decent indexing. Although full VS is a bit bloated, can be slow to start up and work with.
If you're a Unix/Linux developer in particular, learning vi/vim would be a string to your bow that you will be thankful for adding. Even most Emacs user know some vi/vim as Emacs isn't always installed.
It's more productive on Windows too in my opinion, but I'm not as convinced it's worth the effort learning if Windows is your primary development platform.
Wow! I'll have to give it a try too!
Thanks
Thanks for a few good suggestions.
If you write a lot of javascript or typescript, instead of Code Runner I would recommend Quokka.js. Learned about it from a youtube channel named Fun Fun Functions.
Other than that, my MUST HAVEs are Settings Sync, Contextual Duplicate, Markdown Checkbox, Sort JSON objects, and Log Output Colorizer so far.
AddFileExtension and don't forget to bind the command "addfileextension.addFile" with the
Ctrl
+Alt
+N
keyboard shortcut. It allows you to easily create files without the mouse.What is the difference between Ctrl+Alt+N and Ctrl+N?
This extension is a little more smart. It will create folders and files relative to the current open file or root if none. Also support absolute path from root.
Great article Christian. For us the number one extension is the Go extension by Luke Hoban. It makes VS Code into a very useful and productive environment for Go development.
For C# development, Visual Studio is still the boss.
Thanks NexWebSites, this is the first time I read about someone using Go in VS Code. What do you guys use it for?
We use Go for everything from microservices, web services, to complete high performance servers. You name it. IMO, many applications are much more fun and effective written in Go. And that is coming from someone who has been writing in C# and Java since they were first released.
Although it is a great product, if it wasn't for the Go extension, we wouldn't even have VS Code on our machines.
That sounds awesome. Props to Luke Hoban for his initiative!
One of the more useful Extensions I use, is the Slack integration. It allows me to select a selection of code or even an entire file, and send it right into my Slack instance. It can send as a DM to someone, or into the channel you specify.
It's a great workflow for sharing code with team members - useful snippets, or something you're having a problem with.
Then AdvancedNewFile is great for quickly creating a new file. CMD-Alt-N will drop down the palette where I can specify the starting folder, and then just type out the path to the new file I want to create and it'll
build/out/the/path-to-the/file.html
. Quite useful :)eslint: marketplace.visualstudio.com/items...
prettier: marketplace.visualstudio.com/items...
and of course,
vim: marketplace.visualstudio.com/items...
Clipboard history sounds nice, or if there is an undo for the action when you accidentally push copy instead of paste.
Not a plugin but I've recently discovered ligatures with the fira code font and for me it's the biggest improvement in code readability since color coded text.
File icons: vscode-icons - first file icons for VSCode (AFAIK) and they are still best looking (IMHO).
Code alignment: Alignment - if you need to align those assignment rows (:=, = etc.) to look prettier
Bookmarking code: Bookmarks - you know what to do with it, right? :)
EditorConfig: If you need to force codestyle in your team
Guidelines: Guides - draws guiding lines between brackets
Markdown: Markdownlint, Markdown PDF
Syncing VSCode config: Shan Khan's Settings sync (already mentioned earlier by somebody else)
ToDo: TODO Highlight (searches code for TODO: FIXME: etc., highlights them in code as well as lists them)
Well i recommend you,
1) Bracket Pair Colorizer
Basically allows matching brackets to be identified with colors.
2) Angular Language Service (If you use Angular)
provide us a rich editing experience for Angular templates
NIce ones!
Those are pretty cool.
VS Code with 20 extensions...curious about the performance...
Haven't really noticed much of an impact on load times to be honest.
But now that you mention this, I'll look into it. Thanks!
For anyone who may wonder:
Here'a post about performance issues and how to work around them for version 1.19 or later. And this one is for version 1.18 or older.
What the intellisense! I have been using VSC for a couple months and I had never heard of this. (switched over, deliberately without watching tutorials to see what is so great about it).
The sweetest thing coming over from sublime, is the built in Terminal and git history.
I really like vscode-powertools - allows you to add buttons for configureable actions to the status-bar.
With todo-tree I keep track of TODO-comments in my code. VERY useful!
And I use the "Bad Code Highlighter" to highlight my typical problem: unpaired quotes. (You can configure a rx and if it find it, it would highlight the line)
Finally I found Favorites Manager to be useful to keeo a list of my favourtite file easily at hand.
Great list!
GitLens is a must have: marketplace.visualstudio.com/items...
That's right! How did I miss it?
Thanks, Christopher :D
Try Binary Jump as well, it's a small extension that can save you some keypresses and faster the navigation by allowing you to jump half distances on either direction on a line.
Path intellisense is built in these days...
Also, my favorite extension is eslint-disable 😂
I uninstalled Auto Import because VS Code seems to have that feature built-in now.
Thanks! I frequently see extensions, but it's more that I "don't know I need" the extensions! I'll definitely check some of them out!
You should project manager extension. Which allows you to quickly switch between work stations for different projects.
Oh cool! I'll check it out later :D
Thanks for sharing I will ceartly install all tomorrow, for me a like the open in browser extension
I am searching a extension that enable to rename file using shortcut (cmd + p) similar Sublime Text.
Have you looked into the keymapping settings? You may be able to achieve it that way.
I need to enable rename file via
cmd + shift + p
. On Sublime Text there is a option to rename a file using the same command but, in the VSCode there isn't the option. Look the image attachment: thepracticaldev.s3.amazonaws.com/i...Edit: I did a search and I've found this extension: marketplace.visualstudio.com/items...
Also, you can use system sync to sync your user settings and extensions on Github.
What's the memory usage? How fast does it start? How is it better than Webstorm?
Hey Janszky,
In terms of performance, I think you will have to give it a try yourself on your machine since specs can vary.
Being better than Webstorm? Not sure. I can say that Webstorm does provide more features out of the box than VS Code, so it all depends if you like or not having to download a few handy extensions or just get straight to coding after installing your tools.
You can refer to this and this other article to check out other people's reviews.
I think another cool extension is quokka.js 'A live scratchpad for javascript' it supports typescript now too
Any way to sync the installed extensions across computers?
I think Settings Sync is the one for you!
Do you know of any strong refactoring extensions? VS Code’s refactoring capabilities seem pretty weak (almost nonexistent) out of the box. Considering switching to WebStorm just for that.
That's a good question. I don't currently have any, but I'll let you know if I find one :)
Oh nice, thanks for Polacode!! Thats really needed for all my thesis'