Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: Levak on August 04, 2011, 10:05:56 am
-
Hi, =)
as Adriweb did here (http://ourl.ca/12381/232935),
here is my Lua environment under Gedit : http://levak.free.fr/ftp/nspire/NspireLuaGedit/
(http://levak.free.fr/ftp/nspire/NspireLuaGedit/nspire-lua-demo.jpg)
I highly recommend this configuration/plugins for Gedit :
Display :
- Check everything but not "Activate auto-line-return" (fisrt one)
Editor :
- Tabulations : 4
- Check "Activate auto-indentation"
Theme : Oblivion
Plugins :
- (+) Advanced Find/Replace (http://code.google.com/p/advanced-find/)
- (+) TabSwitch (http://live.gnome.org/Gedit/Plugins?action=AttachFile&do=get&target=tabswitch.tar.gz)
- (+) Simple Folding (http://code.google.com/p/gedit-folding/downloads/list)(since there is no auto-folding plugin in Gedit, this is the best one that exists)
- (+) Project Manager (https://github.com/MichaelCereda/CMYKProjectManager/)
- External Tools
External Tools is a greate plugin that lets you add some bash/sh scripts and add a shortcut to it.
For example, I use it with Ctrl+L to "make" Make3D, then, I can work faster for testing purposes.
#!/bin/bash
a="Make3D.lua"
b="./"
python ../../maketns/maketns.py ${a:0:${#a}-4}".tns" \
c=0 w \
$b"cube2.lua" \
$b"Utils.lua" \
$b"ScreenManager.lua" \
$b"Buttons.lua" \
$b"Menu.lua" \
$b"Request.lua" \
$b"Constants.lua" \
$b"Engine.lua" \
$b"Transform.lua" \
$b"ExportImport.lua" \
$b"Help.lua" \
$a \
wend cend\
I use also a modified version of maketns (by JayTe) that lets me make several cards (pages) or widgets per pages directly with a linux command prompt.
http://ti.bank.free.fr/forum/viewtopic.php?f=19&t=6885&start=110#p114309
Have fun !
-
- Uncheck "add spaces instead of tabulations"
Tabs are not recommended for anything because they are inconsistent across text editors.
Either way thanks, nice job!
-
- Uncheck "add spaces instead of tabulations"
Tabs are not recommended for anything because they are inconsistent across text editors.
I was, yes, in a way, not really sure about "highly recommend" this option, because it is a general troll... there is a 50/50 opinion for this subject, I have my reasons for using tabs, but it is not the subject of this thread.
Thanks for your intervention, I will remove this from the post, to prevent future discussion on this :p
Either way thanks, nice job!
Thanks, the pleasure is for me =)
-
Thanks Levak, this will be useful for me, as I use gedit for all my programming :)
-
Thanks! I always found the default gedit Lua plugin much too incomplete.
-
Nspire-Lua environment for Gedit (Programming Editor for Ubuntu)
Also, Gedit is not Ubuntu-Only, it's "Gnome-Editor". I'm just installing it by the way.
-
Nspire-Lua environment for Gedit (Programming Editor for Ubuntu)
Also, Gedit is not Ubuntu-Only, it's "Gnome-Editor". I'm just installing it by the way.
Oops, sorry, thanks for reporting this !
-
Another suggestion along the same lines: For Linux users who haven't been around a while, you can also add a little note that gedit is known as "Text Editor" in the newest versions of Gnome.
Looks great by the way!
-
Found 2 intersting plugins :
- gedit-autocomp (http://sourceforge.net/projects/gedit-autocomp/)
- gedit-pair-char-autocomplete (http://code.google.com/p/gedit-pair-char-autocomplete/downloads/detail?name=gedit-pair-char-completion-1.0.5.tar.gz&can=2&q=)
The only little problem with the first one is that it pickups symbols that have already been typed =/
I've heard about a complete integration in gedit3 based on gtksourview, but I can't find it.
-
Thanks for you work in creating this!
This will certainly come in handy for Lua development!