Actions

Npp tools: Difference between revisions

(Created new page)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
__NOTOC__
__NOTOC__


=General=
== Explenation<br>  ==
'''Page Display Title'''
Notepad++ is a powerful text editor that implements some basic tagging and formatting that gives it some limited IDE Functionality. It is equipped with many languages by default and can format their text automatically based on the file extension. It also allows you to create your own User Defined Languages (UDLs) to format other filetypes in a custom manner. This page includes two UDLs for viewing MIB files in NotePad++, both UDLs are identical in function but one has the colors modified for better viewing for those who prefer Notepad++'s 'darkmode' view.
It is recommended that <pre>{{DISPLAYTITLE:<title name>}}</pre> is inserted at the start of every article. This will enable you to define a display title that may differ from the url of the article. This will also improve on searches when the title of the page is entered as search criteria.


=Header Tabs=
== Installation<br> ==
[[Image:TbWikiStyle1.png]]
* For installation open your UserDefinedLanguage folder, generally found at: <pre>.\AppData\Roaming\Notepad++\userDefineLangs</pre>
To create a page with tabbed content, do the following:


* Or find it via the NotePad++ drop down menu under: <pre>Languages -> User Defined Languages -> Open User Defined Language Folder</pre>


* At the top of a page, enter <pre>__NOTOC__</pre>
* Unzip the zipped folder below and find two .xml files 'userDefineLang-MIB.xml' for Lightmode users, and 'userDefineLang-MIB-DM.xml' for Darkmode users.
* For every tab header, use one equal sign before and after the header name. Then enter your content. '''Do not use <pre>==</pre> or <pre>===</pre> for lower level headers.'''
* To make tabbed headers work, at the end of the article enter <pre><headertabs/></pre>
* If you want to return the user to a tab on another page, and have a specific tab highlighted, enter
<pre>{{#switchtablink:<tab name>|<Link text>|<Page Name}}</pre>
as in
<pre>{{#switchtablink:System|Return to Web Portal 3.1 Home Page|Sbc_Tutorial_Guide_v3.1}}</pre>


* Copy both, or just the desired UDL from that zipped folder into the UserDefinedLanguage folder mentioned above.


* Restart your Notepad++ Application


[[Toolpack:Tsbc_System_Settings_3.1|Use this page as an example of Tabbed Headers]]
* Open the desired file and apply the language through the same menu. <pre>Languages -> MIB/MIB (Dark Mode)</pre>


<headertabs/>
For more information please reference: [https://npp-user-manual.org/docs/user-defined-language-system/ Notepad++ User Manual on UDLs]
 
 
 
[[Media:UDL-MIB.zip|User Defined Languages Light Mode and DarkMode]]

Latest revision as of 22:22, 19 May 2022



Explenation

Notepad++ is a powerful text editor that implements some basic tagging and formatting that gives it some limited IDE Functionality. It is equipped with many languages by default and can format their text automatically based on the file extension. It also allows you to create your own User Defined Languages (UDLs) to format other filetypes in a custom manner. This page includes two UDLs for viewing MIB files in NotePad++, both UDLs are identical in function but one has the colors modified for better viewing for those who prefer Notepad++'s 'darkmode' view.

Installation

  • For installation open your UserDefinedLanguage folder, generally found at:
    .\AppData\Roaming\Notepad++\userDefineLangs
  • Or find it via the NotePad++ drop down menu under:
    Languages -> User Defined Languages -> Open User Defined Language Folder
  • Unzip the zipped folder below and find two .xml files 'userDefineLang-MIB.xml' for Lightmode users, and 'userDefineLang-MIB-DM.xml' for Darkmode users.
  • Copy both, or just the desired UDL from that zipped folder into the UserDefinedLanguage folder mentioned above.
  • Restart your Notepad++ Application
  • Open the desired file and apply the language through the same menu.
    Languages -> MIB/MIB (Dark Mode)

For more information please reference: Notepad++ User Manual on UDLs


User Defined Languages Light Mode and DarkMode