Hi, folks. I've made auto-completion config for Notepad++ that helps writing Lua and LÖVE apps.
It works for me, so maybe you find it useful too.
It covers (almost) all Lua 5.2* and LÖVE 0.9.1 functions, including return values, parameters, their types and short hints from official documentation. Also it contains deprecated functions from LÖVE 0.8+ for migrating users, with note of what functions to use instead.
Class methods are included into AC as well, but they can't be used directly (you should rewrite class name with your instance name every time) and thus they're useful only as shorthand documentation.
Another file (langs.xml) is an updated syntax highlighting config, so Notepad++ will highlight love.-functions as well as common Lua-functions.
And the last file (functionList.xml) is for Function List sidebar.
It's still raw and definitely far from perfect, so let me know if you find something to repair.
Oh, and don't forget to enable Auto-Completion in NPP preferences if you decide to try.
____
* Note that Lua 5.2 is slightly different from 5.1 used in LÖVE. In particular, 5.1 does not offer bit32-functions, and 'table.unpack' still called just 'unpack'.
Few samples:
Notepad++ autocompletion and stuff
Notepad++ autocompletion and stuff
- Attachments
-
- LuaLove2D_NotepadPP.zip
- (76.89 KiB) Downloaded 295 times
Last edited by lcm on Tue Jul 22, 2014 3:32 pm, edited 2 times in total.
-
- Prole
- Posts: 10
- Joined: Mon Jun 23, 2014 6:32 pm
Who is online
Users browsing this forum: Bing [Bot], totoetlititi and 13 guests