Recent

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

AlexTP

  • Hero Member
  • *****
  • Posts: 2401
    • 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: 14368
  • Sensorship about opinions does not belong here.
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.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9864
  • 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: 2401
    • UVviewsoft

 

TinyPortal © 2005-2018