mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Add typescript dependency
This commit is contained in:
@ -61,8 +61,8 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
}
|
||||
var regEx = /\d+/g;
|
||||
var text = activeEditor.document.getText();
|
||||
var smallNumbers : vscode.RangeWithMessage[] = [];
|
||||
var largeNumbers : vscode.RangeWithMessage[] = [];
|
||||
var smallNumbers : vscode.DecorationOptions[] = [];
|
||||
var largeNumbers : vscode.DecorationOptions[] = [];
|
||||
var match;
|
||||
while (match = regEx.exec(text)) {
|
||||
var startPos = activeEditor.document.positionAt(match.index);
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"publisher": "Microsoft",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"vscode": "0.10.0-dev"
|
||||
"vscode": "0.10.x"
|
||||
},
|
||||
"categories": [
|
||||
"Others"
|
||||
@ -19,6 +19,7 @@
|
||||
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vscode": "next"
|
||||
"vscode": "0.10.x",
|
||||
"typescript": "^1.6.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user