Notepad++ Autocomplete XML

Notepad++ Autocomplete XML

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10239
Joined: 24 Jan 2006, 21:12

Notepad++ Autocomplete XML

Post by PicassoCT » 19 Jun 2016, 03:27

https://github.com/PicassoCT/SpringLuaM ... spring.xml

Fell sort of from the waggon when trying to autogenerate a mockup api
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14606
Joined: 17 Nov 2005, 02:43

Re: Notepad++ Autocomplete XML

Post by Forboding Angel » 20 Jun 2016, 02:51

Wow this is super cool! Is this all callins synced/unsynced?
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10239
Joined: 24 Jan 2006, 21:12

Re: Notepad++ Autocomplete XML

Post by PicassoCT » 20 Jun 2016, 08:34

yes - the returned data and type is missing though

also not sure if the api converter missed out on some

feel free to add
0 x

MaDDoX
Posts: 53
Joined: 08 Jan 2006, 17:45

Re: Notepad++ Autocomplete XML

Post by MaDDoX » 06 Feb 2018, 15:41

How to setup Spring autocomplete in IntelliJ IDEA (community or Pro):

Download the zip and extract the SDK folder from:
https://github.com/PicassoCT/SpringLuaMoccacino

Within IntelliJ, go to settings, install or make sure the EmmyLua plugin active

Project > External Libraries > <LuaJ> >
RMB > Open Library Settings
Click [+] (bottom left) -> Add Mocaccino SDK folder
Apply -> Ok

Profit!
1 x

User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Notepad++ Autocomplete XML

Post by jamerlan » 06 Feb 2018, 19:41

Is EmmyLua better than "Lua" plugin? (for Intellij Idea)
https://plugins.jetbrains.com/plugin/5055-lua
0 x

MaDDoX
Posts: 53
Joined: 08 Jan 2006, 17:45

Re: Notepad++ Autocomplete XML

Post by MaDDoX » 06 Feb 2018, 19:49

@jamerlan no luck making mocaccino running with the older/more mature 'Lua' plugin. Not sure if I missed something. Anyways, it's nice to install the lua plugin first so IntelliJ also finds/autocompletes the lua standard libraries. Then you disable it and enables EmmyLua.

Again, you can probably do that by installing lua separately and pointing to its libs, I just found this way easier / more straightforward.
1 x

Post Reply

Return to “Lua Scripts”