- fix: don't
foldBeforeFirstLine
if the beginning and ends of the fold are on the same line
- fix: use
perFiles
even ifdefaultFoldingRangeProvider
isn't set - add
Nudge foldings
command - suport a list of languages as identifier
- add
include
rule - add
foldBeforeFirstLine
flag to Begin/End rule - add
nested
rules to indentation provider
- fix indentation provider with filter
- fix
explicitFolding.additionalSchemes
andexplicitFolding.debug
to be configureable per language - add
begin
/beginRegex
to indentation provider to filter folding regions - add
explicitFolding.perFiles
to have complete new set of rules for specific files
- support
editor.defaultFoldingRangeProvider
setting - remove deprecated features
- must run on the remote server
- can run remotely
explicitFolding.wilcardExclusions
has been replaced withexplicitFolding.wildcardExclusions
(with ad
)- improved documentation thanks to @OCRenkist
- it’s a web extension
- correctly register languages whose settings are defined by another extension
- improve activation events
- add more capabilities
- fix renamed files after linting the project
- add
additionalSchemes
property to support schemes created by extensions
- add
bypassProtection
property to be able to match empty lines
- fix non-nested rules with capture groups
- fix capture groups in nested rules
endRegex
with refs are generated on the run- update icon
- add API to support external rules
- fix indented languages by avoiding to define the folding provider
- add the
explicitFolding.wilcardExclusions
configuration
- add the
explicitFolding.autoFold
configuration to automatically fold ranges when opening a file
- fix new conflict between rules when
foldLastLine
andnested
arefalse
- better explanation of
consumeEnd
in the documentation
- fix how the next offset is calculated
- fix
consumeEnd
withbegin
andend
on same line - exit secondary loop at the end of the match, not at the next line
- manually published on Visual Studio Marketplace
- fix issue with repeated
"strict": "never"
- change icon
- fix conflict between rules when both
foldLastLine
andnested
arefalse
- add icon
- fix infinite loop with single-line and non-nested regions
- fix global
explicitFolding.rules
- fix how to determine that the
folding
configuration isn't used
- rename the
folding
configuration toexplicitFolding.rules
(folding
is supported until July 1st, 2022) - rename the
startupDelay
configuration toexplicitFolding.delay
- the configurations
explicitFolding.rules
,explicitFolding.debug
, orexplicitFolding.delay
now can be placed in a language's section - the
descendants
property is regrouped with thenested
property - the
begin/end
rule now fully supports thenested
property as an array of rules - add
begin/while
rule - add
while
rule - add documentation for each rule and its applicable properties
- fix
^
in the alternate loop for non-nested blocks - improve debug messages
- use the deferred provider so that the real folding provider is loaded after the language's folding provider. By doing so, the folding ranges provided by this extension are given a higher priority, such that VSCode is using ours instead of those from the language's folding provider.
- fix need to reload VSCode when changing
explicitFolding.debug
- add the
explicitFolding.debug
configuration to print out debug information into theFolding
channel of theOutput
panel - add
foldEOF
property, which will close any unresolved folding at the end of the file - add
foldBOF
property, only for separators - add
descendants
property, only for separators - add
strict
property, only for separators - now
^
correctly matches the beginning of a line - use new regex parser to support
(?<=y)x
,(?<!y)x
,(?i)x
and(?i:x)
- add unit tests
- add
indentation
property - add flag indicating that the extension is managing how to fold the last line (only for MrCode)
- add dynamic
foldLastLine
- register provider to all applicable schemes
- allow provider on all schemes
- fix
README.md
- add the configuration
explicitFolding.startupDelay
, which will delay the registration of the folding providers when starting up VSCode (set to1000 ms
by default). This fixes the issue where the editor wasn't using the correct folding providers at startup. - add the configuration
explicitFolding.notification
to manage update notifications. By default, the notifications will be shown only for minor revisions.
- fix
continuation
marker when the first match doesn't include the line-continuation character - fix infinite loop on configuration
- improve handling of non-nested rules to test only necessary regular expressions (regex)
- add
continuation
marker - fix infinite loop due to zero-length regular expressions
- fix capturing groups
- add
nested
property
- support docstring blocks
- add
separator
property
- fix missing dependency
- support capturing groups
- fix known issue only present for MrCode
- fix bug when
begin
andend
markers are on the same line - add
middle
marker - add
foldLastLine
property - add
kind
property to indicate if the range is acomment
or aregion
- show a message when the extension is updated
- update dependencies due to a security issue
- catch error due to bad regex
- change configuration's properties
begin
andend
as regular string (not regex) - add configuration's properties
beginRegex
andendRegex
to be able to use regex
- rename repository
- rename extension
- support multiple markers for a language
- rename configuration's property
start
tobegin
- fix an error in the settings
- update folding controls upon changes in the configuration
- fix formatting
- initial release