diff --git a/extensions/debug-auto-launch/src/extension.ts b/extensions/debug-auto-launch/src/extension.ts index 1c6458bafea089a034fa55dd213182989de63231..e0fd5e76659a56723c8b59da6571760473b8bc1e 100644 --- a/extensions/debug-auto-launch/src/extension.ts +++ b/extensions/debug-auto-launch/src/extension.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as vscode from 'vscode'; import * as nls from 'vscode-nls'; diff --git a/extensions/emmet/src/bufferStream.ts b/extensions/emmet/src/bufferStream.ts index 6f71b0909c185e1588c2ff3504d9253e79f3d744..81702969f74b224130def65b7ba2cec2c43811c1 100644 --- a/extensions/emmet/src/bufferStream.ts +++ b/extensions/emmet/src/bufferStream.ts @@ -5,8 +5,6 @@ /* Based on @sergeche's work in his emmet plugin */ -'use strict'; - import { TextDocument, Position, Range, EndOfLine } from 'vscode'; /** diff --git a/extensions/emmet/src/imageSizeHelper.ts b/extensions/emmet/src/imageSizeHelper.ts index ae4d12b688f7fdaa51ab28d4faf1d91790e38269..13ae22391bae285e15f5421f223769fd30a94bdb 100644 --- a/extensions/emmet/src/imageSizeHelper.ts +++ b/extensions/emmet/src/imageSizeHelper.ts @@ -6,8 +6,6 @@ // Based on @sergeche's work on the emmet plugin for atom // TODO: Move to https://github.com/emmetio/image-size -'use strict'; - import * as path from 'path'; import * as http from 'http'; import * as https from 'https'; diff --git a/extensions/emmet/src/test/testUtils.ts b/extensions/emmet/src/test/testUtils.ts index c90691c091671b95229f6ab0acd32efc02ad15f2..ddac136080f6c587607b977556e06777d20fd869 100644 --- a/extensions/emmet/src/test/testUtils.ts +++ b/extensions/emmet/src/test/testUtils.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as vscode from 'vscode'; import * as fs from 'fs'; import * as os from 'os'; diff --git a/extensions/emmet/src/updateImageSize.ts b/extensions/emmet/src/updateImageSize.ts index ba674b5ebc93176451a83f233efd41db9b643d5b..b7425edb314110cb541b5fc0c4ae50d967acfedb 100644 --- a/extensions/emmet/src/updateImageSize.ts +++ b/extensions/emmet/src/updateImageSize.ts @@ -5,8 +5,6 @@ // Based on @sergeche's work on the emmet plugin for atom -'use strict'; - import { TextEditor, Range, Position, window, TextEdit } from 'vscode'; import * as path from 'path'; import { getImageSize } from './imageSizeHelper'; diff --git a/extensions/extension-editing/src/extension.ts b/extensions/extension-editing/src/extension.ts index 47ef6d64a5df58432400b53e3cfd0833d8bbc961..1d07c907acd7f9f3756fe76b0fb5c8bb40e66e82 100644 --- a/extensions/extension-editing/src/extension.ts +++ b/extensions/extension-editing/src/extension.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as vscode from 'vscode'; import * as ts from 'typescript'; import { PackageDocument } from './packageDocumentHelper'; diff --git a/extensions/git/src/api/api1.ts b/extensions/git/src/api/api1.ts index 3aec2fa72a02030b7c4881f4c22f7dbaf268e3ce..783fdf857ad7f388082bf642fa26be54f6f4ec83 100644 --- a/extensions/git/src/api/api1.ts +++ b/extensions/git/src/api/api1.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Model } from '../model'; import { Repository as BaseRepository, Resource } from '../repository'; import { InputBox, Git, API, Repository, Remote, RepositoryState, Branch, Ref, Submodule, Commit, Change, RepositoryUIState } from './git'; diff --git a/extensions/git/src/api/extension.ts b/extensions/git/src/api/extension.ts index 7589a78e59a553a6563948742fe555247ec83370..1ca1892a7bd93bf2cb9d9d7edc2334410977792e 100644 --- a/extensions/git/src/api/extension.ts +++ b/extensions/git/src/api/extension.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Model } from '../model'; import { GitExtension, Repository, API } from './git'; import { ApiRepository, ApiImpl } from './api1'; diff --git a/extensions/git/src/askpass-main.ts b/extensions/git/src/askpass-main.ts index 3f2588d19391e1f111ff1dc757ad80ea3b70a4b7..5da46215a1a1be3cf6704192dbf11413846edc9c 100644 --- a/extensions/git/src/askpass-main.ts +++ b/extensions/git/src/askpass-main.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as http from 'http'; import * as fs from 'fs'; import * as nls from 'vscode-nls'; diff --git a/extensions/git/src/askpass.ts b/extensions/git/src/askpass.ts index b88e1e7ad2628fca468875a300c9eaecbc3b0310..b0dc28f8dd6ba5c28dddadd406104f8028faa95b 100644 --- a/extensions/git/src/askpass.ts +++ b/extensions/git/src/askpass.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Disposable, window, InputBoxOptions } from 'vscode'; import { denodeify } from './util'; import * as path from 'path'; diff --git a/extensions/git/src/autofetch.ts b/extensions/git/src/autofetch.ts index 33439a8d31546ae4ce207097b5a4a784cc15abee..bd95f7dc03fe0b0072a8987df1a185210f71525a 100644 --- a/extensions/git/src/autofetch.ts +++ b/extensions/git/src/autofetch.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { workspace, Disposable, EventEmitter, Memento, window, MessageItem, ConfigurationTarget } from 'vscode'; import { Repository, Operation } from './repository'; import { eventToPromise, filterEvent, onceEvent } from './util'; diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 0ae963565fd279fc62bea045db8cf5bf18803b15..9c8387158403985bf35eafbfe2c04d731364686d 100755 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Uri, commands, Disposable, window, workspace, QuickPickItem, OutputChannel, Range, WorkspaceEdit, Position, LineChange, SourceControlResourceState, TextDocumentShowOptions, ViewColumn, ProgressLocation, TextEditor, MessageOptions, WorkspaceFolder } from 'vscode'; import { Git, CommitOptions, Stash, ForcePushMode } from './git'; import { Repository, Resource, Status, ResourceGroupType } from './repository'; diff --git a/extensions/git/src/contentProvider.ts b/extensions/git/src/contentProvider.ts index 18af502194a7d2bd3dd0bb58d1261a6dcbcf0df9..1b7c08493ed7399d4db1f551382c6815805255f5 100644 --- a/extensions/git/src/contentProvider.ts +++ b/extensions/git/src/contentProvider.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { workspace, Uri, Disposable, Event, EventEmitter, window } from 'vscode'; import { debounce, throttle } from './decorators'; import { fromGitUri, toGitUri } from './uri'; diff --git a/extensions/git/src/decorationProvider.ts b/extensions/git/src/decorationProvider.ts index 339e83554d6051cc503c8242662678bdffe1f330..dcfbf569ec9f9cf52c912df2ff18ecce13089874 100644 --- a/extensions/git/src/decorationProvider.ts +++ b/extensions/git/src/decorationProvider.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { window, workspace, Uri, Disposable, Event, EventEmitter, DecorationData, DecorationProvider, ThemeColor } from 'vscode'; import * as path from 'path'; import { Repository, GitResourceGroup, Status } from './repository'; diff --git a/extensions/git/src/decorators.ts b/extensions/git/src/decorators.ts index 84e9f2159d25be7ce3120e761c522f1cfc3f3c4f..b1a25d4fd919a6b9a1d5e0cb50739e884ca4d84f 100644 --- a/extensions/git/src/decorators.ts +++ b/extensions/git/src/decorators.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { done } from './util'; function decorate(decorator: (fn: Function, key: string) => Function): Function { diff --git a/extensions/git/src/encoding.ts b/extensions/git/src/encoding.ts index d2bb831f1237ad74a5642ecc9c84be8af3ceab69..92f6edc12a8f358c3e4aa1c266d1b568c858fbc6 100644 --- a/extensions/git/src/encoding.ts +++ b/extensions/git/src/encoding.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as jschardet from 'jschardet'; jschardet.Constants.MINIMUM_THRESHOLD = 0.2; diff --git a/extensions/git/src/git.ts b/extensions/git/src/git.ts index 27f940e3bd5ae764255166b794beafe4d449d445..0deb723c9d013801103b7dad1bfccf1ccec213d8 100644 --- a/extensions/git/src/git.ts +++ b/extensions/git/src/git.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as fs from 'fs'; import * as path from 'path'; import * as os from 'os'; diff --git a/extensions/git/src/main.ts b/extensions/git/src/main.ts index 4ceaf8e5fb113b8ad70c9d4858d45a7c4ec23f60..1ff683150a5f1add39493cbcd15fa3c9e7f55264 100644 --- a/extensions/git/src/main.ts +++ b/extensions/git/src/main.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as nls from 'vscode-nls'; const localize = nls.loadMessageBundle(); diff --git a/extensions/git/src/model.ts b/extensions/git/src/model.ts index 2a2b831f2c470fc695313e5aa7d44b7ce37aa860..22c690a5dfdd2153e808d6a811b97237609f631d 100644 --- a/extensions/git/src/model.ts +++ b/extensions/git/src/model.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { workspace, WorkspaceFoldersChangeEvent, Uri, window, Event, EventEmitter, QuickPickItem, Disposable, SourceControl, SourceControlResourceGroup, TextEditor, Memento, OutputChannel } from 'vscode'; import { Repository, RepositoryState } from './repository'; import { memoize, sequentialize, debounce } from './decorators'; diff --git a/extensions/git/src/protocolHandler.ts b/extensions/git/src/protocolHandler.ts index 422ca3df739705f77ed39f27bc743cb489175e90..33f71b6aa8e077f87fee9297f86f9f615b3e6393 100644 --- a/extensions/git/src/protocolHandler.ts +++ b/extensions/git/src/protocolHandler.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { UriHandler, Uri, window, Disposable, commands } from 'vscode'; import { dispose } from './util'; import * as querystring from 'querystring'; diff --git a/extensions/git/src/repository.ts b/extensions/git/src/repository.ts index 23c644548e68c9b84b8d4b5a0e2ba56ac615cfbb..003a6ba2ea7649a872edc244197731fc2cb67aff 100644 --- a/extensions/git/src/repository.ts +++ b/extensions/git/src/repository.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { commands, Uri, Command, EventEmitter, Event, scm, SourceControl, SourceControlInputBox, SourceControlResourceGroup, SourceControlResourceState, SourceControlResourceDecorations, SourceControlInputBoxValidation, Disposable, ProgressLocation, window, workspace, WorkspaceEdit, ThemeColor, DecorationData, Memento, SourceControlInputBoxValidationType } from 'vscode'; import { Repository as BaseRepository, Commit, Stash, GitError, Submodule, CommitOptions, ForcePushMode } from './git'; import { anyEvent, filterEvent, eventToPromise, dispose, find, isDescendant, IDisposable, onceEvent, EmptyDisposable, debounceEvent } from './util'; diff --git a/extensions/git/src/staging.ts b/extensions/git/src/staging.ts index 17ebf05ebac0eb244a3332ba87de95cb31b8e530..1b9d03e96f049dbcb11a00a74e3ca38c05388d56 100644 --- a/extensions/git/src/staging.ts +++ b/extensions/git/src/staging.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { TextDocument, Range, LineChange, Selection } from 'vscode'; export function applyLineChanges(original: TextDocument, modified: TextDocument, diffs: LineChange[]): string { diff --git a/extensions/git/src/statusbar.ts b/extensions/git/src/statusbar.ts index b4e0f052e0b729bc3d85d2c9d72bb4bb26371652..cc007172d5f7bb9cbcf5616c6fdc3b23a5f2498f 100644 --- a/extensions/git/src/statusbar.ts +++ b/extensions/git/src/statusbar.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Disposable, Command, EventEmitter, Event, workspace, Uri } from 'vscode'; import { Repository, Operation } from './repository'; import { anyEvent, dispose } from './util'; diff --git a/extensions/git/src/uri.ts b/extensions/git/src/uri.ts index 70b1c647b0f908688914e48fa8ff320c8bd76376..2eb21adfd6f32c8890d8748cf1bb2ba66102edbe 100644 --- a/extensions/git/src/uri.ts +++ b/extensions/git/src/uri.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Uri } from 'vscode'; export interface GitUriParams { diff --git a/extensions/git/src/util.ts b/extensions/git/src/util.ts index 78a28ff6ec269e7f7d7e1b9b753eb5165541da9c..ea1ddb97abb83b1b9ed2884195d3e6acfe49c733 100644 --- a/extensions/git/src/util.ts +++ b/extensions/git/src/util.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Event } from 'vscode'; import { dirname, sep } from 'path'; import { Readable } from 'stream'; diff --git a/extensions/php-language-features/src/features/completionItemProvider.ts b/extensions/php-language-features/src/features/completionItemProvider.ts index b1674787f7170f85c9d94cedf836693fda6e6b3e..a6b813cf085475a89e74400de9f32434b9e77d46 100644 --- a/extensions/php-language-features/src/features/completionItemProvider.ts +++ b/extensions/php-language-features/src/features/completionItemProvider.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { CompletionItemProvider, CompletionItem, CompletionItemKind, CancellationToken, TextDocument, Position, Range, TextEdit, workspace, CompletionContext } from 'vscode'; import phpGlobals = require('./phpGlobals'); import phpGlobalFunctions = require('./phpGlobalFunctions'); diff --git a/extensions/php-language-features/src/features/hoverProvider.ts b/extensions/php-language-features/src/features/hoverProvider.ts index c217074df5688a02c909c8e74f44e3f11941c2a6..a0cda8c198d193532da1475809fd2aef4e68833c 100644 --- a/extensions/php-language-features/src/features/hoverProvider.ts +++ b/extensions/php-language-features/src/features/hoverProvider.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { HoverProvider, Hover, MarkedString, TextDocument, CancellationToken, Position, workspace } from 'vscode'; import { textToMarkedString } from './utils/markedTextUtil'; import phpGlobals = require('./phpGlobals'); diff --git a/extensions/php-language-features/src/features/signatureHelpProvider.ts b/extensions/php-language-features/src/features/signatureHelpProvider.ts index d5c99c583abf63dd1b0b174a1872e7649ecd47b1..e4b9b28b847ad70b38a3e9a02220768b13dafc93 100644 --- a/extensions/php-language-features/src/features/signatureHelpProvider.ts +++ b/extensions/php-language-features/src/features/signatureHelpProvider.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { SignatureHelpProvider, SignatureHelp, SignatureInformation, CancellationToken, TextDocument, Position, workspace } from 'vscode'; import phpGlobals = require('./phpGlobals'); import phpGlobalFunctions = require('./phpGlobalFunctions'); diff --git a/extensions/search-rg/src/ripgrep.ts b/extensions/search-rg/src/ripgrep.ts index cb3878ee03177f6f843fb719dac1e5a5c30dadd7..17e6532e01474d440714c06095ddacddf3a47555 100644 --- a/extensions/search-rg/src/ripgrep.ts +++ b/extensions/search-rg/src/ripgrep.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { rgPath } from 'vscode-ripgrep'; export { rgPath }; \ No newline at end of file diff --git a/extensions/search-rg/src/ripgrepTextSearch.ts b/extensions/search-rg/src/ripgrepTextSearch.ts index e28ba942abfc57d2d38eaca4eaa60eab831a223d..fae2fa7ba18bdb1922bfb7390ee57fe0353b175d 100644 --- a/extensions/search-rg/src/ripgrepTextSearch.ts +++ b/extensions/search-rg/src/ripgrepTextSearch.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as cp from 'child_process'; import { EventEmitter } from 'events'; import * as path from 'path'; diff --git a/extensions/search-rg/src/utils.ts b/extensions/search-rg/src/utils.ts index f29a1fc0c55ff0e809da4c7f986427cc988b6709..320bc73118e9fe86a099dbb922e6f860531a94de 100644 --- a/extensions/search-rg/src/utils.ts +++ b/extensions/search-rg/src/utils.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as path from 'path'; import * as vscode from 'vscode'; diff --git a/extensions/vscode-api-tests/src/utils.ts b/extensions/vscode-api-tests/src/utils.ts index f2b3511598c384774f606f28ce1790cde555d067..31ccb702d1b1bc7688a5a2a3b9c897eab762cdc2 100644 --- a/extensions/vscode-api-tests/src/utils.ts +++ b/extensions/vscode-api-tests/src/utils.ts @@ -3,8 +3,6 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as vscode from 'vscode'; import * as fs from 'fs'; import * as os from 'os';