Sehrentos Posted October 27, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted December 25, 2014 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted December 25, 2014 thank for sharing Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted December 26, 2014 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted December 26, 2014 Well, I used Obsidian theme, and the color gets mixed, how can I fix it? Quote Link to comment Share on other sites More sharing options...
15peaces Posted December 27, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 143 Reputation: 8 Joined: 02/11/13 Last Seen: 2 hours ago Share 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 Link to comment Share on other sites More sharing options...
Sehrentos Posted April 20, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
nanakiwurtz Posted April 22, 2015 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share 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 Link to comment Share on other sites More sharing options...
Sehrentos Posted April 23, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted April 23, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Sehrentos Posted April 23, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted April 24, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Nova Posted April 24, 2015 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 265 Reputation: 96 Joined: 09/30/14 Last Seen: May 15, 2024 Share Posted April 24, 2015 Just started using this, makes everything so much easier to read. 1 Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 25, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted April 25, 2015 another PR, just added continue to the keywords Quote Link to comment Share on other sites More sharing options...
Sehrentos Posted April 26, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share Posted April 26, 2015 Thanks @Cydh, i will be merging these changes too Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 26, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Sehrentos Posted April 27, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
XDXDMAN Posted April 29, 2015 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 13 Reputation: 1 Joined: 12/24/11 Last Seen: March 30, 2024 Share Posted April 29, 2015 (edited) I don't import.... "fail to import"..... Ok...done. Edited April 29, 2015 by XDXDMAN Quote Link to comment Share on other sites More sharing options...
Darknessfmy Posted December 30, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 78 Reputation: 12 Joined: 05/08/16 Last Seen: February 10, 2020 Share Posted December 30, 2016 Thank you ^^ Quote Link to comment Share on other sites More sharing options...
Cydh Posted July 21, 2018 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
sikiro Posted July 25, 2018 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 171 Reputation: 16 Joined: 01/26/12 Last Seen: January 1, 2024 Share 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 Link to comment Share on other sites More sharing options...
Cydh Posted July 26, 2018 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share 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 Link to comment Share on other sites More sharing options...
Sehrentos Posted July 26, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 91 Reputation: 22 Joined: 10/24/14 Last Seen: November 1, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
ZelosAvalon Posted May 2, 2020 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: November 8, 2022 Share Posted May 2, 2020 doesn't work anymore, does anyone have one that works? Quote Link to comment Share on other sites More sharing options...
15peaces Posted May 3, 2020 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 143 Reputation: 8 Joined: 02/11/13 Last Seen: 2 hours ago Share 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 Link to comment Share on other sites More sharing options...
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.