- Notifications
You must be signed in to change notification settings - Fork42
Setup#3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Setup#3
Changes from12 commits
820097a32edbcf4be011f699314704653e2b51dd2f89045a39bcf64ccc176e6e88651ef8c527e634a6d49241fef563874f54e06de81a1041aa1a8b869b7e81c4a05ca826f2e797cf2a1567c6a601d2669File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -16,7 +16,6 @@ | ||
| "source.fixAll":true, | ||
| }, | ||
| "tslint.enable":true, | ||
| "[javascript]": { | ||
| "editor.formatOnSave":true | ||
| }, | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #Todos | ||
| - add to scripts when url fixed | ||
| ``` | ||
| "postinstall": "node ./node_modules/vscode/bin/install", | ||
| ``` |
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| import * as vscode from 'vscode' | ||
| import start from './start' | ||
| // import runTest from './runTest' | ||
| // import loadSolution from './loadSolution' | ||
| // import quit from './quit' | ||
| const COMMANDS = { | ||
| // TUTORIAL_SETUP: 'coderoad.tutorial_setup', | ||
| START: 'coderoad.start', | ||
| // RUN_TEST: 'coderoad.test_run', | ||
| // LOAD_SOLUTION: 'coderoad.solution_load', | ||
| // QUIT: 'coderoad.quit', | ||
| } | ||
| export default (context: vscode.ExtensionContext): void => { | ||
| const commands = { | ||
| [COMMANDS.START]: async function startCommand(): Promise<void> { | ||
| return start(context) | ||
| }, | ||
| // [COMMANDS.RUN_TEST]: runTest, | ||
| // [COMMANDS.LOAD_SOLUTION]: loadSolution, | ||
| // [COMMANDS.QUIT]: () => quit(context.subscriptions), | ||
| } | ||
| for (const cmd in commands) { | ||
| const command: vscode.Disposable = vscode.commands.registerCommand(cmd, commands[cmd]) | ||
| context.subscriptions.push(command) | ||
| } | ||
| } |
Uh oh!
There was an error while loading.Please reload this page.