Page 1 of 2

Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 9:27 pm
by Thargoid
Yes, I'm back playing with Linux (now have a nice little Mint Lisa install on a 16GB USB key, complete with both trunk and stable plus the console) but I've yet to find a file editor that is comfortable for JS coding.

On the Win7 side of the machine I use the normal Notepad++, but would appreciate peoples views on what is recommended on this side of the partition...

Re: Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 10:04 pm
by SandJ
How about the in-built Accessories, Applications, gedit Text Editor? (which is available in Ubuntu and I assume is also the default text editor in Mint)?

Re: Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 10:22 pm
by DaddyHoggy
Gedit is good - but it wasn't very good at Javascript highlighting/formatting when I used it last and a quick Google seems to indicate that it still isn't.

Re: Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 10:32 pm
by Cody
I seem to recall someone saying that you could run Notepad++ on Linux using WINE... but all that is beyond my ken.

Re: Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 11:07 pm
by DaddyHoggy
El Viejo wrote:
I seem to recall someone saying that you could run Notepad++ on Linux using WINE... but all that is beyond my ken.
Yeah, but that's a bit like saying you can run your petrol car on diesel, you just need a different engine... :wink:

Re: Recommendations for Linux JS file editor

Posted: Fri Jan 27, 2012 11:13 pm
by Cody
DaddyHoggy wrote:
El Viejo wrote:
I seem to recall someone saying that you could run Notepad++ on Linux using WINE... but all that is beyond my ken.
Yeah, but that's a bit like saying you can run your petrol car on diesel, you just need a different engine...
Yeah, that figures... but at least I got to post in the Linux forum!

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 12:06 am
by SandJ
I have not used any of the following, but they are listed in the Ubuntu Software Centre as Javascript editors so should be worth considering:
- fckeditor
- tinymce
- edit-json

Although I have not used any of them, hopefully this will give you something to play with until such time as someone who knows what they are talking about gives you an answer ... unless you become that person, of course!

(The last time I used a language-specific editor it was 'brief' for C but I thought it was pants.)

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 8:51 am
by cim
I use emacs, which has a decent Javascript mode. (Its C mode is fine for plists and shaders, too, if you do want to go down that route) Also, if you want a break from coding, you can play Elite without leaving the editor

(Obligatory warning that emacs has a fairly steep initial learning curve for a text editor. The last few versions have added a lot of usability improvements that, as someone who already knew how to use it by the time they came out, I don't really feel qualified to comment on)

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 9:51 am
by Thargoid
I was trying to avoid both Emacs and Wine, for the reasons both stated above). I was just hoping that you lot could recommend something JS-wise. I'll certainly have a look at the three mentioned.

Thanks all - yes gedit is in there by default and works well enough as a text editor, but it lacks the coding features that I was looking for.

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 9:59 am
by Mauiby de Fug
Some of my friends use Sublime Text 2 for their programming, and from what I've seen on their screens when they've been working, it looks pretty nice...

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 7:26 pm
by Micha
I use gvim, but as for emacs the learning curve is.. "interesting".

How about using a full-blown IDE such as NetBeans or Eclipse?

Re: Recommendations for Linux JS file editor

Posted: Sat Jan 28, 2012 8:54 pm
by Thargoid
At the moment I was thinking of the set-up as just a "play thing" to get the hang of Linux a bit more, with the Oolite part just for OXP testing and a little light alteration as may be required.

Gedit or one of the already mentioned ones would probably already be enough - as I have a fully working and suitable Win7 installation that fits the bill as an everyday workspace I can't really justify going too deep into things (hence why it's on a USB stick and not the hard disc). Whilst the Linux setup is working fine and is fun to play with, at the moment it doesn't do things better or faster than the Win7 setup so there's not much point in a full move-over.

So Eclipse et al may be a ponderance a little further on, but at the moment it's a bit too far I think. But I must admit it is one I did come across and consider a little for a while.

Re: Recommendations for Linux JS file editor

Posted: Mon Jan 30, 2012 5:08 am
by Micha
Thargoid wrote:
So Eclipse et al may be a ponderance a little further on, but at the moment it's a bit too far I think. But I must admit it is one I did come across and consider a little for a while.[/color]
One of the benefits is they are cross-platform so you could use those tools under both Win & Linux. Always useful if you are switching environments.

Re: Recommendations for Linux JS file editor

Posted: Mon Jan 30, 2012 7:57 pm
by fronclynne
joe (quo vide) is one of my favourite editors. Does all the expected things, has an emacs-like mode for the perverts, & works on everything I've tried (also has a wordstar mode for those of us in the know).

There's even an alternate version (preferred here) from the wacky kids at the miros project: https://www.mirbsd.org/jupp.htm

Re: Recommendations for Linux JS file editor

Posted: Fri Feb 17, 2012 10:36 pm
by Lone_Wolf
Try Kate , an excellent text editor with support for syntax highlighting in 100+ programming languages.

http://userbase.kde.org/Kate