Community
    • Login

    Notepad++ Plugin development

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    8 Posts 3 Posters 1.7k 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.
    • Guenther SohlerG Offline
      Guenther Sohler
      last edited by

      Hi Group,

      I’d like to start Notepad++ Plugin development because i believe, that notepad++ is a great editor and all folks use it.
      So i started one month ago from scratch following the Plugin Development instructions.
      For that i used Visual Studio 2019 and file plugintemplate-3.1.zip
      But Visual Studio did not like the NppPluginTemplate.vcxproj.
      Finally i succeeded downloading a really old Template which i found in a youtube video and i got a resulting dll.(after manually fixinging my vs installation, adding lib.exe)
      However it was 32bit and my Notepad++(64bit) would not load.

      Could you please update the plugin development instructions and make them idiot-proof ?
      I would really like to dive into that …
      Thank you

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

        Hello,
        You may try the fabulous cookie cutter tools
        https://github.com/dail8859/cookiecutter-npp-cpp-plugin

        1 Reply Last reply Reply Quote 3
        • Guenther SohlerG Offline
          Guenther Sohler
          last edited by

          Hi,
          Thank you for the cookiecutter hint.
          I used it and installed it, but I cannot find the the sln file in my computer.
          Where is it ?

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

            it’s on the root folder.

            1 Reply Last reply Reply Quote 2
            • Guenther SohlerG Offline
              Guenther Sohler
              last edited by

              Yes i found it in the meantime, thank you
              Now i have my Notepad++ Plugin available inside Visual Studio 2017,
              but it does not compile because there are no headers installed with
              Visual Studio C compiler.
              Which Component is missing to get the headers ? i cant sort it out.

              Thank you

              EkopalypseE 1 Reply Last reply Reply Quote 0
              • EkopalypseE Offline
                Ekopalypse @Guenther Sohler
                last edited by

                @Guenther-Sohler

                Which header files are missing?
                The last time I used the cookiecutter, it created all the files,
                needed from Npp’s point of view, accordingly.

                1 Reply Last reply Reply Quote 0
                • Guenther SohlerG Offline
                  Guenther Sohler
                  last edited by

                  Hi,
                  Thank you for your attention.
                  I am missing ALL included files. I could not find any header files in my VS2017 installation.
                  Thee Header files which i am actually missing) is:

                  ctype.h (included from winnt.h)
                  stddef.h (included from sci_position.h)

                  My VS 2017 is installed in C:\Program Files (x86)\Microsoft Visual Studio\2017

                  What is the correct place to source these include files from ?

                  Thanks again!

                  EkopalypseE 1 Reply Last reply Reply Quote 0
                  • EkopalypseE Offline
                    Ekopalypse @Guenther Sohler
                    last edited by

                    @Guenther-Sohler

                    thit sounds like that you did not select an SDK when you installed Visual Studio, could that be?

                    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