Skip to content

madskristensen/JavaScriptRegions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Build status

Download this extension from the VS Marketplace or get the CI build.


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

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages