Page 1 of 1

Notepad++ Expansions for ManiaScript

Posted: 17 Aug 2012, 11:29
by Banane9
So 2 days ago i found magnetiks ManiaScript highlighter for Notepad++. Of course I immeditally tried it, but it pretty much didn't color anything. So I decided to edit it myself and with the help from macximilian from the german community (like me), it now features all the words in ManiaScript :)
The highlighter is available on GitHub here: https://github.com/Banane9/notepadplusplus-maniascript
You need to download the .xml file. Everything else is explained there :D

I'm also making a AutoComplete API,
which is also vailable on GitHub here: https://github.com/Banane9/notepadplusp ... ipt-plugin
It's ment to show all the Classes and Variables/Functions/Enumerators of them :)
Though in the moment of posting this im only at CBlockUnit (in alphybetical order of the class names).
You can still try it though :)

If you like it please comment :D

Re: Notepad++ Expansions for ManiaScript

Posted: 20 Aug 2012, 16:20
by TMarc
good idea, but you named both files the same!? one has to download and install them separately ;)

Re: Notepad++ Expansions for ManiaScript

Posted: 27 Aug 2012, 15:22
by magnetik
His changes has been sended to my repository, so we have the same things now !

Have fun using it :yes:

Re: Notepad++ Expansions for ManiaScript

Posted: 11 Dec 2012, 14:47
by magnetik
I've merged another repo and triple quotes string are working now !

Re: Notepad++ Expansions for ManiaScript

Posted: 07 Aug 2014, 16:07
by tcq
I'm using notepad++ v6.6.8 on windows 7 and when I try to import the ManiasScript.xml over Language-> define your language -> import, I get the error "fail to import".
I tried it with both *.xml files which were available under the following two links, but neither of them worked.
https://github.com/magnetik/notepadplusplus-maniascript => last changed two years ago
https://github.com/Banane9/notepadplusplus-maniascript => last changed two days ago

Any idea what I'm doing wrong?

Edit: fixed the wrong link to Banane9's repository.

Re: Notepad++ Expansions for ManiaScript

Posted: 07 Aug 2014, 19:48
by TMarc
you need to use the raw files, and not the files github is displaying ;)

E.g. https://raw.githubusercontent.com/magne ... script.xml
I just tried it, import works fine. But I had to close NPP and restart it to have ManiaScript visible at the bottom in the Language menu. With a script e.g. from the dedicated server, setting the language to ManiaScript works fine then.
But I could not make it automatically select the ManiaScript language when opening a .Script.txt file. :|

Re: Notepad++ Expansions for ManiaScript

Posted: 07 Aug 2014, 19:56
by tcq
Thx, now it worked fine :)

Re: Notepad++ Expansions for ManiaScript

Posted: 08 Aug 2014, 09:39
by magnetik
You can actually find latest version on ManiaPlanet repo : https://github.com/maniaplanet/notepadp ... aniascript

Re: Notepad++ Expansions for ManiaScript

Posted: 08 Aug 2014, 11:22
by tcq
Thank you for the information, didn't know about that repository.