diff --git a/src/vs/base/common/event.ts b/src/vs/base/common/event.ts index a58170e6b78e3c23ad3cfa275c43b60e5a948638..d708931ec78a78774373813f2dac8484dcc030a3 100644 --- a/src/vs/base/common/event.ts +++ b/src/vs/base/common/event.ts @@ -49,7 +49,7 @@ export namespace Event { /** * Given an event and a `map` function, returns another event which maps each element - * throught the mapping function. + * through the mapping function. */ export function map(event: Event, map: (i: I) => O): Event { return snapshot((listener, thisArgs = null, disposables?) => event(i => listener.call(thisArgs, map(i)), null, disposables)); @@ -90,7 +90,7 @@ export namespace Event { /** * Given an event and a `merge` function, returns another event which maps each element - * and the cummulative result throught the `merge` function. Similar to `map`, but with memory. + * and the cumulative result through the `merge` function. Similar to `map`, but with memory. */ export function reduce(event: Event, merge: (last: O | undefined, event: I) => O, initial?: O): Event { let output: O | undefined = initial; diff --git a/src/vs/base/node/id.ts b/src/vs/base/node/id.ts index d8f617df434edce89c2984ed4a8527faa122b451..6f72afeed792182dac2ccc2933c167d50082ab9c 100644 --- a/src/vs/base/node/id.ts +++ b/src/vs/base/node/id.ts @@ -11,7 +11,7 @@ import { TernarySearchTree } from 'vs/base/common/map'; // http://www.techrepublic.com/blog/data-center/mac-address-scorecard-for-common-virtual-machine-platforms/ // VMware ESX 3, Server, Workstation, Player 00-50-56, 00-0C-29, 00-05-69 // Microsoft Hyper-V, Virtual Server, Virtual PC 00-03-FF -// Parallells Desktop, Workstation, Server, Virtuozzo 00-1C-42 +// Parallels Desktop, Workstation, Server, Virtuozzo 00-1C-42 // Virtual Iron 4 00-0F-4B // Red Hat Xen 00-16-3E // Oracle VM 00-16-3E diff --git a/src/vs/platform/notification/common/notification.ts b/src/vs/platform/notification/common/notification.ts index c33fd5c93e107be362d86183cb1eb0ac7a958d1e..75549c25f55729949ba54f9d5efded1aaf42e0cd 100644 --- a/src/vs/platform/notification/common/notification.ts +++ b/src/vs/platform/notification/common/notification.ts @@ -210,19 +210,19 @@ export interface INotificationService { notify(notification: INotification): INotificationHandle; /** - * A convinient way of reporting infos. Use the `INotificationService.notify` + * A convenient way of reporting infos. Use the `INotificationService.notify` * method if you need more control over the notification. */ info(message: NotificationMessage | NotificationMessage[]): void; /** - * A convinient way of reporting warnings. Use the `INotificationService.notify` + * A convenient way of reporting warnings. Use the `INotificationService.notify` * method if you need more control over the notification. */ warn(message: NotificationMessage | NotificationMessage[]): void; /** - * A convinient way of reporting errors. Use the `INotificationService.notify` + * A convenient way of reporting errors. Use the `INotificationService.notify` * method if you need more control over the notification. */ error(message: NotificationMessage | NotificationMessage[]): void; @@ -239,7 +239,7 @@ export interface INotificationService { prompt(severity: Severity, message: string, choices: IPromptChoice[], options?: IPromptOptions): INotificationHandle; /** - * Shows a status message in the status area with the provied text. + * Shows a status message in the status area with the provided text. * * @param message the message to show as status * @param options provides some optional configuration options diff --git a/src/vs/platform/opener/common/opener.ts b/src/vs/platform/opener/common/opener.ts index 3c999d51b30d265fcd1d0f73e1a437ab7a280095..8c0f9fee5df4224b6b0a3bf9da36676283d0b6ca 100644 --- a/src/vs/platform/opener/common/opener.ts +++ b/src/vs/platform/opener/common/opener.ts @@ -21,7 +21,7 @@ export interface IOpenerService { registerOpener(opener: IOpener): IDisposable; /** - * Opens a resource, like a webadress, a document uri, or executes command. + * Opens a resource, like a webaddress, a document uri, or executes command. * * @param resource A resource * @return A promise that resolves when the opening is done. diff --git a/src/vs/workbench/browser/labels.ts b/src/vs/workbench/browser/labels.ts index f36a9516edc13a0a03727768736e803dade3330c..99c24e24cb52b6d12e6881b5d766ecd1ae71a417 100644 --- a/src/vs/workbench/browser/labels.ts +++ b/src/vs/workbench/browser/labels.ts @@ -52,19 +52,19 @@ export interface IResourceLabel extends IDisposable { setLabel(label?: string, description?: string, options?: IIconLabelValueOptions): void; /** - * Convinient method to apply a label by passing a resource along. + * Convenient method to apply a label by passing a resource along. * * Note: for file resources consider to use the #setFile() method instead. */ setResource(label: IResourceLabelProps, options?: IResourceLabelOptions): void; /** - * Convinient method to render a file label based on a resource. + * Convenient method to render a file label based on a resource. */ setFile(resource: URI, options?: IFileLabelOptions): void; /** - * Convinient method to apply a label by passing an editor along. + * Convenient method to apply a label by passing an editor along. */ setEditor(editor: IEditorInput, options?: IResourceLabelOptions): void; diff --git a/src/vs/workbench/browser/parts/editor/editorGroupView.ts b/src/vs/workbench/browser/parts/editor/editorGroupView.ts index fb988c60942a1913a8f9639c927e658e0176a797..fb450decc7193fc2d7e8ad177ec5b8a6650faf38 100644 --- a/src/vs/workbench/browser/parts/editor/editorGroupView.ts +++ b/src/vs/workbench/browser/parts/editor/editorGroupView.ts @@ -1280,7 +1280,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView { // If the group is empty and the request is to close all editors, we still close // the editor group is the related setting to close empty groups is enabled for - // a convinient way of removing empty editor groups for the user. + // a convenient way of removing empty editor groups for the user. if (this.accessor.partOptions.closeEmptyGroups) { this.accessor.removeGroup(this); } diff --git a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts index 8fa1c60463bf53133b8c784a4146aa0eb8f4767f..76fab05327567f81ec95b81546686f053511bbb2 100644 --- a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts +++ b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts @@ -484,7 +484,7 @@ export class FileDragAndDrop implements ITreeDragAndDrop { const items = (data as ElementsDragAndDropData).elements; if (!target) { - // Droping onto the empty area. Do not accept if items dragged are already + // Dropping onto the empty area. Do not accept if items dragged are already // children of the root unless we are copying the file if (!isCopy && items.every(i => !!i.parent && i.parent.isRoot)) { return false; diff --git a/src/vs/workbench/contrib/outline/browser/outlinePanel.ts b/src/vs/workbench/contrib/outline/browser/outlinePanel.ts index b83ce3375434801725a4632354b4a785a480c837..7b5eaee508e0f13755145c8edeb2224f0971230d 100644 --- a/src/vs/workbench/contrib/outline/browser/outlinePanel.ts +++ b/src/vs/workbench/contrib/outline/browser/outlinePanel.ts @@ -113,7 +113,7 @@ class RequestOracle { ); if (this._lastState && thisState.equals(this._lastState)) { - // prevent unneccesary changes... + // prevent unnecessary changes... return; } dispose(this._sessionDisposable); diff --git a/src/vs/workbench/services/textfile/common/textfiles.ts b/src/vs/workbench/services/textfile/common/textfiles.ts index fd36a109bf8fdc49210b869de49d2736e0f8e0ab..d21782426076c969f14fc9afae40cf27e4e4e744 100644 --- a/src/vs/workbench/services/textfile/common/textfiles.ts +++ b/src/vs/workbench/services/textfile/common/textfiles.ts @@ -136,12 +136,12 @@ export interface ITextFileService extends IDisposable { confirmSave(resources?: URI[]): Promise; /** - * Convinient fast access to the current auto save mode. + * Convenient fast access to the current auto save mode. */ getAutoSaveMode(): AutoSaveMode; /** - * Convinient fast access to the raw configured auto save settings. + * Convenient fast access to the raw configured auto save settings. */ getAutoSaveConfiguration(): IAutoSaveConfiguration; }