3 ms·
i was considering writing an IDE, could you please explain what refactoring tools are necessary/lacking from any ides that are not Visual studio
by mc_hammer 11y ago
i was considering writing an IDE, could you please explain what refactoring tools are necessary/lacking from any ides that are not Visual studio
- iheartmemcache 11y agoVisual Studio with VAX (http://www.wholetomato.com/features/default.asp http://www.wholetomato.com/features/default.asp) is more than sufficient. The general objection to it historically has been "it's not free", but Visual Studio Code is Electron.io/node based, free, works on 3 of the major platforms, MSFT is in the process of enabling first-party support for using LLVM (I'm not sure if this is for the "Code" version of the traditional executable base --which is also available for free in the "Express" mind you) so that excuse isn't really valid anymore. If you're writing C# and not C++, then Resharper from IntelliJ is going to do you better probably. Speaking of which, JetBrain's CLion is way better than VIM w/r/t refactoring, intellisense, auto-complete, etc, not too surprising really since that's what they're famous for. Refactoring C in general is really trivial compared to the template messes I'd imagine a compiler would struggle with though. I'm not sure if they have a community edition but they offer 30 day trials IIRC and probably student discounts if you're not yet employed.
- oselhn 11y agoRefactoring features presented on their web are the same as features in eclipse CDT which is free and runs almost everywhere. Visual studio code is just configurable editor not IDE. In my opinion atom or sublime are better choice.
- oselhn 11y agoI use mostly eclipse, so maybe other IDEs already have it. * Extract superclass/interface which will work on the whole codebase * Support for NVI - rename, change parameters, convert to virtual interface and back * code duplication detection (maybe exists but I never found sufficient one)
- electrum 11y agoTake a look at the refactorings available in CLion: https://www.jetbrains.com/clion/features/code-generation-and-refactorings.html https://www.jetbrains.com/clion/features/code-generation-and... Refactoring tools are incredibly powerful. For example, renaming a class method "foo". You can rename it yourself with a text editor, but now you have to manually update all the callers. You could try using search/replace, but what if several unrelated classes have a "foo" method? How do you only change the correct method calls? The IDE refactoring tool does this automatically.