15 answers given for "Lightweight IDE for Linux"
- Syntax highlighting
- Fast, lightweight
If you are taking your time switching to linux, I'd switch to emacs or vim at some point as well. There will always be a resource or a document describing exactly the problem you are having with either of them, and generally a solution is just a few more clicks down the road.
Emacs may be easier at the beginning because of modeless editing... but don't let modal editing scare you away from Vim.
The key with either Vim or Emacs is knowing it could probably take you the better part of the day just to figure out what you want them to do, let alone how to get them to do that.
Once they work for you though, you'll see why mostly everyone is in one of two camps.
- Setting up a Makefile for your project is almost always worth it.
- Using cscope and or ctags will make your life easier.
- :cn, :cp
- using BufRead autoloads to set what :make should do depending on file type
- ecb is fun
- M-x dired
- M-. M-, M-* M-x complete-tag for etags
- M-x compile
- (add-hook 'mylanguage-mode-hook '(lambda () (setq my-customizations t)))
And check out other people's customizations for examples of what other people do.
emacs has been used by linux programmers for decades. It features syntax highlighting, it's fast, and there are a million tutorials out there you can find.
Console editors, such as vi, are more lightweight than their GUI counterparts, and (at least those two are) just as capable as any other IDE (syntax highlighting, mouse support, ctags, autocompletion ... all the way to gdb integration). The learning curve might be somewhat steep, and you might have to do some customization, but its all worth it. Also, vi is present on every installation of unix-like operating system.
Amongst X applications, there are
Geany - really fast, depends only on GTK, and with even more features including code folding.
These would be lightweight IDEs, as opposed to heavyweights like NetBeans.
Choose an editor, know it thoroughly, and use it for all editing tasks. [...] The editor will be an extension of your hand; the keys will sing as they slice their way through text and thought. That's our goal.
Make sure that the editor you choose is available on all platforms you use.
Vim is configurable, extensible, programmable and can be turned into an IDE with all the regular features. Lately I've been using Eclim to "bring Eclipse functionality to the Vim editor" (projects, better java support etc.) making it a complete platform with advanced IDE features.
Joey, I believe anything is lighter than Eclipse! :o)
I bounce about between Mac, Windows and Ubuntu and while Emacs used to be my editor of choice, I'm finding that in my old age I prefer to something GUI-based (using command-line for the shell is still fine by me). My preferred editor is Komodo Edit, which the advantages of:
- Being free (as in beer)
- Available for Mac, Windows and Linux
- Syntax highlighting for a boatload of languages, including C++ and PHP (I'm using it for Ruby, Python and PHP myself)
- Code completion, even for classes I defined myself
- Ability to "remote save" via FTP, SFTP or SCP
- Support for organizing your files into projects
- Tabs and other interface niceties
I'm not sure how lightweight it is, but it certainly feels snappier than Eclipse!
How has no one mentioned Code::Blocks!
Not only is it a fantastic Open Source IDE for C++, but it's fully cross platform, so if you need to work on a Windows or Mac box for a bit, you can use the exact same IDE, and exact same project files to do so! Which is great for cross-compiling!
I'm not sure exactly what you mean by 'lightweight,' but here are a few popular IDEs for linux:
None one of these are Java, so they automatically have an edge over Eclipse for performance ;)
Another option is MonoDevelop, which is geared towards .Net/Gtk# programming but also includes C++ support.
This is a really religious question - just choose the one you like. Every editor has it's pros/cons and you need to decide which set suits best to you. There are many IDEs out there that can use various editors like Pida.
Nobody mentioned Kate. It's easier than vi for start (and has nice vi-mode for those, who want to migrate to vi), has more options than gedit (And better syntax highlighting). It also has kioslaves support (nice for remote server PHP development) and it's only a little bit more CPU-demanding than gedit. It can also have built-in console (extremely helpful if you want to quick grep through files or compile the project).
There are also features like:
- basic code completion
- advanced indentation and block selection operations
- good and very clean (to read) find/replace with regexp
- comment-out on ctrl+d (it comments out one line or one function if used on function header)
and a lot more...
any of the popular editors can be turned into an ide.
I use Vi on the console and have used various gui editors over the years. This doesn't just go for linux I use Crimson Editor on windows as a C/python/z80asm ide.
what about eclipse with linuxtools?
I would say Bluefish, not an I.D.E but a nice lightweight code editor with syntax highlighting and code completion (and many others) for quite an array of languages (among them C and Php).