Skip to content

Commit

Permalink
Minor changes related to MS VS Code Extension Gallery.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfurzewaddock committed Feb 17, 2016
1 parent 89524df commit 3c9a946
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 53 deletions.
1 change: 0 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ typings/**
.gitignore
jsconfig.json
vsc-extension-quickstart.md
*.png
*.psd
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

48 changes: 26 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,33 @@

![vscode-opn](vscode-opn.png)

> Microsoft Visual Studio Code extension integrating opn.
> Microsoft Visual Studio Code extension integrating node.js module: opn
> Opens files in the default application for the file type set in the OS.
> Opens files in the default application for the file type set in the OS
## Dependencies

- [opn](https://github.com/sindresorhus/opn)

## Install

### Packaged Extension (.vsix)
### Easiest from the Extension Gallery

Download the latest `vscode-opn.vsix` from [GitHub Releases](../../releases)
1. Start VS Code.

2. From within VS Code press `F1`, then type `ext install`.

3. Select `Extensions: Install Extension` and click or press `Enter`.

4. Wait a few seconds for the list to populate and type `Open File in App`.

5. Click the install icon next to the `Open File in App` extension.

6. Restart VS Code to complete installing the extension.

### Alternatively, with the Packaged Extension (.vsix) file

Download the latest `vscode-opn.vsix` from [GitHub Releases](../../releases).

You can manually install the VS Code extension packaged in a .vsix file.

Expand All @@ -24,11 +38,11 @@ Execute the VS Code command line below providing the path to the .vsix file;

code myExtensionFolder\vscode-opn.vsix

Depending on your platform `myExtensionFolder` is located:
Depending on your platform replace `myExtensionFolder\` with;

- Windows:- `%USERPROFILE%\.vscode\extensions`
- Mac:- `$HOME/.vscode/extensions`
- Linux:- `$HOME/.vscode/extensions`
- Windows:- `%USERPROFILE%\.vscode\extensions\`
- Mac:- `$HOME/.vscode/extensions/`
- Linux:- `$HOME/.vscode/extensions/`

Option 2)

Expand All @@ -38,22 +52,12 @@ From within VS Code open the 'File' menu, select 'Open File...' or press Ctrl+O,

The extension will be installed under your user .vscode/extensions folder.

<!--
1. Press <kbd>F1</kbd>, then type `ext install`
2. Select `Extensions: Install Extension` and click or press <kbd>Enter</kbd>
3. Wait a few seconds for the list to download and type `vscode-opn`
4. Click the install icon next to the `vscode-opn` extension in the list
-->

## Usage

Execute the extension with the keyboard shortcut;

- **Mac**: <kbd>Command</kbd> + <kbd>Alt</kbd> + <kbd>O</kbd>
- **Windows/Linux**: <kbd>Control</kbd> + <kbd>Alt</kbd> + <kbd>O</kbd>
- **Mac**: `Command` + `Alt` + `O`
- **Windows/Linux**: `Ctrl` + `Alt` + `O`


## Tested
Expand All @@ -79,8 +83,8 @@ Execute the extension with the keyboard shortcut;
## Contributions

- Please use [Github Issues](../../issues), for feedback, feature suggestions, comments and reporting bugs.
- Feel free to fork this project and create pull requests with new features and/or bug fixes
- Help with bugs/issues specific to other platforms such as OSX and Linux is particularly welcome
- Feel free to fork this project and create pull requests with new features and/or bug fixes.
- Help with bugs/issues specific to other platforms such as OSX and Linux is particularly welcome.

## License
[MIT](LICENSE.txt)
33 changes: 24 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
{
"name": "vscode-opn",
"displayName": "vscode-opn: Open files in your default application",
"description": "Integrates opn to open files in the default application for the file type set in the OS",
"version": "1.0.0",
"displayName": "Open File in App",
"description": "Integrates node.js module 'opn' to open files in the default application for the file type set in the OS",
"version": "1.0.2",
"publisher": "lfurzewaddock",
"icon": "vscode-opn.png",
"galleryBanner": {
"color": "#A88037",
"theme": "dark"
},
"color": "#A88037",
"theme": "dark"
},
"keywords": [
"open",
"launch",
"file",
"program",
"app",
"application",
"default",
"html",
"htm",
"txt",
"json",
"xml",
"log"
],
"bugs": {
"url": "https://github.com/lfurzewaddock/vscode-opn/issues"
},
"url": "https://github.com/lfurzewaddock/vscode-opn/issues"
},
"homepage": "https://github.com/lfurzewaddock/vscode-opn/blob/master/README.md",
"repository": {
"type": "git",
Expand Down Expand Up @@ -54,4 +69,4 @@
"vscode": "^0.11.0"
},
"license": "See LICENSE.txt"
}
}

0 comments on commit 3c9a946

Please sign in to comment.