Sehrentos Posted October 27, 2014 Posted October 27, 2014 (edited) Defined rAthena NPC scripting language for Notepad++. Link: https://github.com/Sehrentos/rAthena-syntax-highlight Keywords contents NPC script commands. Constants from db/const.txt How to add to Notepad++? Open your Notepad++ and go to the Language > Define your language... > Import. Use default styles in the Settings > Style Configurator > Select theme: Default. Or you can download example style theme /themes/rAthenaWhite.xml and import it Settings < Import < Import style theme(s).... Restart Notepad++ after changing language or styles. Make a new style theme or edit existing one: Make a new theme by copying stylers.xml in %APPDATA%\Notepad++ and rename it for your theme and edit it. Save it in %APPDATA%\Notepad++\themes folder. Restart Notepad++ after edit. Auto-completion Copy APIs/rathena.xml to Notepad++ installation folder APIs/rathena. Open menu Settings > Preferences... > Auto-Completion tab, check "Enable auto-completion on each input". Restart Notepad++. Sources: rAthena Script Commands rAthena Constants Happy editing Image: Thanks, @Cydh for auto-completion Edited April 1, 2016 by Sehrentos 5 Quote
nanakiwurtz Posted December 26, 2014 Posted December 26, 2014 Well, I used Obsidian theme, and the color gets mixed, how can I fix it? Quote
15peaces Posted December 27, 2014 Posted December 27, 2014 I've made one some time ago, too. However mine is not for rAthena only and not finnished yet ^^ http://15peaces.com/blog/index.php/sunshine-ro-script/ Quote
Sehrentos Posted April 20, 2015 Author Posted April 20, 2015 (edited) I've made one some time ago, too. However mine is not for rAthena only and not finnished yet ^^ http://15peaces.com/blog/index.php/sunshine-ro-script/ This looks nice. Thanks for the info @nanakiwurtz Yeah, sorry for slow reply on this. When using other themes you need to create a new theme for each one. styler.xml at "AppData\Roaming\Notepad++" But it seems you already did that on your forked version. Edited April 20, 2015 by Sehrentos Quote
nanakiwurtz Posted April 22, 2015 Posted April 22, 2015 @@Sehrentos: But I still have no idea if I do the import theme correctly, I just make a copy of my styler.xml on my fork Quote
Sehrentos Posted April 23, 2015 Author Posted April 23, 2015 (edited) @@nanakiwurtz: Yes you are doing it right. Both ways work just fine. Make a new theme by copying stylers.xml in (C:\Users\<user>\AppData\Roaming) and rename it for your theme and edit it. Save it in themes folder. Import a theme by using notepad++'s import theme tool at settings menu. Edited April 23, 2015 by Sehrentos Quote
Cydh Posted April 23, 2015 Posted April 23, 2015 can I make a PR for auto-completion? https://github.com/Sehrentos/rAthena-syntax-highlight/pull/1and currently I'm testing for parameter hints, but seems my current NPP won't show any hints from any languages. xD 1 Quote
Sehrentos Posted April 23, 2015 Author Posted April 23, 2015 (edited) can I make a PR for auto-completion? https://github.com/Sehrentos/rAthena-syntax-highlight/pull/1 and currently I'm testing for parameter hints, but seems my current NPP won't show any hints from any languages. xD Sure thing, merged Hmm yeah hints not working. Would be nice thou Function list next in todo: http://notepad-plus-plus.org/features/function-list.html Edited April 26, 2015 by Sehrentos Quote
Cydh Posted April 24, 2015 Posted April 24, 2015 Another PR, styling. Changes, as pictures below Makes comments in italic Added TODO, FIXME, CHECKME, and BUG as Delimiter3 with red-bold-colored Added prefix & extras for number to recognize hexa number Quote
Nova Posted April 24, 2015 Posted April 24, 2015 Just started using this, makes everything so much easier to read. 1 Quote
Cydh Posted April 25, 2015 Posted April 25, 2015 another PR, just added continue to the keywords Quote
Sehrentos Posted April 26, 2015 Author Posted April 26, 2015 Thanks @Cydh, i will be merging these changes too Quote
Cydh Posted April 26, 2015 Posted April 26, 2015 afaik, function list only listing the function that used in a file.Somehow I interested in snippets, just double-click the entry in snippets and the function will be added. but can't find any clue how to add custom snippets yet, and built-in snippets by Npp is closed source hmm this one? https://github.com/ffes/nppsnippets EDIT:in progress, this is using that plugin (Snippets) just need to add custom library for their NppSnippets.sqlite any suggestion? maybe grouping like Party - <command name> - <Desc> Party - <command name> - <Desc> Guild - <command name> - <Desc> Guild - <command name> - <Desc> Item - <command name> - <Desc> Item - <command name> - <Desc> barely done, using RegEx Quote
Sehrentos Posted April 27, 2015 Author Posted April 27, 2015 (edited) Looks interesting, good idea. Don't have any new suggestions on it yet Edited April 27, 2015 by Sehrentos Quote
XDXDMAN Posted April 29, 2015 Posted April 29, 2015 (edited) I don't import.... "fail to import"..... Ok...done. Edited April 29, 2015 by XDXDMAN Quote
Cydh Posted July 21, 2018 Posted July 21, 2018 (edited) just in case some still follow this topic and project, I just pushed new changes and make a new PR https://github.com/Sehrentos/rAthena-syntax-highlight/pull/6 just a random sample from rAthena script about the NppSnippets plugin, I don't know what state on my last changes back then (3 years ago) so that's why I never make it public. xD Edited July 21, 2018 by Cydh 1 1 Quote
sikiro Posted July 25, 2018 Posted July 25, 2018 hey @Cydh ive used this for a while to help me edit scripts would it be possible to make it work with this dark theme https://github.com/Ludomancer/VS2015-Dark-Npp cause white makes my eyes bleed it works however all code is highlited in white. Quote
Cydh Posted July 26, 2018 Posted July 26, 2018 (edited) Updates and folding fixed in https://github.com/Sehrentos/rAthena-syntax-highlight/pull/7 7 hours ago, sikiro said: hey @Cydh ive used this for a while to help me edit scripts would it be possible to make it work with this dark theme https://github.com/Ludomancer/VS2015-Dark-Npp cause white makes my eyes bleed it works however all code is highlited in white. @sikiro you can try this, just made, didn't add to main repo yet for testing purpose https://github.com/cydh/rAthena-syntax-highlight/blob/cydh-devel/rAthena-VS2015-Dark.xml NOTE: It's not NPP theme, it's just recolor, if you want to stick this as "rathena user-defined language", you have to remove the 'white'-ver first then import that file. Edited July 26, 2018 by Cydh 2 Quote
Sehrentos Posted July 26, 2018 Author Posted July 26, 2018 1 hour ago, Cydh said: Updates and folding fixed in https://github.com/Sehrentos/rAthena-syntax-highlight/pull/7 Thank you for the updates! Quote
ZelosAvalon Posted May 2, 2020 Posted May 2, 2020 doesn't work anymore, does anyone have one that works? Quote
15peaces Posted May 3, 2020 Posted May 3, 2020 I didn't update it for a long time, but it should be still working. https://15peaces.com/blog/index.php/sunshine-ro-script/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.