Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Special Code FoldingNew to Visual Studio Code? Get it now.
Special Code Folding

Special Code Folding

WangQianao

|
1,097 installs
| (1) | Free
Special Code folding plugin based-on-different-concerns,such as VariableDeclaration,BranchControl and so on
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-specialcodefolding

The vscode plugin can perform special folding on all methods in the code according to the specified focus. For example, if the focus is a variable declaration statement, this plugin will add a strikethrough to the code in all methods in the code except for the variable declaration statement. Moreover, this plugin can generate a code summary based on the code and evaluate the importance of the code statement. Different importance causes sentences to be painted in different colors.

English | 中文

GitHub


Features

1.codeFolding based on VariableDeclaration

2.codeFolding based on BranchControl

3.codeFolding based on ConcreteAction in Function

4.codeFolding based on FunctionParams

5.codeFolding based on Returnvalue of Function

6.codeFolding based on Exception

7.get method summary

8.Evaluate the importance of statements within a method based on the method summary(7 and 8 Rely on deep learning, because there is no GPU server, so can't experience them yet)


How to flod(Does not require manual selection by the user)

How to get the summaryof the method and Evaluate the importance of statements within a method based on the method summary(Requires the user to manually select the method that needs to generate a summary)

3月14日 1.gif


Config

Base Config

Name Type Default Description
codeFolding kind string VariableDeclaration codeFolding kind

How to change the focus of the fold


file structure

The codeFoldingBackend folder stores the backend written using the django framework, which is used to generate a summary of the code selected by the user and evaluate the importance of the code based on the summary

The codeFoldingExtension_vscode folder stores the code for writing plugin on the vscode side


Problem

Currently the plugin only supports folding javascript code


LICENSE

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft