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
isVisibleattribute 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=yesI’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 : ONin the dialog at? > Debug Info.)Even then, only certain plugins respond to the
isVisibleattribute. 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.
-
B BlitzCoder referenced this topic on
-
R rdipardo referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login