Lightweight IDE for Linux


Question

Even though I have a robust and fast computer (Pentium Dual Core 2.0 with 2Gb RAM), I'm always searching for lightweight software to have on it, so it runs fast even when many apps are up and running simultaneously.

On the last few weeks I've been migrating gradually to Linux and want to install a free lightweight yet useful IDE to program on C++ and PHP. Sintax highlighting and code completition tips are must-haves.

So, I'd like to receive some suggestions from you, guys.

1
10
3/22/2012 12:34:54 AM

Accepted Answer

gedit

  • Syntax highlighting
  • Fast, lightweight
  • Tabs
  • GUI
18
1/12/2010 10:02:07 AM

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.

General hints:

  • Setting up a Makefile for your project is almost always worth it.
  • Using cscope and or ctags will make your life easier.

Vim hints:

  • :make
  • :cn, :cp
  • OmniCompletion
  • using BufRead autoloads to set what :make should do depending on file type

Emacs hints:

  • 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.


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon