Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need the code folding property in gedit, and I found online a folding.gedit-plugin online, but it never works. My gedit is of version 3.2.1, and it is said that the plugin folding.gedit-plugin was made for 2.x version only.

So is there a code folding plugin for gedit of version 3.2.1? Thanks!

share|improve this question
Interested too. Anyone has an answer to this problem? I need the same for version 3.2.3. – Elysium Nov 23 '12 at 10:23
@Elysium - I dont have access to v3.2.3 - but does the code-folding plugin here work for you? – fossfreedom Nov 23 '12 at 12:01

As an alternative, What about VIM editor? It's the best editor I've used ever. It works with lot of code, JAVA, Perl, html, css, C, C++, Python, LaTex... etc lot of them. work fine.

sudo apt-get install vim
share|improve this answer

according to this question: Is there code folding for gedit? , it seems difficult to have code folding in gedit 3.x but there's one option that does the job (see answers from the link above).

As an alternative, I would suggest you to install geany which is a simple and lightweight text/code editor in ubuntu repos ( sudo apt-get install geany) and you can enable code folding by simply going to edit>preferences>editor and checking "code folding". You can also remove any extra panes (side or bottom panes) to make it feel as simple as it is gedit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.