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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login