Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Topic started by: Helepolis on May 16, 2016, 04:11:00 PM

Title: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Helepolis on May 16, 2016, 04:11:00 PM
Danmakufu and Notepad++ Style Configuration
A very small text tutorial for Notepad++ to give variables, keyword, parentheses and such different colours. If you want to use a specific styling colour for your danmakufu scripts then try the following:

The easy way:
- Open Notepad++
- Go to: Settings > Style Configurator
- Select C# or desired style and at the bottom left, add the file extension to the list. Each one seperated by a space.
[attach=1]
- Save and close
- Close Notepad++

Opening the assigned file type with Notepad++ will auto-load the requested style.


The hard way (for next level scripters with Windows 7+ (joke))
- Close Notepad++ (if open)
- Make sure hidden folders are enabled
- Browse to C:\Users\<yourpersonalfolder>\AppData\Roaming\Notepad++
- Open langs.xml
- Find the desired style to append. For example C# is 'cs'
- Add the file extention to the list and save the xml.

Opening the assigned file type with Notepad++ will auto-load the requested style.
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Failure McFailFace on May 20, 2016, 03:17:27 AM
Would there be some sort of Atom package for Danmakufu? It's become my main code editor now...
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Sparen on May 20, 2016, 03:23:41 PM
Would there be some sort of Atom package for Danmakufu? It's become my main code editor now...

Drake has made a Sublime package and he mentioned the possibility of an Atom package, but that mention was at least a year ago.
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Drake on May 21, 2016, 11:02:47 AM
https://www.shrinemaiden.org/forum/index.php/topic,16965.msg1259121.html#msg1259121

merry christmas
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Helepolis on May 21, 2016, 11:56:42 AM
Added to the information thread.
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Failure McFailFace on May 21, 2016, 12:57:45 PM
https://www.shrinemaiden.org/forum/index.php/topic,16965.msg1259121.html#msg1259121

merry christmas
Thanks, Drake!
Title: Re: Tutorial Danmakufu and Notepad++ Style Configuration
Post by: Arcorann on May 22, 2016, 07:06:13 AM
I should point out that someone here has already made a Danmakufu-specific package for Notepad++ (https://www.shrinemaiden.org/forum/index.php/topic,18133.msg1170486.html) - once this is installed the style can be configured through the User-Defined Languages screen (Language > Define your language...).