Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

More alignment with the latest vscode extension dev setup #2

Merged
merged 2 commits into from
Oct 21, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/goFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ class FormattingSupport implements vscode.Modes.IFormattingSupport {
});
}

// TODO: work around bug that Code always calls formatRange
public formatRange(document: vscode.TextDocument, range: vscode.Range, options: vscode.Modes.IFormattingOptions, token: vscode.CancellationToken): Thenable<vscode.Modes.ISingleEditOperation[]> {
return this.formatDocument(document, options, token)
}

public formatDocument(document: vscode.TextDocument, options: vscode.Modes.IFormattingOptions, token: vscode.CancellationToken): Thenable<vscode.Modes.ISingleEditOperation[]> {
return document.save().then(() => {
return this.doFormatDocument(document, options, token);
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"module": "commonjs",
"outDir": "out",
"sourceMap": true,
"target": "es5"
"target": "es5",
"noLib": true
},
"exclude": [
"node_modules"
Expand Down
113 changes: 0 additions & 113 deletions typings/es6-collections/es6-collections.d.ts

This file was deleted.

Loading