• Login
Community
  • Login

Notepad++ Plugin development

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
8 Posts 3 Posters 662 Views
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.
  • G
    Guenther Sohler
    last edited by Jun 3, 2020, 5:59 AM

    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
    • C
      cmeriaux
      last edited by Jun 3, 2020, 6:19 AM

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

      1 Reply Last reply Reply Quote 3
      • G
        Guenther Sohler
        last edited by Jun 3, 2020, 9:37 AM

        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 ?

        C 1 Reply Last reply Jun 3, 2020, 2:27 PM Reply Quote 0
        • C
          cmeriaux @Guenther Sohler
          last edited by Jun 3, 2020, 2:27 PM

          it’s on the root folder.

          1 Reply Last reply Reply Quote 2
          • G
            Guenther Sohler
            last edited by Jun 23, 2020, 9:26 AM

            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

            E 1 Reply Last reply Jun 23, 2020, 11:06 AM Reply Quote 0
            • E
              Ekopalypse @Guenther Sohler
              last edited by Jun 23, 2020, 11:06 AM

              @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
              • G
                Guenther Sohler
                last edited by Jun 25, 2020, 2:28 PM

                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!

                E 1 Reply Last reply Jun 26, 2020, 9:38 AM Reply Quote 0
                • E
                  Ekopalypse @Guenther Sohler
                  last edited by Jun 26, 2020, 9:38 AM

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