Thread Tools Display Modes
08/19/21, 07:13 AM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
[IDEs, Auto completion files/plugins for ESOUI source]

JetBrains IntelliJ IDEA autocompletion files (using plugin "EmmyLUA") & including ESOUI source code for search
Working and updated
Hint: The EmmyLua plugin is not always compatible with the latest update to the IntellIJ IDEA! So always check BEFORE updating your IDE please.

Eclipse LDT ESOUI source plugin and XML auto completion (XSD ESOUI validation files)
Attention: This plugin is not updated any longer. Hint: Eclipse LDT is not further developed and the last working version it could be installed with was Eclipse 2019-12 (read here: https://www.eclipse.org/forums/index.php/t/1101907/)

Notepad++ ESOUI source auto completion plugin
Outdated and not maintained any longer.
If you are willing and able to maintain the XML file, please contact Baertram


VSCode auto complete
Install the sumneko.lua plugin
You can re-use the "JetBrains IntelliJ IDEA autocompletion files" linked above. Download the zip file, and then it seems that simply adding the unzipped contents of e.g. "eso-api-lua-intellij-baertram_API10xxxx.zip" as a library path to the
sumneko.lua extension

you already get lots of autocomplete and Ctrl+Click functionality. It's missing some globals.
You can set it globally or in your Foo.workspace


Visual Studio addon framework
The idea is to leverage the development capabilities of Visual Studio Code with ESO addons.
The whole framework is C# inspired, so if you like that language and don't speak Lua then the threshold to get your "hello world" up and running will be much lower!

Developers have two paths to choose, either use a limited part of the framework that provides
1. Auto-completion
EsoUI source code (where you have auto-completion, can see arguments, types, search etc.)
EsoUI extensions, eg. types are grouped and events come with template method skeletons

2. The other path is to use the above, but also
Ignore the manifest (it's auto-generated)
Use messenger for communication
Use a de-coupled development approach, ie. you can just drop in a new .lua file and it will add features
Use some C#-like functions for arrays and maps

Last edited by Baertram : 03/16/23 at 09:47 AM.
 

ESOUI » Developer Discussions » Dev Tools » [IDEs, Auto completion files/plugins for ESOUI source]

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