Toggle Markdown Viewer++ plugin on startup
-
Is there currently a way to toggle on or run the markdown viewer++ plugin on startup?
-
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. :-(
-
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. -
@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.
-
@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
-
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. -
@rdipardo Yes, I’m also using the portable version.
Noted on that, will look into this more. Thanks again for the add. info.
-
-