• Login
Community
  • Login

New to Notepad++ Community

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
6 Posts 3 Posters 526 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.
  • U
    udaykumar dasararaju
    last edited by Jun 10, 2023, 8:25 PM

    Hello all,

    I’m new to this community and want to understand the code from scratch. Please share with me the resources & tools to understand the same.

    Regards,
    Uday Kumar

    M 1 Reply Last reply Jun 10, 2023, 8:37 PM Reply Quote 0
    • M
      Mark Olson @udaykumar dasararaju
      last edited by Jun 10, 2023, 8:37 PM

      @udaykumar-dasararaju
      If you’re trying to understand the source code of Notepad++, I recommend you check out:

      1. User Manual
      2. GitHub repo
      3. Scintilla documentation
      4. You might also look at various plugins to see how people interface with Notepad++ and the Scintilla editor component.

      I feel like the easiest way to begin to understand how Notepad++ works is to create a plugin or some PythonScript scripts.

      U 2 Replies Last reply Jun 11, 2023, 6:47 AM Reply Quote 1
      • U
        udaykumar dasararaju @Mark Olson
        last edited by Jun 11, 2023, 6:47 AM

        @Mark-Olson : Thank you so much Mark :)

        1 Reply Last reply Reply Quote 0
        • U
          udaykumar dasararaju @Mark Olson
          last edited by Jun 11, 2023, 6:57 AM

          @Mark-Olson : please help me with how to create a plugin (or) write python scripts for a person new to it ?

          P 1 Reply Last reply Jun 11, 2023, 5:22 PM Reply Quote 0
          • P
            PeterJones @udaykumar dasararaju
            last edited by PeterJones Jun 11, 2023, 5:24 PM Jun 11, 2023, 5:22 PM

            @udaykumar-dasararaju said in New to Notepad++ Community:

            please help me with how to create a plugin

            The links that @Mark-Olson already gave you are a great place to start. You have to understand the specifics in the User Manual – especially the section on How to Develop A Plugin , and the large page on the Plugin Communication: Messages and Notificiations , which include the core concepts and required interface to get a plugin to communicate with and use the features of Notepad++.

            The Scintilla documentation that he linked you to is also essential, because that gives you the details of how to interface with the editor component (ie, how to use your plugin to modify or access the text of the active tab).

            And looking at the source for other plugins will help you understand how successful plugins were implemented.

            And looking at the Notepad++ repository will help you see how Notepad++ reacts to the various Messages from plugins, or what the various Notifications mean.

            (or) write python scripts ?

            Follow our FAQ for installing the plugin and using a script. Read the help that comes with the plugin. Search the forum for the hundreds of example scripts that have been published in the forum over the years. Learn the Plugin Communication concepts and Scintilla concepts (which are the exact same concepts that PythonScript provides a wrapper around) that I linked to above.

            for a person new to it

            Do you mean “new to plugins and/or pythonscript in particular”? Or do you mean, “new to coding in general”? We cannot teach you to code here – that’s not the purpose of the forum. So if that’s what you want, you’re going to be disappointed by your results here. And if it’s just about Plugins or PythonScript, then @Mark-Olson’s answer already gave you pointers, and I’ve pointed out how his suggestions help you.

            1 Reply Last reply Reply Quote 3
            • M
              Mark Olson
              last edited by Jun 11, 2023, 6:47 PM

              To expand on what @PeterJones said, my general feeling about learning any kind of programming is that you will probably make better progress and gain a better understanding if you have some intrinsic motivation to do something.

              So I guess my advice is this: look for some aspect of Notepad++ or an existing that you don’t like. Spend some time thinking about whether you have an idea of how to make it better. Look at the documentation and see if you can see a reasonable way to implement your idea.

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