Skip to content

bradlee2018/JavaScriptRegions

 
 

Repository files navigation

NOTE: as of version 1.17 released September 2017, the core Visual Studio Code supports #region folding for JavaScript and TypeScript. See https://code.visualstudio.com/updates/v1_17#_editor and https://stackoverflow.com/a/46597272/4200039

JavaScript Regions

修改了源工程的支持版本,支持VS2019


Adds support for region comments in JavaScript and TypeScript files

See the change log for changes and road map.

Features

  • Region outlining/folding
  • Snippet for inserting region

Outlining

Creates collapsable regions in the JavaScript/TypeScript document.

Region Code

Here's the same code collapsed:

Region Collapsed

Snippet

A region snippet is provided in IntelliSense to make it easy to use regions in your code.

Completion region

This will insert the region and place the cursor in the right location.

Region Snippet

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

About

A Visual Studio extension

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 67.0%
  • C# 31.3%
  • Vim Snippet 1.7%