NTypewriter icon indicating copy to clipboard operation
NTypewriter copied to clipboard

Support for JetBrains Rider

Open rmarskell opened this issue 1 year ago • 3 comments

I know this is a long shot, but is there any chance this could be ported to JetBrains Rider as a plug-in? I don't know what kind of a lift it is to port a VS extension to a Rider plug-in, but I would love to use this in Rider.

rmarskell avatar Sep 01 '22 02:09 rmarskell

Rider is based on IntelliJ IDE which runs on JVM, UI plug-ins are written in Kotlin, and the extensibility model is entirely different from VS. So there would not be much to port, a whole .nt editor would have to be created from the beginning.

The same story is with VSCode.

NTypewrite is CLI capable, NTypewriter.Runtime is IDE agnostic, thus anyone can try to write an editor for it for any IDE. I have no skill or intention to write one for Rider, the one for VSC always was in plans, so maybe someday it will be released.

NeVeSpl avatar Sep 01 '22 05:09 NeVeSpl

Ah, ok. That's what I figured.

Would it be possible to just create/edit the templates in VS, but have the actual generation run via an msbuild task / nuget package / something so it could generate elsewhere (Rider, CLI, etc.)? (Please forgive my ignorance. 😅)

rmarskell avatar Sep 01 '22 15:09 rmarskell

Yes, there is a chapter about that in the manual: Build your own CLI

also, there was a try in the past to provide a generic CLI, but apparently, the project has died: https://github.com/TietoEVRY/NTypewriterCLI

NeVeSpl avatar Sep 01 '22 17:09 NeVeSpl