serenadeai / serenade

Apache License 2.0
317 stars 57 forks source link

Support IDE (IntelliJ) Refactorings #16

Open simonnagl opened 1 year ago

simonnagl commented 1 year ago

Context

I just tried serenade. I find it useful and I will use it in the feature as an extension to keyboard.

Goals

I want to do refactorings like renaming of a class over the whole project.

Proposed Solution

Support IDE Refactoring commands.

For example use refactor rename <selector> to call the IDE rename feature.

Alternatives

As an alternative I know about the possibility to write custom commands which may send the required keystrokes to IntelliJ.

tmacwill commented 1 year ago

thanks for the suggestion! would definitely be supportive in general of adding more integrations with JetBrains products. one thing to think about is how those commands will translate to VSCode or other IDEs as well—e.g., by making sure the commands are general vs. tied to a specific IDE implementation.