Community
    • Login

    How to use?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    5 Posts 2 Posters 2.7k 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.
    • akinuriA
      akinuri
      last edited by

      Can you guys be more specific on how to use this? Following the instructions on Make your plugin in less 10 minutes didn’t do me any good.

      • I’ve downloaded plugintemplate-3.zip into Downloads folder on Windows 8.1 64-bit. Then unzipped it there.
      • Found the file named NppPluginTemplate.vcxproj in the folder vs.proj and opened it (double-click or Open with -> Visual Studio) with Visual Studio Community 2017. Now all I see it just an XML file opened in the VS.

      I don’t see Solution Explorer or Properties window. Am I supposed to do the mentioned changes inside the VS?

      • If so, I don’t see the mentioned files listed in the VS window. How do I do it?
      • If not, let’s say I’ve done the changes using a text editor. How do I compile it? I need to compile, right?

      Someone, please, enlighten me. And prefably, do it step by step.

      1 Reply Last reply Reply Quote 0
      • akinuriA
        akinuri
        last edited by

        I’ve also downloaded NppPlugin.NET.v0.5.zip and put it at
        C:\Users\%username%\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#, but it didn’t work. Is it not compatible with VS Community?

        1 Reply Last reply Reply Quote 0
        • chcgC
          chcg
          last edited by

          See https://github.com/npp-plugins/plugintemplate/releases, latest template is 3.1. You have to load the vcxproj file as VS C++ project. In this case a VS project should show up and not just the underlying xml of the vcxproj file.

          For a plugin in C# see https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net.

          1 Reply Last reply Reply Quote 0
          • akinuriA
            akinuri
            last edited by

            Oh, I feel silly now. I did not have C++ installed, only C#. Gonna install C++ and try it again.

            I have also visited the C# Plugin page you linked and downloaded the latest release (NppPlugin0.94.00.zip) and again put it in the Templates folder. I don’t see the Notepad++ Plugin listed in the Templates when creating a new project. Either the plugin isn’t compatible with the latest VSC or my OS/VS installation is faulty.

            So, can someone with the (latest) version of VS Community 2017 (15.2, 26430.15) verify that the C# plugin works with this version?

            1 Reply Last reply Reply Quote 0
            • akinuriA
              akinuri
              last edited by

              This is weird (or not). I’ve just installed C++ and now the C# Plugin showed up in the New Project window.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors