Skip to content

Commit

Permalink
docs: Added README & versioning scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Sep 21, 2023
1 parent d415cbc commit 9eb3156
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 1 deletion.
41 changes: 40 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
# Visual Studio Outlining

VS Code extension that adds Visual Studio outlining capabilities
[![Marketplace](https://img.shields.io/visual-studio-marketplace/v/MichaelJolley.vscode-vs-outlining)](https://marketplace.visualstudio.com/items?itemName=MichaelJolley.vscode-vs-outlining) [![Installs](https://img.shields.io/visual-studio-marketplace/i/MichaelJolley.vscode-vs-outlining?color=blue&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=MichaelJolley.vscode-vs-outlining) [![MIT](https://img.shields.io/badge/license-MIT-orange.png?color=blue&style=flat-round)](https://opensource.org/licenses/MIT)

![CI](https://img.shields.io/github/actions/workflow/status/michaeljolley/vscode-vs-outlining/CI.yml?logo=github)

A simple extension that adds Visual Studio's outlining (code folding) to Visual
Studio Code.

![Screenshot of a code editor with the outlining context menu](https://github.com/MichaelJolley/vscode-vs-outlining/assets/1228996/cefb7902-97e6-4b02-9217-24524337123a)

## Commands

This extension contributes the following commands:

### Expand Outlines

This command behaves like Visual Studio's `Edit > Outlining > Toggle Outlining
Expansion` command.

It is also accessible via the following keybindings:

- `Ctrl+M M` (Windows)
- `Cmd+M M` (Mac)

### Toggle All Outlining

This command behaves like Visual Studio's `Edit > Outlining > Toggle All Outlining` command.

It is also accessible via the following keybindings:

- `Ctrl+M L` (Windows)
- `Cmd+M L` (Mac)

### Collapse To Definitions

This command behaves like Visual Studio's `Edit > Outlining > Collapse To Definitions` command.

It is also accessible via the following keybindings:

- `Ctrl+M O` (Windows)
- `Cmd+M O` (Mac)
15 changes: 15 additions & 0 deletions package.release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'semantic-release-vsce',
{
packageVsix: true,
publish: false, // no-op since we use semantic-release-stop-before-publish
},
],
'semantic-release-stop-before-publish',
],
};
29 changes: 29 additions & 0 deletions publish.release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
npmPublish: false,
tarballDir: 'false',
},
],
'@semantic-release/git',
[
'semantic-release-vsce',
{
packageVsix: false,
publishPackagePath: '*/*.vsix',
},
],
[
'@semantic-release/github',
{
assets: '*/*.vsix',
},
],
],
};

0 comments on commit 9eb3156

Please sign in to comment.