- 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
820097a
32edbcf
4be011f
6993147
04653e2
b51dd2f
89045a3
9bcf64c
cc176e6
e88651e
f8c527e
634a6d4
9241fef
563874f
54e06de
81a1041
aa1a8b8
69b7e81
c4a05ca
826f2e7
97cf2a1
567c6a6
01d2669
File 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.