Writing Kotlin in NP++
-
I notice that NP++ doesn’t support the Kotlin language. Is there a way to add this in, or am I missing something? I am new to this language.
-
Lexing a language is not handled by Notepad++ itself, but by a dependent component called “Scintilla”.
Until Scintilla supports Kotlin, Notepad++ can’t do anything about it.
If Scintilla ever supports Kotlin, Notepad++ will get the benefits without much effort.There’s a Scintilla request to add support HERE.
Well, it is kind of an “implied” request.Not sure if any Scintilla action has been taken on Kotlin support; maybe do some research yourself now that you have a little background?
-
@Alan-Kilborn Thanks for the help!
-
@Jason-Tilford-0 said in Writing Kotlin in NP++:
support the Kotlin language
Depends on the degree of “support” you want. If it’s just lexing (coloring), then as @Alan-Kilborn says it is Scintilla-related. But again, if it’s only lexing (coloring) you want, you can try a User Defined Language route and create your own Kotlin parser. Lucky for you, our esteemed function list / UDL guru @MAPJe71 has a Kotlin UDL parser you can try.
Cheers.