Как в текстовом редакторе Eclipse переформатировать /заполнить /выровнять абзац по ширине до 80 символов?

When editing text files in Eclipse, for instance, a README file, I have not yet found a way to get the editor to reformat paragraphs of text so that they fit in a reasonable width (typically 80 characters). This seems like it should be a very common thing to want to do, but I haven't found it. Can anyone help?

Note that I'm not talking about soft text wrapping here - I want to hit some key combination and have Eclipse insert and remove actual newline characters so that the file looks OK when viewed in a basic text editor. Essentially, the same thing that the 'fill-paragraph' function on Emacs does. I'm aware that certain specific source code editors have intelligent reformatters that work with comments, but the basic text editor doesn't seem to have anything.

If this doesn't exist I may have to go and write something myself...

7 голосов | спросил Simon 16 thEurope/Moscowp30Europe/Moscow09bEurope/MoscowThu, 16 Sep 2010 00:49:06 +0400 2010, 00:49:06

0 ответов

Похожие вопросы

Популярные теги

security × 330linux × 316macos × 2827 × 268performance × 244command-line × 241sql-server × 235joomla-3.x × 222java × 189c++ × 186windows × 180cisco × 168bash × 158c# × 142gmail × 139arduino-uno × 139javascript × 134ssh × 133seo × 132mysql × 132