Community
    • Login

    How to write a plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    13 Posts 8 Posters 19.1k 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.
    • Alan KilbornA Offline
      Alan Kilborn @Michael Vincent
      last edited by

      @Michael-Vincent said in How to write a plugin:

      I’m surprised, I thought C++ was the “original” Notepad++ plugin language

      It is.
      Because the OP wasn’t seeming to be interested in C++, I didn’t dig up and mention THIS which I think is the most-recent standard C++ template.

      1 Reply Last reply Reply Quote 3
      • linpengchengL Offline
        linpengcheng
        last edited by

        An example of writing an npp plugin in java, the original author (sunjw) has deleted it in his github (https://github.com/sunjw) repository.
        Fortunately I fork it :-)

        https://github.com/linpengcheng/JsToolJava
        https://github.com/linpengcheng/JsFormatterJavaNppPlugin
        Chinese blog: https://www.sunjw.us/blog/java-jni-and-notepad-plugin/

        1 Reply Last reply Reply Quote 1
        • linpengchengL Offline
          linpengcheng
          last edited by

          Sorry, found the new URL of npp plugin of the original author (sunjw)

          An example of writing an npp plugin in java, the original author (sunjw) new website and github repo.

          https://www.sunjw.us/jstool/npp/?redirect_src=vsc
          https://github.com/sunjw/jstoolnpp
          https://sourceforge.net/projects/jsminnpp/files/

          1 Reply Last reply Reply Quote 1
          • TroshinDVT Offline
            TroshinDV
            last edited by

            @Alan-Kilborn said in How to write a plugin:

            I write most of my C/C++ code using Notepad++, only turning to something like Visual Studio to do a build of the code.

            What plugins do you use for code completion or codejumping?

            Michael VincentM 1 Reply Last reply Reply Quote 0
            • Michael VincentM Online
              Michael Vincent @TroshinDV
              last edited by

              @Дмитрий-Трошин said in How to write a plugin:

              What plugins do you use for code completion or codejumping?

              I use Notepad++ completion Settings => Preferences => Auto-Completion. It’s not ideal and only works on the local file - it’s not Intelli-Sense, but suffices for most my simple programming needs. For code navigation, I use a modified TagLEET.

              Cheers.

              TroshinDVT 1 Reply Last reply Reply Quote 1
              • Makwana PrahladM Offline
                Makwana Prahlad Banned
                last edited by Makwana Prahlad

                Hello,@PlayerXYT
                Please follow this step, On how to write a plugin.

                Step 1:- Download and unzip the latest release of Notepad++ Plugin Template.
                Step 2:- Open NppPluginTemplate.vcproj in your Visual Studio.
                Step 3:- Define your plugin name in PluginDefinition.h
                Step 4:- Define your plugin commands number in PluginDefinition.h
                Step 5:- Customize plugin commands names and associated function names in PluginDefinition.cpp.
                Step 6:- Define the associated functions.

                I hope this information will be useful to you.
                Thank you.

                1 Reply Last reply Reply Quote 0
                • cmeriauxC Offline
                  cmeriaux
                  last edited by

                  Hello,
                  I suggest you to use the fabulous template generator by dail8859
                  https://github.com/dail8859/cookiecutter-npp-cpp-plugin

                  Alan KilbornA 1 Reply Last reply Reply Quote 1
                  • AZJIO AZJIOA Offline
                    AZJIO AZJIO
                    last edited by

                    template on PureBasic. Links to ready-made examples
                    https://www.purebasic.fr/english/viewtopic.php?p=535003#p535003

                    1 Reply Last reply Reply Quote 0
                    • Alan KilbornA Offline
                      Alan Kilborn @cmeriaux
                      last edited by

                      @cmeriaux said in How to write a plugin:

                      Hello,
                      I suggest you to use the fabulous template generator by dail8859
                      https://github.com/dail8859/cookiecutter-npp-cpp-plugin

                      Just to say, I already linked to that earlier in the thread.

                      1 Reply Last reply Reply Quote 1
                      • TroshinDVT Offline
                        TroshinDV @Michael Vincent
                        last edited by

                        @Michael-Vincent said in How to write a plugin:

                        I use Notepad++ completion Settings => Preferences => Auto-Completion. It’s not ideal and only works on the local file - it’s not Intelli-Sense, but suffices for most my simple programming needs. For code navigation, I use a modified TagLEET.

                        This is sometimes not enough, maybe.

                        1 Reply Last reply Reply Quote 0

                        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