Recent

Author Topic: Fold comments only if they are N lines  (Read 207 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1145
    • UVviewsoft
Fold comments only if they are N lines
« on: September 04, 2020, 12:03:15 pm »
This is needed for IDE.
IDE folds all multi-line comments, .e.g this one

procedure A;
//desc
//text
begin

This is not needed! 2 lines are no neeed to fold!
Pls make the IDE option like "Number of commented lines which are foldable".

Thaddy

  • Hero Member
  • *****
  • Posts: 10516
Re: Fold comments only if they are N lines
« Reply #1 on: September 04, 2020, 12:40:49 pm »
Code folding - or comment folding - can only sensibly parsed in whole blocks.
IMHO there is no need for it either.
If I understand you correctly what you mean is the ability to truncate some of single line comments. I can't see the point.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6675
  • Debugger - SynEdit - and more
    • wiki
Re: Fold comments only if they are N lines
« Reply #2 on: September 04, 2020, 02:06:29 pm »
Please add a feature request on Mantis. Thanks

Alextp

  • Hero Member
  • *****
  • Posts: 1145
    • UVviewsoft

 

TinyPortal © 2005-2018