Community
    • Login

    Toggle Markdown Viewer++ plugin on startup

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 724 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.
    • BlitzCoderB
      BlitzCoder
      last edited by

      Is there currently a way to toggle on or run the markdown viewer++ plugin on startup?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @BlitzCoder
        last edited by

        @BlitzCoder ,

        Notepad++ is not going to have a way to remember the exact state of every possible plugin; it is up to the plugins themselves to initialize themselves to a reasonable state when Notepad++ starts up.

        You could ask the maintainer of Markdown Viewer++ to implement an option to have it show the panel on startup using the Markdown Viewer++ issues page … but it looks like the author hasn’t made any updates since 2018, so it’s not likely to happen. Sorry to be the bearer of bad news. :-(

        rdipardoR BlitzCoderB 2 Replies Last reply Reply Quote 0
        • rdipardoR
          rdipardo @PeterJones
          last edited by rdipardo

          Notepad++ is not going to have a way to remember the exact state of every possible plugin . . .

          Isn’t that what the “Docking Manager” is for? When a docked panel is left open at shutdown, Notepad++ saves the size and position in config.xml, for example:

          <!-- %APPDATA%\Notepad++\config.xml -->
          <NotepadPlus>
              <GUIConfigs>
                  <!-- . .  . -->
                  <GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
                      <PluginDlg pluginName="NppMarkdownPanel" id="1" curr="1" prev="-1" isVisible="yes" />
                      <PluginDlg pluginName="JSMinNPP.dll" id="0" curr="0" prev="-1" isVisible="yes" />        
                      <PluginDlg pluginName="dbgpPlugin.dll" id="0" curr="3" prev="-1" isVisible="no" />
                      <ActiveTabs cont="0" activeTab="0" />
                      <ActiveTabs cont="1" activeTab="-1" />
                      <ActiveTabs cont="2" activeTab="-1" />
                      <ActiveTabs cont="3" activeTab="-1" />
                  </GUIConfig>
              </GUIConfigs>
          </NotepadPlus>
          

          I’m not sure when it became a feature, but the latest version automatically displays every panel whose isVisible attribute is set to "yes" at application startup.

          BlitzCoderB 1 Reply Last reply Reply Quote 2
          • BlitzCoderB
            BlitzCoder @PeterJones
            last edited by

            @PeterJones No worries and yes, it seems that the plugin is no longer maintained.

            I see there’s the almost forked version Markdown Panel which still is and recent update is last month.

            1 Reply Last reply Reply Quote 0
            • BlitzCoderB
              BlitzCoder @rdipardo
              last edited by

              @rdipardo Thanks for the tip, but it seems to have no effect if I set it to isVisible=yes

              I’m using the latest version 8.4.3

              rdipardoR 1 Reply Last reply Reply Quote 0
              • rdipardoR
                rdipardo @BlitzCoder
                last edited by

                Sorry to mislead you. What I described seems to be true for portable versions only. (Look for Local Conf mode : ON in the dialog at ? > Debug Info.)

                Even then, only certain plugins respond to the isVisible attribute. Among the few I tried, DBGp consistently does it — annoyingly, since it opens a TCP socket at the same time.

                BlitzCoderB 1 Reply Last reply Reply Quote 1
                • BlitzCoderB
                  BlitzCoder @rdipardo
                  last edited by

                  @rdipardo Yes, I’m also using the portable version.

                  Noted on that, will look into this more. Thanks again for the add. info.

                  1 Reply Last reply Reply Quote 0
                  • BlitzCoderB BlitzCoder referenced this topic on
                  • rdipardoR rdipardo referenced this topic on
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors