ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Dev Tools (https://www.esoui.com/forums/forumdisplay.php?f=173)
-   -   IntelliJ and sylvanaar (https://www.esoui.com/forums/showthread.php?t=776)

Marihk 05/10/14 10:07 PM

Thanks
 
Thanks very much for providing this. It's been most helpful!

CatoTheElder 05/11/14 02:31 AM

vi

Tried, trusted, and true... I find the compiler does a pretty damned good job of showing errors.

katkat42 05/11/14 12:46 PM

Quote:

Originally Posted by CatoTheElder (Post 7446)
vi

Tried, trusted, and true... I find the compiler does a pretty damned good job of showing errors.

Personally, I'm waiting for someone to write an EMACS major mode... :D :p ;)

Feroc 05/11/14 02:15 PM

Thanks for the info. I am working in VS the whole day, too. Right now I am only using Notepad++ for my small addons, but I guess I could start to organize them a bit better and a better IDE would be helpful for that.

Arkhaniir 07/25/14 01:51 AM

Just got into Addon Development and as a SE student, I definetly feel more comfortable working with a IDE. So thanks for providing this.

Quote:

Originally Posted by Tyx (Post 4532)
Thank you for you hard work - is it possible to implement your script in Eclipse too?

I prefer to work with Eclipse because IntelliJ is to slow on my system, and Eclipse offers the usual great debug and work interface (at least in my eyes ;) maybe just used to it)

It would be great to be able to work with Eclipse since I'm used to it. I will be following this thread.

Once again, thanks. I should keep digging around...

parnell 01/03/15 10:42 AM

Nice job Tinuviel. This is awesome. Any chance you would mind putting the sdk on github so we can all keep it up to date as new API are released?

I also am a VS2013/resharper developer so this makes it nice. Any chance you have found a good unit testing framework as well? I'd like to write TDD so that i'm not spending so much time writing calls to d() :)

Thanks,

mctaylor 01/09/15 05:42 PM

Quote:

Originally Posted by katkat42 (Post 7498)
Personally, I'm waiting for someone to write an EMACS major mode... :D :p ;)

There is a Lua mode already. Okay, not in the base distribution I believe, but really, did you think anything called a programming language lacked a emacs mode? :)

Now I will confess to having used notepad++, ZeroBrane Studio, and vim/gvim for my Lua/ESOUI work...

But let's not mix recreation with religions. :p :cool: :D

katkat42 01/11/15 11:38 PM

Quote:

Originally Posted by mctaylor (Post 18198)
There is a Lua mode already. Okay, not in the base distribution I believe, but really, did you think anything called a programming language lacked a emacs mode? :)

Now I will confess to having used notepad++, ZeroBrane Studio, and vim/gvim for my Lua/ESOUI work...

But let's not mix recreation with religions. :p :cool: :D

By the Eight, I hadn't seen that! But in the end, I suppose you're right... :D

timidobserver 01/27/15 05:28 PM

Does anyone have up to date files to add the ESO API into intellisense or a method to create them?

Kelnoreem 02/07/15 01:42 PM

Thanks for doing this, I set it up today and it is working great with IntelliJ 14 Ultimate. Do the API files need to be updated for 1.6 on the PTS?

mikeecrash 03/11/15 02:48 PM

I'm working on updating these to 1.6 and will post to github too.

mikeecrash 03/21/15 01:57 PM

https://github.com/mrheault/eso-api-lua-intellij

I may have missed something so obviously feel free to make pull requests :)

Mishima 03/30/15 10:19 AM

Visual Studio
 
For those of you that are Visual Studio users at work, have you tried VS with BabeLua?

I used it for my one ESO AddOn since I needed to use an IDE on Windows and I normally work on my Ubuntu laptop with Eclipse and Netbeans (for PHP dev). Obviously those work on Windows but I wanted to take the opportunity to try out the VS 2013 Community Edition. Still, I don't know VS well enough to evaluate how well wit works with Lua. Actually I don';t know Lua that well either, but that's less germane to the point.

uladz 04/07/16 01:47 PM

Quote:

Originally Posted by mikeecrash (Post 19820)
https://github.com/mrheault/eso-api-lua-intellij

I may have missed something so obviously feel free to make pull requests :)

Any chance you update it to 100014?

Baertram 11/16/16 12:10 PM

Quote:

Originally Posted by uladz (Post 26666)
Any chance you update it to 100014?

Hi there,

Scripts for the ESODocumentationPxx.txt parser (php based) + description howto_parse are available
here
You need an php.exe (or php for other OSs) file to run the parse scripts!
Instructions what to do when and how are included in a txt file "!!!howTo_parse.txt".


API100017
Just edited the stuff for "IntelliJ + luaJ" editor, for the current API 100017.
You can download it here:
https://dl.dropboxusercontent.com/u/..._API100017.zip

The ESO build in API functions + parameters, constant values, events etc. should be shown in your sources if you include the contents of this ZIP achive like described in the first post + screenshots.
Start to type a variable/function name and press CTRL+SPACE in the editor of lua files to show the auto-completion popup.
If you press CTRL and click the variable/function you'll jump into the relating esoapi file to see som more comments and parameters.

The included XML file is for a manual lookup only as building a schema file for an automatic validation is not worth the effort, sorry.

None of the files claim to be complete or perfect and I won't do this again for the next updates as it takes way too much time :-) Maybe if a script will be build that assist here.

Baertram 12/02/17 04:57 PM

Just updated the API to 100021 for IntelliJ IDEA editor.
Installation:
Go to the "Configure SDK" dialog, click on LuaJ, and add the extracted ZIP archive folder to the classpath.
The lua files will be searched for the functions etc. and you are able to use them in your code afterwards with autocompletion etc.

Baertram 06/03/18 02:07 PM

IntelliJ api support files for the luaJ SDK for ESOUI API 100023.
Some contents are double, some might be missing.
Updated the constant values from teh esoui wiki pages, and used the parser components of "reaby" to build the classes, functions and some other file contents. Thx reaby!

IntelliJ IDEA - luaJ SDK für ESOUI "Summerset" API 100023

Baertram 09/18/18 06:28 AM

IntelliJ API support for ESOU 100025

And here are some parse tools, based on PHP, which are able to parse the ESOUIDocumentationPxx.txt file.
You can use them to parse the txt file for a new API and build your own IntelliJ compatible lua files for autocompletion and lookup of constant values.
An addon "Dumpvars" is included so you can parse the constants from the txt, put the created file into the addon, run the addon and dump the constants + the sound names to the savedvars. Then puzt the result back into lua files for IntelliJ.
-> Credit for the parsing stuff go to "Reaby"! Thanks a lot for your work :banana:

Be sure to read the included howto txt file for more information.
Parse script sphp based for IntelliJ lua file creation + instructions

r4cken 11/29/18 10:18 PM

Great work!
 
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

raycrios 11/30/18 09:39 AM

Definitely try VSCode with Lua extension. It's MUCH faster than IntelliJ, highly customizable, with a LOT of features and great community. Highly recommended.



All times are GMT -6. The time now is 12:58 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI