π
<-
Chat plein-écran
[^]

IDE Nspire-Lua : Intellij IDEA

Pour TI-Nspire OS 3.0 ou ultérieur.

IDE Nspire-Lua : Intellij IDEA

Unread postby Adriweb » 18 Oct 2012, 21:51

I have talked about "Intellij IDEA" on the tinspire group as a Lua IDE (thanks to its wonderful Lua plugin), and I believe it can be quite good for you guys, especially for big projects where the current SDK isn't efficient (no support of multiple files etc.).

Here's some details on how to setup what you can see at the bottom of this post ;)

Basically, you can do either :
This (longer but it will make seperate SDKs for normal computer Lua and Nspire Lua)
  1. Download Lua for windows 5.1
  2. Add a new Lua SDK in Intellij (you can find that in the module settings, for example)
  3. Select the Lua folder in program files as the lua sdk folder.
  4. Download my addon and decompress it somewhere
  5. Add from my addon the folder "nspirelua-api" as an external classpath folder in your new SDK
  6. Save, apply, etc.

or (easier/faster but it will make computer lua think it has nspire lua API available) :
  1. In Intellij's ( / module's ) settings, edit the KahLua SDK
  2. Download my addon and decompress it somewhere
  3. Add from my addon the folder "nspirelua-api" as an external classpath folder in your new SDK
  4. Save, apply, etc.

After all that, create a new Lua project, and in the libraries on the left side, you should see not only the stdlib (of which you can unlink the io and debug API which aren't present on the Nspire), and you should be able to enjoy Intellij's Lua plugin things but for the Nspire Lua API too.
This it what it looks like when it's set up, on my computer :

Autocompletion example (of the events and other functions ) :


Image

Image


Auto-completion + arguments help :


Image


Interactive documentation based onInspired-Lua's wiki : (Ctrl-Q on a word)


Image


Nspire-Lua API plugin : download here (archives_voir.php?id=8182)


Good luck and have fun :)
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 51.5%
 
Posts: 12622
Images: 1081
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

Re: IDE Nspire-Lua : Intellij IDEA

Unread postby Hamza.S » 25 Jan 2017, 10:29

Bonjour, (et désolé pour le déterrage)

Je voudrais savoir si "Nspire-Lua API plugin" sera mis à jour? ça date de 2013 donc obsolète
Image
User avatar
Hamza.SAdmin.
Niveau 17: GM (Grand Maître des calculatrices)
Niveau 17: GM (Grand Maître des calculatrices)
Level up: 6.8%
 
Posts: 3543
Images: 18
Joined: 07 Nov 2014, 00:43
Gender: Male
Calculator(s):

Re: IDE Nspire-Lua : Intellij IDEA

Unread postby Adriweb » 30 Mar 2017, 22:17

@Hamza: hm, il faudra que je vois ça... en soi-même, ça devrait continuer à marcher mais on pourrait rajouter les nouvelles APIs...
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 51.5%
 
Posts: 12622
Images: 1081
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb


Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 4 guests

-
Search
-
Featured topics
Concours TI-Planet-Casio de rentrée 2019. 3 défis pour plus d'une 15aine de calculatrices graphiques et nombre de goodies sortant de l'ordinaire ! :D
Comparaisons des meilleurs prix pour acheter sa calculatrice !
12
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety 
-
Stats.
487 utilisateurs:
>451 invités
>31 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)