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!

  • 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
  • 1
    @Elysium - I dont have access to v3.2.3 - but does the code-folding plugin here work for you? github.com/gmate/gmate – 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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