Has anyone else here customized notepad to display the plotscripting language differently?
If so what have you done that you find helpful.
Attached is an example of what mine looks like.
I color in everything within parentheses so I know when they stop and end correctly. Very helpful when you have multiple layers nesting within each other and you get the, "your script may have an additional ( or begin" error message.
I also set up #--V and #--^ to act as folding. I was originally going to set up script/plotscript as the folding code, but I couldn't use the keyword end because it gets used elsewhere.I also just find it much cleaner to have the folding element complete separated out.
Other than that I've just highlighted certain keywords I try to keep track of.
I exported the notepad++ file here if you'd like to give it a look.
https://spoonweaver.000webhostapp.com/plotscript.xml
right click, save as
File does assume you've changed your notepad++ background to black.
Plotscript formatting in Notepad++
Moderators: Bob the Hamster, marionline, SDHawk
- Spoonweaver
- Liquid Metal King Slime
- Posts: 6461
- Joined: Mon Dec 08, 2008 7:07 am
- Contact:
Plotscript formatting in Notepad++
- Attachments
-
- script theme.png (9.31 KiB) Viewed 1653 times
Last edited by Spoonweaver on Fri Jan 19, 2018 2:29 am, edited 1 time in total.
Ichiro and Newbie had created definition files for Notepad++ as well. I'm not a Notepad++ user, but I tried to combine their files and put it on the wiki:
http://rpg.hamsterrepublic.com/ohrrpgce ... rspeak.zip
IIRC, the code folding uses begin/end, maybe also (/), but I think it didn't always work properly.
Feel free to link to your definition file from http://rpg.hamsterrepublic.com/ohrrpgce ... ting_Tools as an alternative or upload it to the wiki.
I use emacs, and have started writing an emacs mode for HS, but haven't gotten very far yet. It doesn't offer much beyond syntax highlighting.
http://rpg.hamsterrepublic.com/ohrrpgce ... rspeak.zip
IIRC, the code folding uses begin/end, maybe also (/), but I think it didn't always work properly.
Feel free to link to your definition file from http://rpg.hamsterrepublic.com/ohrrpgce ... ting_Tools as an alternative or upload it to the wiki.
I use emacs, and have started writing an emacs mode for HS, but haven't gotten very far yet. It doesn't offer much beyond syntax highlighting.
Last edited by TMC on Fri Jan 19, 2018 4:29 am, edited 1 time in total.