Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A good code editor?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
MM23
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2006
Posts: 83

PostPosted: Mon Nov 27, 2006 1:34 am    Post subject: A good code editor? Reply with quote

I have traveled again and again across the face of code-based editors, but none of them have really had all the features I want. Doesn't anyone know of a good, balanced, fairly fast and light editor with syntax highlighting, code completion, remote editing (through FTP, SSH, whatever) and tabs? The closest I've found to what I'd want is Scribes, but it's a little bit TOO minimal and lacks tabs and remote editing. Scite lacks code completion and remote editing. Kate was my favorite until recently where they seemed to have replaced tabs with "sessions" or something which makes it hard to edit multiple documents. Yuck. It also lacks simple code completion, which would be really nice.

If someone manages to find me the holy grail of code editors I will love you forever.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Nov 27, 2006 1:40 am    Post subject: Reply with quote

{g}vim.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Anon5710
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 232
Location: Belgium

PostPosted: Mon Nov 27, 2006 7:27 am    Post subject: Reply with quote

Bluefish :)

tough there are still some bugs with the syntax highlighting.
But i guess that will be fixed in the next update. (its only v1.0)
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Mon Nov 27, 2006 8:08 am    Post subject: Reply with quote

mark_alec wrote:
{g}vim.


++
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Mon Nov 27, 2006 12:41 pm    Post subject: Re: A good code editor? Reply with quote

MM23 wrote:
I have traveled again and again across the face of code-based editors, but none of them have really had all the features I want.


Emacs?

Quote:
Doesn't anyone know of a good, balanced, fairly fast and light editor


The joke used to be that Emacs stands for "Eight Megs And Constantly Swapping", but by today's standards, it's really very fast an light. Emacs takes less than 2 seconds to start up on my machine.

Quote:
with syntax highlighting,


In Emacs: M-x font-lock-mode

Quote:
code completion,


See http://community.livejournal.com/emacs/5731.html

Quote:
remote editing (through FTP, SSH, whatever)


Tramp: http://savannah.gnu.org/projects/tramp

Quote:
and tabs?


XEmacs (http://xemacs.org/) uses tabs by default. In Emacs I don't know how to do it (or if it's possible) but in emacs I don't think you really need tabs, since you can switch to other buffers using more efficient mechanisms (for example, iswitchb, http://www.damtp.cam.ac.uk/user/sje30/emacs/).

There really is very little that emacs cannot do, and very little that someone else hasn't coded already in a package. It has a bit of a learning curve, but it's really worth the effort.
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9752
Location: Córdoba (Spain)

PostPosted: Mon Nov 27, 2006 12:46 pm    Post subject: Reply with quote

Kate and bluefish :P

Hate vim and emacs, always hated them, since my first C program at the college.
Back to top
View user's profile Send private message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Mon Nov 27, 2006 12:57 pm    Post subject: Reply with quote

Emacs ftw. It'll be your first real and your last editor (because you'll have never changed back or you gone mad ;)). On the other hand, emacs is friendlier than vim IMHO. It spoiled the first half year of my Linux usage (the naively chosen edit command in SUSE starts vim and I only 8O 8O ).
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Back to top
View user's profile Send private message
hulmeman
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 184
Location: Duchy of Lancaster, England.

PostPosted: Mon Nov 27, 2006 1:00 pm    Post subject: Reply with quote

Bluefish for me, leave vi and emacs to Geriatric Console Junkies!
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4076
Location: Removed by Neddy

PostPosted: Mon Nov 27, 2006 1:12 pm    Post subject: Reply with quote

Phenax wrote:
mark_alec wrote:
{g}vim.


++


++
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
axit
n00b
n00b


Joined: 19 Sep 2005
Posts: 42
Location: Netherlands

PostPosted: Mon Nov 27, 2006 1:19 pm    Post subject: Reply with quote

++ (g)vim

nothing beats (g)vim. light, fast, tabs, syntax highlighting. In case you don't like vi style editing I'd go for (x)emacs, although I think it's really worth it getting used to vi-style editing: fast and smooth. Vi is on almost every nix system (except gentoo comes with nano :evil: )
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4076
Location: Removed by Neddy

PostPosted: Mon Nov 27, 2006 2:10 pm    Post subject: Reply with quote

axit wrote:
++ (g)vim

nothing beats (g)vim. light, fast, tabs, syntax highlighting. In case you don't like vi style editing I'd go for (x)emacs, although I think it's really worth it getting used to vi-style editing: fast and smooth. Vi is on almost every nix system (except gentoo comes with nano :evil: )


first thing I do with a gentoo install is emerge vim then sort everything out
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
tld
l33t
l33t


Joined: 09 Dec 2003
Posts: 773

PostPosted: Mon Nov 27, 2006 2:58 pm    Post subject: Reply with quote

6thpink wrote:
Kate and bluefish :P

I've used kate quite a bit. I actually just installed bluefish...hadn't ever tried that.

Everything I've tried had one feature missing that drives me nuts: A keyboard command to jump between the last two documents that had focus...not the next or previous in the order they're loaded...much like control tab does in most windows editors. More often then not, I'll have many source files open and I want to jump between two without using the mouse. Damn I can't tell you how not having that klls me. I found that nedit can be cusomized to do that, but there are a bunch of reasons I don't want to use that. Bluefish is apparently another that only has keyboard shortcuts for first, last, next, previous.

I use vi as well. I might actually give gvim another chance.

Tom
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Mon Nov 27, 2006 10:21 pm    Post subject: Reply with quote

