Describes language specific folding markers such as '#region' and '#endregion'. The start and end regexes will be tested against the contents of all lines and must be designed efficiently:

  • the regex should start with '^'
  • regexp flags (i, g) are ignored
interface FoldingMarkers {
    end: RegExp;
    start: RegExp;
}

Properties

Properties

end: RegExp
start: RegExp