Skip to content

[folding] implement vim markers folding #41633

Description

@fsoft72
  • VSCode Version: Code 1.19.2 (490ef76, 2018-01-10T15:49:04.682Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
Extension Author (truncated) Version
path-intellisense chr 1.4.2
vscode-babel-coloring dza 0.0.4
rest-client hum 0.16.2
hg mrc 1.2.3
python ms- 0.9.1
markdown-preview-enhanced shd 0.3.2
vim vsc 0.10.9

Implement the folding method present in vim, where you can define a folding section by specifying the block with: "{{{" and "}}}" respectively.
Furthermore you can have a "title" for the block because everything in the "{{{" line will be shown as text.

For example:

{{{ require ( self, a, b c )

def require ( self, a, b, c ):
print "hello"

}}}

will be folded in:

require ( self, a, b, c )

Thanks :-)

Metadata

Metadata

Assignees

Labels

editor-foldingEditor code folding issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions