Notepad++ Plugin development



  • 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



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



  • 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 ?



  • it’s on the root folder.



  • 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



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



  • 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!



  • @Guenther-Sohler

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


Log in to reply