So, I'm currently using Gedit to write my scripts. Personally, I prefer Geany, but my skills are not quite good enough to figure out how to implement syntax highlighting, hehe. Anywho, I'm pretty satisfied with Gedit, as it has syntax highlighting, and provides a decent interface.
My question then, is there another editor out there where I can easily add HamsterSpeak, and also has code folding? I know Gedit should be capable of it, but I can't quite seem to figure it out. Also, another thing I'm looking for is regex find-replace. I don't use it very often, but the cases where I do need to use it, it's very handy.
So far, I think sticking with Gedit is the best solution, unless some of you master scripters out there have a better tool?
Thanks!
Code folding and regex?
Moderators: Bob the Hamster, marionline, SDHawk
- BMR
- Metal King Slime
- Posts: 3310
- Joined: Mon Feb 27, 2012 2:46 pm
- Location: The Philippines
- Contact:
Code folding and regex?
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
A quick search shows that you can get a regex search plugin for gedit. (Personally I think the idea of a code editor with regex support out of the box is absurd!)
GtkSourceView is used by quite a few different editors, which hopefully all support the HS syntax definitions, but I'm not familar with any of them. do none of them have code folding?
I use emacs in fundamental text mode with a custom indentation function for both hamsterspeak and freebasic. No highlighting, code folding or other fancy stuff. Both languages have such erratic grammars that writing proper emacs modes for them is a bit daunting.
GtkSourceView is used by quite a few different editors, which hopefully all support the HS syntax definitions, but I'm not familar with any of them. do none of them have code folding?
I use emacs in fundamental text mode with a custom indentation function for both hamsterspeak and freebasic. No highlighting, code folding or other fancy stuff. Both languages have such erratic grammars that writing proper emacs modes for them is a bit daunting.
Last edited by TMC on Mon Jun 11, 2012 1:32 pm, edited 2 times in total.
- Bob the Hamster
- Liquid Metal King Slime
- Posts: 7460
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
- BMR
- Metal King Slime
- Posts: 3310
- Joined: Mon Feb 27, 2012 2:46 pm
- Location: The Philippines
- Contact:
I think Gedit had it, I remember using it a few years back and I'm pretty sure I remember it did. Doesn't seem to work now though.TMC wrote:GtkSourceView is used by quite a few different editors, which hopefully all support the HS syntax definitions, but I'm not familar with any of them. do none of them have code folding?
Wow, color me impressed. I never quite could get the hang of emacs, though I did give it a go a couple of years back.TMC wrote:I use emacs in fundamental text mode with a custom indentation function for both hamsterspeak and freebasic. No highlighting, code folding or other fancy stuff.
I used to use Notepad++ back when I was still on Windows, but I've moved pretty much completely to Linux. I only keep Windows around for the occasional day when I feel like playing a game or the other that I can't get to work under Wine. Though I must agree that Notepad++ is a rather nifty program.Mogri wrote:Notepad++ 4 lyfe
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Using Editor version wip 20170527 gfx_sdl+fb music_sdl