Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to write a plugin

    Plugin Development
    8
    13
    4121
    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 Kilborn
      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
      • linpengcheng
        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
        • linpengcheng
          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
          • TroshinDV
            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 Vincent 1 Reply Last reply Reply Quote 0
            • Michael Vincent
              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.

              TroshinDV 1 Reply Last reply Reply Quote 1
              • Makwana Prahlad
                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
                • cmeriaux
                  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 Kilborn 1 Reply Last reply Reply Quote 1
                  • AZJIO AZJIO
                    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 Kilborn
                      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
                      • TroshinDV
                        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
                        • First post
                          Last post
                        Copyright © 2014 NodeBB Forums | Contributors