Is there a alternative code editor to Livecode's built-in one?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Is there a alternative code editor to Livecode's built-in one?
Hi all.
I have been programming Livecode for a while now and the built-in editor gives me so many problems, I could pull my hair out.
Specifically, it slows down to a crawl with lots of code or just a couple of scripts open.
Is there an alternative code editor compatible with the Livecode language?
I use Webuilder 2016 but it does not have Livecode syntax editing, code completion, etc for Livecode. It has it for almost everything else.
Even Ultraedit does not have a Livecode plugin.
Right now I use Notepad or Notepad++ just to do simple things like copy and paste or replace, etc.
I appreciate any adivce.
Mike
I have been programming Livecode for a while now and the built-in editor gives me so many problems, I could pull my hair out.
Specifically, it slows down to a crawl with lots of code or just a couple of scripts open.
Is there an alternative code editor compatible with the Livecode language?
I use Webuilder 2016 but it does not have Livecode syntax editing, code completion, etc for Livecode. It has it for almost everything else.
Even Ultraedit does not have a Livecode plugin.
Right now I use Notepad or Notepad++ just to do simple things like copy and paste or replace, etc.
I appreciate any adivce.
Mike
-
- Livecode Opensource Backer
- Posts: 366
- Joined: Tue Apr 10, 2012 9:18 am
Re: Is there a alternative code editor to Livecode's built-in one?
We made a plugin for atom editor:
https://github.com/livecode/atom-language-livecode
I seem to remember we based it on one that the revigniter guys had for textmate:
https://revigniter.com/
...if you scroll down that page you will see the download bundle.
I made one for gedit if you use Linux:
https://github.com/sierracircle/livecode-gedit-lang
https://github.com/livecode/atom-language-livecode
I seem to remember we based it on one that the revigniter guys had for textmate:
https://revigniter.com/
...if you scroll down that page you will see the download bundle.
I made one for gedit if you use Linux:
https://github.com/sierracircle/livecode-gedit-lang
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Is there a alternative code editor to Livecode's built-in one?
Mark Wieder has built one called "GLX2"
Perhaps he will chime in...
Craig
Perhaps he will chime in...
Craig
Re: Is there a alternative code editor to Livecode's built-in one?
Funnily enough, I *do* use 'nix and actually have gEdit installed. Was that file supposed to go somewhere aside from /usr/share/gtksourceview-3.0/language-specs/? Gedit doesn't seem to list Lc as an option in any of the doc styles after I dumped it there
-
- Livecode Opensource Backer
- Posts: 366
- Joined: Tue Apr 10, 2012 9:18 am
Re: Is there a alternative code editor to Livecode's built-in one?
Looks like Gedit has updated since then...should go into /usr/share/gtksourceview-4/language-specs
I will update the git
I will update the git
Re: Is there a alternative code editor to Livecode's built-in one?
Don't have that folder heh.
-
- Livecode Opensource Backer
- Posts: 366
- Joined: Tue Apr 10, 2012 9:18 am
Re: Is there a alternative code editor to Livecode's built-in one?
I just recently upgraded to Ubuntu 20.04, so am still slowly updating all of my various projects and such. I was previously using Atom Editor, but it does not want to install on 20.04 for some reason...have not had time to chase it down yet...but Gedit is working so I might just use that for a while.
Re: Is there a alternative code editor to Livecode's built-in one?
Well, this is Ubuntu 18.04.4 LTS, so I'd assume it needs to go into the gtk3 source folder. I think what I'll do instead is see about modifying it to work with Geany, unless I can find out where mousepad keeps its dang files.
-
- Livecode Opensource Backer
- Posts: 366
- Joined: Tue Apr 10, 2012 9:18 am
Re: Is there a alternative code editor to Livecode's built-in one?
It worked with Pluma before moving the file to gtksourceview-4 folder.
..but having Geany working with Livecode syntax would be cool!
..but having Geany working with Livecode syntax would be cool!
Re: Is there a alternative code editor to Livecode's built-in one?
I think so, unlike the basic text editors, Geany is able to call the compilers of various languages and even add switches, so for instance, you don't have to leave it to issue the Lc -ui switch. Of course, we will first have to figure out how to clearly define that switch
I did a brief q and d test with it, pulling the 'lisp' file from the
location and putting it into
then changing the keywords to Lc's list which I lifted from your file.
Syntax highlighting of course worked instantly, and as far as my brief test went, correctly. Setting the file extensions were no problem as well, of course I only had about 10 mins at the time, so I can't say I completely nailed down the compiling etc. features, but looking at lisps setup it doesn't look like it will be overly difficult.
I also think lisp might not have been my best choice for a test file, it's structure is extremely simple heh, if I knew which of the various scripting languages were closest to Lc's nature, I'd have shot for one of those instead.
As far as gedit goes, after playing with it a while they really have changed it around. It used to be a very nice little tool, easy to get to things, etc, but if I had to make a choice between that and say, mousepad (or even leaf) in it's current state, it wouldn't even be close. In either of the other 2, you have a full menu bar, not that stupid drop down garbage with a dozen flyouts that don't even fly out. Slow as heck too. It was removed this morning after my 6th trip through that 'feature' alone
*Edit - I just realized that people may not know what Gedit used to look like, this was about the design point I liked it at -
I did a brief q and d test with it, pulling the 'lisp' file from the
Code: Select all
/usr/share/geany/filedefs/
Code: Select all
/home/bogs/.config/geany/filedefs/
Syntax highlighting of course worked instantly, and as far as my brief test went, correctly. Setting the file extensions were no problem as well, of course I only had about 10 mins at the time, so I can't say I completely nailed down the compiling etc. features, but looking at lisps setup it doesn't look like it will be overly difficult.
I also think lisp might not have been my best choice for a test file, it's structure is extremely simple heh, if I knew which of the various scripting languages were closest to Lc's nature, I'd have shot for one of those instead.
As far as gedit goes, after playing with it a while they really have changed it around. It used to be a very nice little tool, easy to get to things, etc, but if I had to make a choice between that and say, mousepad (or even leaf) in it's current state, it wouldn't even be close. In either of the other 2, you have a full menu bar, not that stupid drop down garbage with a dozen flyouts that don't even fly out. Slow as heck too. It was removed this morning after my 6th trip through that 'feature' alone
*Edit - I just realized that people may not know what Gedit used to look like, this was about the design point I liked it at -
Re: Is there a alternative code editor to Livecode's built-in one?
Trevor Devore also provided a plugin for Sublime Text which works extremely well.
Source https://github.com/trevordevore/livecode-sublimetext
video https://www.youtube.com/watch?v=RkhrHdah0zY&t=19s
Source https://github.com/trevordevore/livecode-sublimetext
video https://www.youtube.com/watch?v=RkhrHdah0zY&t=19s
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search