diff --git a/src/vs/editor/contrib/message/browser/messageController.ts b/src/vs/editor/contrib/message/browser/messageController.ts index f2280564b02cb..d3896dbfafbc8 100644 --- a/src/vs/editor/contrib/message/browser/messageController.ts +++ b/src/vs/editor/contrib/message/browser/messageController.ts @@ -107,7 +107,7 @@ export class MessageController implements IEditorContribution { } if (!bounds) { - // define bounding box around position and first mouse occurance + // define bounding box around position and first mouse occurrence bounds = new Range(position.lineNumber - 3, 1, e.target.position.lineNumber + 3, 1); } else if (!bounds.containsPosition(e.target.position)) { // check if position is still in bounds diff --git a/src/vs/workbench/api/common/extHostNotebook.ts b/src/vs/workbench/api/common/extHostNotebook.ts index 09904ec3d0832..7994f36cd229d 100644 --- a/src/vs/workbench/api/common/extHostNotebook.ts +++ b/src/vs/workbench/api/common/extHostNotebook.ts @@ -405,7 +405,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape { * * @param handle used to get notebook serializer * @param textQuery the text query to search using - * @param viewTypeFileTargets the globs (and associated ranks) that are targetting for opening this type of notebook + * @param viewTypeFileTargets the globs (and associated ranks) that are targeting for opening this type of notebook * @param otherViewTypeFileTargets ranked globs for other editors that we should consider when deciding whether it will open as this notebook * @param token cancellation token * @returns `IRawClosedNotebookFileMatch` for every file. Files without matches will just have a `IRawClosedNotebookFileMatch` diff --git a/src/vs/workbench/contrib/debug/browser/variablesView.ts b/src/vs/workbench/contrib/debug/browser/variablesView.ts index f18d41bf23c16..d75fa0579a76d 100644 --- a/src/vs/workbench/contrib/debug/browser/variablesView.ts +++ b/src/vs/workbench/contrib/debug/browser/variablesView.ts @@ -151,7 +151,7 @@ export class VariablesView extends ViewPane implements IDebugViewWithVariables { return; } - // Refresh the tree immediately if the user explictly changed stack frames. + // Refresh the tree immediately if the user explicitly changed stack frames. // Otherwise postpone the refresh until user stops stepping. const timeout = sf.explicit ? 0 : undefined; this.updateTreeScheduler.schedule(timeout); diff --git a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts index ed7dbe07826f8..bd78f2ba48475 100644 --- a/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts +++ b/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts @@ -1686,7 +1686,7 @@ export class FileDragAndDrop implements ITreeDragAndDrop { if (items.some((source) => { if (source.isRoot) { - return false; // Root folders are handled seperately + return false; // Root folders are handled separately } if (this.uriIdentityService.extUri.isEqual(source.resource, target.resource)) { diff --git a/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.ts b/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.ts index 8b06a57a016e4..df19ac749945d 100644 --- a/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.ts +++ b/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.ts @@ -937,7 +937,7 @@ export class NotebookTextDiffEditor extends EditorPane implements INotebookTextD getLayoutInfo(): NotebookLayoutInfo { if (!this._list) { - throw new Error('Editor is not initalized successfully'); + throw new Error('Editor is not initialized successfully'); } return { diff --git a/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts b/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts index 4fc4f5aa9f1d6..3cd7def2b4acc 100644 --- a/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts +++ b/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts @@ -2756,7 +2756,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD getLayoutInfo(): NotebookLayoutInfo { if (!this._list) { - throw new Error('Editor is not initalized successfully'); + throw new Error('Editor is not initialized successfully'); } if (!this._fontInfo) {