[Doc] How to setup your Notepad++ for LifePLay
Posted: Mon Dec 13, 2021 7:31 pm
First step:
If you haven't already done, you need to install Notepad++ on your PC.
Official website: https://notepad-plus-plus.org/downloads/
Notepad++ is a free source code editor and Notepad replacement that supports several languages.
Once Notepad++ is installed, you will need to open the folder: "C:\...\LifePlay_4_19_64bit\Docs\Modding\SyntaxHighlighter".
Inside this folder, you have 3 files (1 instruction file and 2 syntax files).
Their names are quite explicit:
LifePlaySyntaxNP : Clear version
LifePlaySyntaxNP_darkMode : Dark version
Installation of Syntax Highlighter
Go to the program menu : Language/Define your language
In the window that opens, click on "import". Find the .xml file and import it.
Import *either* the darkMode file or the normal file, not both!
Restart Notepad++ !
From now on, every LP file type you open will open with syntax highlighting enabled.
Last step:
Click on "Settings" and then click on "Preferences."
A window will open and in the first menu (far left), click on "Language".
Under Tabs, choose "[Default]" and below that box, change the "Size" to 4.
Also, make sure the "Insert spaces" box is checked.
If you haven't already done, you need to install Notepad++ on your PC.
Official website: https://notepad-plus-plus.org/downloads/
Notepad++ is a free source code editor and Notepad replacement that supports several languages.
Once Notepad++ is installed, you will need to open the folder: "C:\...\LifePlay_4_19_64bit\Docs\Modding\SyntaxHighlighter".
Inside this folder, you have 3 files (1 instruction file and 2 syntax files).
Their names are quite explicit:
LifePlaySyntaxNP : Clear version
LifePlaySyntaxNP_darkMode : Dark version
Installation of Syntax Highlighter
Go to the program menu : Language/Define your language
In the window that opens, click on "import". Find the .xml file and import it.
Import *either* the darkMode file or the normal file, not both!
Restart Notepad++ !
From now on, every LP file type you open will open with syntax highlighting enabled.
Last step:
Click on "Settings" and then click on "Preferences."
A window will open and in the first menu (far left), click on "Language".
Under Tabs, choose "[Default]" and below that box, change the "Size" to 4.
Also, make sure the "Insert spaces" box is checked.