Quantcast IntelliJ and sylvanaar - Page 3 - ESOUI
Thread Tools Display Modes
11/30/18, 01:30 PM   #41
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,166
Originally Posted by r4cken View Post
Im using this from now on, however im having issues with the eso-api.classes.lua file not showing up at all on autocomplete or intellisense on it Any suggestions? The other files seem to be picking up my CTRL+SPACE
CTRL+click does not work as there is missing an entry for each object/class in file eso-api.classes.lua like this
Lua Code:
  1. AddOnManager = {}

This would make IntelliJ find the definition.

But the current file supports the function name help using CTRL+sapce, e.g. type
"AddOnManager."
and then press CTRL+space
  Reply With Quote
11/30/18, 03:24 PM   #42
r4cken
 
r4cken's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2018
Posts: 13
I used the latest files from API 100025 but writing AddOnManager brings up nothing at all
__________________
Addon creator, programmer and gamer girl
  Reply With Quote
11/30/18, 03:35 PM   #43
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,166
Try out "AddOnManager." (with the . at the end) and then CTRL+space.
  Reply With Quote
11/30/18, 03:40 PM   #44
r4cken
 
r4cken's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2018
Posts: 13
That brings up nothing as well. I even added each object like AddOnManager = {} at the top of the classes file.
__________________
Addon creator, programmer and gamer girl
  Reply With Quote
11/30/18, 04:37 PM   #45
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,166
Originally Posted by r4cken View Post
That brings up nothing as well. I even added each object like AddOnManager = {} at the top of the classes file.
Hm, maybe depends on the lua plugin then.
I'm using the current IntelliJ v2018.3 with the "working" lua plugin (EmmyLua) and it brings up the following for me:


Adding the = {} will just make you "navigate to the file" via STRG+left mouse click.
  Reply With Quote
11/30/18, 04:43 PM   #46
r4cken
 
r4cken's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2018
Posts: 13
Oh i was not using emmylua, i just searched in the repository for "lua" and installed that just like the start of the thread suggested. Im using the community edition 2018.2.6

So should i not add the "= {}" parts or like another "guide" had it was like

AnimationObjectTranslate = AnimationObject

*EDIT*
It works perfectly now with emmylua! Thank you so much Baertram!
__________________
Addon creator, programmer and gamer girl

Last edited by r4cken : 11/30/18 at 04:57 PM.
  Reply With Quote
12/05/18, 01:29 PM   #47
Architecture
 
Architecture's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2016
Posts: 6
Double tapping shift also can bring up a symbol / workspace search (Or the old fashioned Ctrl+Shift+F). I've found Ctrl + Space usually brings up the autocompletion options where appropriate (I think it depends on if I have full inspection turned on or not). I highly recommend the experience you currently get with IntelliJ and Lua. While it is not perfect (you will definitely be dealing with beta status plugins) I find that it is in general superior to the alternatives.

Cheers,
  Reply With Quote

ESOUI » Developer Discussions » Dev Tools » IntelliJ and sylvanaar

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off