Code folding is a feature of some text editors and IDEs that allow some text to be temporarily hidden or "collapsed" in order to hide detail.

learn more… | top users | synonyms

3
votes
1answer
19 views

Code folding in Kile

Kile allows me to fold the ocde in between begin-end blocks. However, I am interested in manually grouping parts of the text. Is there a way to do that? To give an example from another IDE, Netbeans ...
5
votes
1answer
901 views

How to code-fold in TeX-Studio or LaTeX in general?

I want to fold the whole part before \begin{document} where it is just formatting the LaTeX document. Is there a way to do this in LaTeX, in general, or at least in TeXstudio? Could I use some ...
1
vote
1answer
231 views

Folding commented sections in Texstudio 2.6.6

I want to know, if and how can I apply code folding to commented out sections in Texstudio 2.6.6?
0
votes
0answers
248 views

LaTeX editor with in-line folding

Quick question. Are there LaTeX editors that can do in-line folding? That is, that can fold a demarcated piece of code or text without having that piece of code or text on its own line or group of ...
3
votes
0answers
152 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
5
votes
1answer
92 views

Auctex: bug in LaTeX-mark-environment?

Before I send this on to the developers, I'd like to know if others can confirm this problem. Consider these two environments: \begin{flalign*} sdfsdf \end{flalign*} \begin{flalign*} && ...
2
votes
1answer
618 views

How can I fold sections containing include commands in TeXMaker?

I have used Emacs to edit my .tex files and I got used to the fold/unfold option. I am back to TeXMaker for some time and I would like to also fold/unfold sections, subsections and so on. This can be ...
1
vote
1answer
169 views

Folding file-specific macros in AUCTeX

What is the best way to have AUCTeX fold some math macros specifically for one file? For example in this very trivial example: \documentclass{minimal} \newcommand{\foo}{\lambda} \begin{document} ...
2
votes
1answer
390 views

How to use code folding with Aquamacs?

I would like to use code folding with Aquamacs but I don't find any reference to do it. I would like to fold the figure and the paragraph. I've already tried all the combination listed here. Can ...
9
votes
1answer
1k views

vim: nice folding function

I use Latex-Box but I really like vim-latex (a.k.a Latex-Suite) folding. I tried to copy Latex-Suite's folding.vim file to my ftplugin/tex folder but cannot make it work. Has anyone written a nice ...
3
votes
1answer
96 views

Maintain display of arguments for certain folded environments with AUCTeX

When working with some environments (function and friends from l3doc prompted this), it is desirable to have the environment's arguments visible at all times: Some text that, in reality, shouldn't be ...
24
votes
1answer
723 views

Folding braces in Emacs/AucTeX

I have some code looking like this: 142 \newcommand*\john[2]{ 143 blah blah blah blah 144 blah blah 145 blah blah blah 146 blah 147 } 148 149 \newcommand*\peter[3]{ 150 blah blah ...
10
votes
2answers
2k views

Folding entire section in AUCTeX?

I'm new to AUCTeX and I wonder: is it possible to fold entire sections or subsections of a LaTeX document for a better overview, so that they are only represented by their headline (kind of a tree ...
10
votes
2answers
3k views

Code folding in LaTeX

The editor that I use, Texmaker, provides code folding only for things in the language, like \section and \begin{foo} ... \end{foo}. I would like to be able to make my own folding sections, like in ...
5
votes
3answers
639 views

Is there an editor with code block folding, one click dvi-ps-pdf compilation, etc?

I am a Windows user and using TeXnicCenter now. But I want to change to another one because TeXnicCenter does not provide us with a code block folding. The new editor I want to use: runs on ...
8
votes
2answers
944 views

Can one “fold” part of the paragraphs in LyX

By "folding", I mean condense some part of the codes, and by one click , you can unfold them.