Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Commit

Permalink
- merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
3ripleM committed Apr 17, 2019
2 parents 5654f21 + 9710b86 commit a1a4fe2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

When you write epic code, you'll need some epic music!

This extension plays funny sound clips and epic musics on Visual Studio.
This extension plays funny sound clips and epic musics on Visual Studio Code.

![play epic music Visual Studio](https://image.ibb.co/hjDztv/code_champion_plugin.gif)

## How To Install

search for `Code Champion` in vs code extension gallery or download installation file from vsix folder or build source code
you can download it from [VS Code Extension Marketplace](https://marketplace.visualstudio.com/itemdetails?itemName=CodeChampion.codechampion-vscode) or search for `Code Champion` in vs code extension gallery or download installation file from `vsix` folder.

## How To Use

1. Press `F7` to play the victory sound
2. Press `F8` to play the fail sound
3. Press `F12` to stop the sound
4. Change victory and fail sound in Visual Studio Code options (look for Code Chamption Settings)
4. Change victory and fail sound in Visual Studio Code options (look for `Code Chamption` Settings)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "codechampion-vscode",
"displayName": "Code Champion",
"description": "Plays epic sound clips when you write epic code on Visual Studio Code",
"version": "0.0.1",
"version": "0.0.2",
"publisher": "CodeChampion",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export function activate(context: vscode.ExtensionContext) {
const message = vscode.window.setStatusBarMessage("Stahp pushing that button!", 2000);
statusMessage.push(message);
} else {
console.log('hey')
playSound('win')
.then((duration: any) => {
const message = vscode.window.setStatusBarMessage("Congratulations!", duration * 1000);
Expand Down
Binary file not shown.

0 comments on commit a1a4fe2

Please sign in to comment.