Notepad++ Expansions for ManiaScript

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
Banane9
Posts: 8
Joined: 17 Aug 2012, 11:12
Contact:

Notepad++ Expansions for ManiaScript

Post 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
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by TMarc »

good idea, but you named both files the same!? one has to download and install them separately ;)
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik »

His changes has been sended to my repository, so we have the same things now !

Have fun using it :yes:
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik »

I've merged another repo and triple quotes string are working now !
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
tcq
Posts: 2645
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post 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.
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Notepad++ Expansions for ManiaScript

Post 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. :|
tcq
Posts: 2645
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post by tcq »

Thx, now it worked fine :)
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik »

You can actually find latest version on ManiaPlanet repo : https://github.com/maniaplanet/notepadp ... aniascript
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
tcq
Posts: 2645
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post by tcq »

Thank you for the information, didn't know about that repository.
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests