Dark Forest Crow Notes - Interactive fiction, text-interactions based and roleplaying games

Sunday, September 4, 2016

Notepad++ custom syntax highlighting tutorial (ChoiceScript example)

I recently noticed that it's not such a rare case when writers of IF (I mean writers, not software developers) use tools like ChoiceScript that have no decent (free) text editors. Those guys can produce 50000+ words per game and it's a pain for them to debug tons of pseudocode without any help from their text editors, even without such simple things like syntax highlighting. 

When I have no time to search for special software for editing texts or code, I use Notepad++.

This tutorial contains two parts:

1.) The first part in which you will just download and install my own style sheet for Notepad++

2.) The second part that will explain you how to create your own style. This part is based on the first one.

You can choose your way of completing this quest ;)

So, let's get started.

1.) Easy way.

1.1.) Download my style file.

1.2.) Open Notepad++ and go to 'Language'.

1.3.) Go to 'Define your own language'.

1.4.) Press 'Import...' button and choose my style file that you downloaded on the step 1.1.

1.5.) Go to 'Keywords List'

1.6.) If everything is okay, you will see something like this:

If everything is not okay...well, unlucky! Try to use the way of pros in the part 2 of this tutorial.

1.7.) Save installed style sheet (I used name 'test123').

1.8.) Choose installed stylesheet here.

1.9.) Your files with ChoiceScript code will look like this:


2.) The way of pros.

- Perform step 1.2 from the part 1: Open Notepad++ and go to 'Language' menu

- Perform step 1.3 from the part 1: Go to 'Define your own language'

- Skip step 1.4 and perform step 1.5: Go to 'Keywords List'

You will see this window with empty fields:

Please, refer to the image above for the additional instructions.
You can add as many ChoiceScript keywords as you want. Press 'Styler' buttons to setup keywords colors.

- Save your style sheet: check step 1.7.

Choose installed stylesheet: step 1.8. That's all!

I hope this mini-guide will help you. If something didn't work, leave a comment!


  1. This comment has been removed by the author.

    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai


  2. I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up and a i also want to share some information regarding online selenium training and selenium videos