• Login
Community
  • Login

Creating a custom toolbar.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 1.8k 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.
  • H
    Hatschipuh
    last edited by Apr 15, 2023, 11:34 AM

    I would like to create my own toolbar with custom icons. When clicking on an icon, for example, the Pork to Sausage Plugin should become active. I would like to create my own “HTML toolbar” to format text in bold, insert a link or other code snippets. Is it possible to implement this? Maybe I would also like to create multiple toolbars for different purposes.

    P K 2 Replies Last reply Apr 15, 2023, 4:32 PM Reply Quote 0
    • P
      PeterJones @Hatschipuh
      last edited by Apr 15, 2023, 4:32 PM

      @Hatschipuh said in Creating a custom toolbar.:

      I would like to create my own toolbar with custom icons. When clicking on an icon, for example, the Pork to Sausage Plugin should become active. I would like to create my own “HTML toolbar” to format text in bold, insert a link or other code snippets. Is it possible to implement this? Maybe I would also like to create multiple toolbars for different purposes.

      There already exist plugins that have HTML Toolbars – look through the Plugins Admin list, and try some of the “HTML” plugins out.

      If you just want to customize the existing toolbar, the Customize Toolbar plugin allows you to add commands from any of the menus (including any plugin’s menu command) into the main toolbar.

      if you want to create a new separate toolbar yourself, and add it to the Notepad++ interface, you would have to write a plugin to implement the toolbar and the features that it invokes.

      Resources for Writing Plugins

      • https://npp-user-manual.org/docs/plugins/
      • https://npp-user-manual.org/docs/plugin-communication/
      1 Reply Last reply Reply Quote 0
      • K
        Karlo-F @Hatschipuh
        last edited by Apr 17, 2023, 5:50 AM

        @Hatschipuh said in Creating a custom toolbar.:

        to format text in bold, insert a link or other code snippets.

        You can use plugin NppSnippets
        https://www.fesevur.com/nppsnippets/

        H 1 Reply Last reply Apr 17, 2023, 11:34 AM Reply Quote 0
        • H
          Hatschipuh @Karlo-F
          last edited by Apr 17, 2023, 11:34 AM

          @Karlo-F Wow the plugin NppSnippets is great!

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