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 » 17 Aug 2012, 11:29

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: 15104
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by TMarc » 20 Aug 2012, 16:20

good idea, but you named both files the same!? one has to download and install them separately ;)
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia RTX 2060 6GB, Creative SB X-Fi, 2xSSD 1xHDD

User avatar
magnetik
Nadeo
Nadeo
Posts: 1677
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik » 27 Aug 2012, 15:22

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
Nadeo
Nadeo
Posts: 1677
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik » 11 Dec 2012, 14:47

I've merged another repo and triple quotes string are working now !
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!

tcq
Posts: 2712
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post by tcq » 07 Aug 2014, 16:07

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: 15104
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by TMarc » 07 Aug 2014, 19:48

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. :|
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia RTX 2060 6GB, Creative SB X-Fi, 2xSSD 1xHDD

tcq
Posts: 2712
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post by tcq » 07 Aug 2014, 19:56

Thx, now it worked fine :)

User avatar
magnetik
Nadeo
Nadeo
Posts: 1677
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Notepad++ Expansions for ManiaScript

Post by magnetik » 08 Aug 2014, 09:39

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: 2712
Joined: 15 Jun 2010, 11:02

Re: Notepad++ Expansions for ManiaScript

Post by tcq » 08 Aug 2014, 11:22

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 1 guest