tld wrote:
Everything I've tried had one feature missing that drives me nuts: A keyboard command to jump between the last two documents that had focus...not the next or previous in the order they're loaded...much like control tab does in most windows editors.


In Emacs: Ctrl-x b Enter. Sounds complicated, but it's really fast to type it, and it becomes second nature quite soon :twisted:
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Mon Nov 27, 2006 10:43 pm    Post subject: Reply with quote

Naib wrote:
axit wrote:
++ (g)vim

nothing beats (g)vim. light, fast, tabs, syntax highlighting. In case you don't like vi style editing I'd go for (x)emacs, although I think it's really worth it getting used to vi-style editing: fast and smooth. Vi is on almost every nix system (except gentoo comes with nano :evil: )


first thing I do with a gentoo install is emerge vim then sort everything out


Same here.
Back to top
View user's profile Send private message
Simplex_TT
n00b
n00b


Joined: 01 Nov 2006
Posts: 3
Location: Budapest

PostPosted: Mon Nov 27, 2006 10:47 pm    Post subject: Reply with quote

mark_alec wrote:
{g}vim.


++
_________________
Simplex - Collegium Gladiatorium
http://www.gladiator.hu
Back to top
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Mon Nov 27, 2006 11:00 pm    Post subject: Reply with quote

gvim


and gedit sometimes
Back to top
View user's profile Send private message
DoktorSeven
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 194
Location: Here, somewhere

PostPosted: Tue Nov 28, 2006 12:00 am    Post subject: Reply with quote

mark_alec wrote:
{g}vim.

++
_________________
WARNING: this post may be filled with lies and/or extreme sarcasm.
I write stuff on the internet, just like everyone else. I'M SPECIAL
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Tue Nov 28, 2006 5:00 am    Post subject: Reply with quote

I prefer emacs but in all honest I can't stand how much configuring you have to do with it and Vim. I am still trying to understand how to work the abbreviation system in Emacs which really pisses me off because I have problems using my fingers correctly so I could really use that typing aid. I just wish I could get skeletons and abbreviations to actually work....sigh.

All of that said Gvim or Emacs will probably serve you well.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
wuzzerd
Guru
Guru


Joined: 05 Jan 2005
Posts: 430
Location: New Mexico

PostPosted: Tue Nov 28, 2006 5:53 am    Post subject: Reply with quote

Well in a terminal I've used joe for years.

Pencil me in with the kate and bluefish crowd when it comes to gui editors.
Back to top
View user's profile Send private message
omp
Retired Dev
Retired Dev


Joined: 10 Sep 2005
Posts: 1018
Location: Glendale, California

PostPosted: Tue Nov 28, 2006 6:42 am    Post subject: Reply with quote

vim :D
_________________
meow.
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Tue Nov 28, 2006 6:55 am    Post subject: Reply with quote

Vim all the way ;)

But, I have to admit that I use Eclipse (full JAVA programming environment, with a C/C++ plugin) when I have to build bigger things ;)
Back to top
View user's profile Send private message
Crooksey
Apprentice
Apprentice


Joined: 26 Apr 2006
Posts: 239
Location: Vatican City

PostPosted: Tue Nov 28, 2006 9:03 am    Post subject: Reply with quote

I havent beein using Bluefish very long, but its nice from what i have seen.

Other than bluefish i will mainly use gedit/nano.

Nano is just so easy from the command line, vim just confues me about editing exisitng files, i havent really read into it, i only used it on a very base level, :im :w + :q is the exrent of vim for me.

When i have the time ill look into it, but nano works great for me, easy and fast.
Back to top
View user's profile Send private message
Lloeki
Guru
Guru


Joined: 14 Jun 2006
Posts: 437
Location: France

PostPosted: Tue Nov 28, 2006 9:18 am    Post subject: Reply with quote

Quote:
I use Eclipse (full JAVA programming environment, with a C/C++ plugin) when I have to build bigger things

I use eclipse too, it as excellent support for java via the included JDT, and C/C++ via the CDT. It also has more than decent support for PHP and python via trustudio foundation free component. I also use eclox for integrating doxygen with eclipse. many others are available.

Quote:
But, I have to admit that

don't be ashamed, it is an excellent piece of software. anyone looking at its internals can't say the opposite.
but hey, let's not fork the thread, this is a full-blown IDE ;)

as for a code highlight editor, I use mainly gedit, used kate when I was under kde. now I may take interest into bluefish.
but that's just for punctual use, as I noticed that anytime you want good code completion you would have to go for an IDE anyway, as a software would really autocomplete anything (even your own classes/functions) only when it can handle a group of files as a whole ('project' or whatever).
_________________
Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** ;)


Last edited by Lloeki on Tue Nov 28, 2006 10:05 am; edited 4 times in total
Back to top
View user's profile Send private message
RageOfOrder
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2006
Posts: 99
Location: EH?!?!

PostPosted: Tue Nov 28, 2006 9:51 am    Post subject: Reply with quote

For C/C++ , I've been pretty happy with KDevelop for a relatively light IDE
For a full-blown C/C++ IDE, I like Anjuta so far. Does what I need.

For Java, Eclipse is nice, but might be more than you're looking for.
_________________
...And then stuff happened.
Back to top
View user's profile Send private message
Fukai
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2006
Posts: 149
Location: São Paulo, Brazil

PostPosted: Tue Nov 28, 2006 10:42 am    Post subject: Reply with quote

Vim.
And you don't need nothing more.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum