3 ms·
I switched from IntelliJ to Emacs about a year ago, and honestly these things seem relatively trivial in that environment, because I can write small ELisp funct
by cle 6y ago
I switched from IntelliJ to Emacs about a year ago, and honestly these things seem relatively trivial in that environment, because I can write small ELisp functions that automate things like this without much effort or ceremony. For example it's quite easy to automate checking out repos, applying AST refactorings using LSP Mode, and then committing and sending PRs using VC/Magit. Or configuring projects and "Run Buttons" for entire groups of packages.
Granted there is effort in learning ELisp in the first place, but now that I'm comfortable with it, I find myself able to adapt to these changes quite easily while many other developers have to wait on big feature releases from their IDEs, use hard-to-automated GUIs, or heavyweight IDE APIs to develop "plugins" to modify behavior.
- mushishi 6y agoI haven't used it but as far as I know, you can write refactoring scripts using Kotlin or other languages within Intellij, see Tools -> IDE Scripting Console. The available interface should be the same as what it is for plugins: https://plugins.jetbrains.com/docs/intellij/psi-cookbook.html https://plugins.jetbrains.com/docs/intellij/psi-cookbook.htm... These should be useful imports: * com.intellij.psi.JavaPsiFacade * com.intellij.refactoring.RefactoringFactory If someone knows better, happy to be educated on this! https://www.jetbrains.com/help/idea/ide-scripting-console.html https://www.jetbrains.com/help/idea/ide-scripting-console.ht...
- bitwize 6y agoI was gonna post something much like this. Agreed, Emacs is not a modern IDE. Emacs is from the future.