You can download here! 🎉
This repository is my first practice to implement a simple NBA boxscore extension on Visual Studio Code (VSCode) using TypeScript. For now, we enable users to see the live score and further detail of daily matches.
HINT: If you have any questions, please feel free to ask me.
- Open the command palette (
Ctrl+Shift+P
) and typeShow games today
. - Then, you will see the score of the games in the status bar (left-bottom side).
- Click the item in the status bar and you will see the menu of all games today.
- To see the detail of the game, you can click the game in the menu.
- Open the command palette (
Ctrl+Shift+P
) and typeSearch games in the past
. - Enter the date that you want to search (Format:
YYYY-MM-DD
) - A few second later, you will see the games in the status bar (ledt-bottom side).
- Click the item in the status bar and you will see the menu of all games.
- To see the detail of the game, you can click the game in the menu.
Search "nba-boxscore" in Marketplace and install our extensions.
- Open the terminal and run the following command:
$ vsce package
- If succeed, you will see the result like this:
Executing prepublish script 'yarn run vscode:prepublish'...
yarn run v1.22.4
$ yarn run compile
$ tsc -p ./
✨ Done in 2.92s.
INFO Detected presence of yarn.lock. Using 'yarn' instead of 'npm' (to override this pass '--no-yarn' on the command line).
This extension consists of 145 files, out of which 104 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
DONE Packaged: /Users/davidlu/Projects/nba-boxscore/nba-boxscore-0.0.1.vsix (145 files, 489.89KB)
This extension contributes the following settings:
nba-boxscore.activate
: Activate this extensionnba-boxscore.showMenu
: Show all games todaynba-boxscore.searchHistory
: Search the NBA games in the pastnba-boxscore.exit
: Exit this extension
NOTICE: You can follow the contributing process CONTRIBUTING.md to join me. I am very welcome for any issue!