Community
    • Login

    Writing Kotlin in NP++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 8.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jason Tilford 0J Offline
      Jason Tilford 0
      last edited by

      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.

      Alan KilbornA Michael VincentM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Jason Tilford 0
        last edited by Alan Kilborn

        @Jason-Tilford-0

        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?

        Jason Tilford 0J 1 Reply Last reply Reply Quote 2
        • Jason Tilford 0J Offline
          Jason Tilford 0 @Alan Kilborn
          last edited by

          @Alan-Kilborn Thanks for the help!

          1 Reply Last reply Reply Quote 1
          • Michael VincentM Offline
            Michael Vincent @Jason Tilford 0
            last edited by

            @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.

            1 Reply Last reply Reply Quote 3

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors