3 ms·
Refactoring, "show me where this class, function, variable is used", "show me a class hierarchy", "analyze my code and tell me where I'm not using best practice
by nwatson 5y ago
Refactoring, "show me where this class, function, variable is used", "show me a class hierarchy", "analyze my code and tell me where I'm not using best practices and suggest the best fixes and apply my selected one", are places where a full-fledged IDE shines. An editor won't do those, or most of those. A 15-minute task turns into a 20-second blip.
- ricardobeat 5y agoVSCode does all of the former, at least for the two main languages I work with, TypeScript and Go. Prettier, ESLint and golangci-lint handle the style checks. JetBrains says the problem is “users are unaware of what an IDE can do” but maybe it is the other way around?
- gnufied 5y agoCurrently I am using Emacs and Goland as my main IDEs/editors and have tried vscode but the thing is - what vscode can support entirely depends on what LSP server can support. This can make or break vscode. For example - both vscode/emacs (via lsp-mode) throw errors/warnings in multi-module go projects. Even worse, if you are hacking your build chain the way some projects like Kubernetes do(via staging directory), lsp-server refuses to work entirely in `staging/` directory of the project. I also saw that switching branches can confuse lsp-server. All of these problems are basically non-existant in Goland(Intellij).So depending on complexity of a project, I would day it is worth using an IDE.
- Aeolun 5y agoWhat’s nice that Jetbrains does in Typescript that VSCode doesn’t is automated refactoring. I can change or move a function anywhere in my project and all references are automatically updated. VSCode does it to some extend, but the difference is night and day.