netbeanscoding-styletextmatecode-folding

Collapse all file code on 1 line


Is there anyway way to collapse text all on 1 line with TextMate or Netbeans IDE?


Solution

  • You mean like visually collapse (why would you do that?) or in the sense of "remove linebreaks"? For the latter case, search for "\n" and replace with "", make sure "Regular expression" is checked.