vscode-work

Suggestion for Language “Pattern Folding” Rules

This is a proposed addition to Visual Studio Code to add parameters to configure code folding.

Nothing here is intended to be final. It is a work in progress. If it has a future that may include changes small or huge. Suggestions and feedback would be very welcome.

Click here for a description of the parameters and proposed functionality.

This repository is a fork of the vscode source which contains changes to implement this feature.

The code is in this file. Changes to other source files are minor to support loading the folding parameters and to invoke the new code.

Two new editor settings are present. They may not exist in the long term. They are present for now to make it easy to compare two ways of doing things and to find out whether both are wanted: