ZAutoComplete generates files that allow the supported ides to autocomplete the lua files for mods as you type.
Instructions for use:
For ZeroBrane:
1. Download and unzip minetest_api_0.4.16.zip
2. Copy zerobrane_mods and zerobrane_csm to ZeroBrane_root_path/api/lua and and add them the extension .lua
3. Open ZeroBrane and go to Preferences->Settings: System
4. Add this to the file that was opened: api={'zerobrane_mods', 'zerobrane_csm'}
For Atom:
1. Install autocomplete-lua package on Atom
2. Download and unzip minetest_api_0.4.16.zip
3. Copy atom_mods or atom_csm to the mod project root path and rename it as .luacompleterc
Note: For some reason that I do not know you have to keep open .luacompleterc and interpreted as json so that it works
Generator github repository: https://github.com/twahm/ZAutoComplete
ZAutoComplete: Autocomplete generator for ZeroBrane and Atom
ZAutoComplete: Autocomplete generator for ZeroBrane and Atom
- Attachments
-
- minetest_api_0.4.16.zip
- (58.61 KiB) Downloaded 59 times
Last edited by twahm on Fri Dec 29, 2017 02:09, edited 2 times in total.
Re: ZAutoComplete: Autocomplete generator for ZeroBrane and
I add support for Atom
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: ZAutoComplete: Autocomplete generator for ZeroBrane and
I don't see this working at all for Atom. I think by keeping the file open, Atom simply suggests from what it normally would by looking into the other open files.
Who is online
Users browsing this forum: No registered users and 1 guest