Skip to content

Commit 1195e2c

Browse files
authored
fix the the the typos (#239646)
fix the `the the` -> `the` typos
1 parent 363d424 commit 1195e2c

File tree

25 files changed

+30
-30
lines changed

25 files changed

+30
-30
lines changed

.devcontainer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Next: **[Try it out!](#try-it)**
5656

5757
You may see improved VNC responsiveness when accessing a codespace from VS Code client since you can use a [VNC Viewer][def]. Here's how to do it.
5858

59-
1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
59+
1. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [GitHub Codespaces extension](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
6060

6161
> **Note:** The GitHub Codespaces extension requires the Visual Studio Code distribution of Code - OSS.
6262

extensions/ipynb/src/notebookModelStoreSync.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const noop = () => {
1414
};
1515

1616
/**
17-
* Code here is used to ensure the Notebook Model is in sync the the ipynb JSON file.
17+
* Code here is used to ensure the Notebook Model is in sync the ipynb JSON file.
1818
* E.g. assume you add a new cell, this new cell will not have any metadata at all.
1919
* However when we save the ipynb, the metadata will be an empty object `{}`.
2020
* Now thats completely different from the metadata os being `empty/undefined` in the model.

extensions/vscode-colorize-perf-tests/test/colorize-fixtures/test-treeView.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ abstract class AbstractTreeView extends Disposable implements ITreeView {
300300
}
301301
this._isInitialized = true;
302302

303-
// Remember when adding to this method that it isn't called until the the view is visible, meaning that
303+
// Remember when adding to this method that it isn't called until the view is visible, meaning that
304304
// properties could be set and events could be fired before we're initialized and that this needs to be handled.
305305

306306
this.contextKeyService.bufferChangeEvents(() => {
@@ -534,7 +534,7 @@ abstract class AbstractTreeView extends Disposable implements ITreeView {
534534

535535
private initializeShowCollapseAllAction(startingValue: boolean = false) {
536536
if (!this.collapseAllContext) {
537-
this.collapseAllContextKey = new RawContextKey<boolean>(`treeView.${this.id}.enableCollapseAll`, startingValue, localize('treeView.enableCollapseAll', "Whether the the tree view with id {0} enables collapse all.", this.id));
537+
this.collapseAllContextKey = new RawContextKey<boolean>(`treeView.${this.id}.enableCollapseAll`, startingValue, localize('treeView.enableCollapseAll', "Whether the tree view with id {0} enables collapse all.", this.id));
538538
this.collapseAllContext = this.collapseAllContextKey.bindTo(this.contextKeyService);
539539
}
540540
return true;

src/vs/base/browser/ui/hover/hover.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface IHoverDelegate2 {
101101
): IDisposable;
102102

103103
/**
104-
* Hides the hover if it was visible. This call will be ignored if the the hover is currently
104+
* Hides the hover if it was visible. This call will be ignored if the hover is currently
105105
* "locked" via the alt/option key.
106106
*/
107107
hideHover(): void;

src/vs/editor/browser/editorDom.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class EditorPagePosition {
6464
}
6565

6666
/**
67-
* Coordinates relative to the the (top;left) of the editor that can be used safely with other internal editor metrics.
67+
* Coordinates relative to the (top;left) of the editor that can be used safely with other internal editor metrics.
6868
* **NOTE**: This position is obtained by taking page coordinates and transforming them relative to the
6969
* editor's (top;left) position in a way in which scale transformations are taken into account.
7070
* **NOTE**: These coordinates could be negative if the mouse position is outside the editor.

src/vs/editor/browser/gpu/atlas/atlas.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ export interface ITextureAtlasPageGlyph {
3232
/** The y offset from {@link y} of the glyph's origin. */
3333
originOffsetY: number;
3434
/**
35-
* The distance from the the glyph baseline to the top of the highest bounding rectangle of all
35+
* The distance from the glyph baseline to the top of the highest bounding rectangle of all
3636
* fonts used to render the text.
3737
*
3838
* @see {@link TextMetrics.fontBoundingBoxAscent}
3939
*/
4040
fontBoundingBoxAscent: number;
4141
/**
42-
* The distance from the the glyph baseline to the bottom of the bounding rectangle of all fonts
42+
* The distance from the glyph baseline to the bottom of the bounding rectangle of all fonts
4343
* used to render the text.
4444
*
4545
* @see {@link TextMetrics.fontBoundingBoxDescent}

src/vs/editor/browser/gpu/raster/raster.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ export interface IRasterizedGlyph {
6767
*/
6868
originOffset: { x: number; y: number };
6969
/**
70-
* The distance from the the glyph baseline to the top of the highest bounding rectangle of all
70+
* The distance from the glyph baseline to the top of the highest bounding rectangle of all
7171
* fonts used to render the text.
7272
*
7373
* @see {@link TextMetrics.fontBoundingBoxAscent}
7474
*/
7575
fontBoundingBoxAscent: number;
7676
/**
77-
* The distance from the the glyph baseline to the bottom of the bounding rectangle of all fonts
77+
* The distance from the glyph baseline to the bottom of the bounding rectangle of all fonts
7878
* used to render the text.
7979
*
8080
* @see {@link TextMetrics.fontBoundingBoxDescent}

src/vs/editor/browser/view/viewLayer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class VisibleLinesCollection<T extends IVisibleLine> {
279279

280280
public onFlushed(e: viewEvents.ViewFlushedEvent, flushDom?: boolean): boolean {
281281
// No need to clear the dom node because a full .innerHTML will occur in
282-
// ViewLayerRenderer._render, however the the fallbakc mechanism in the
282+
// ViewLayerRenderer._render, however the fallback mechanism in the
283283
// GPU renderer may cause this to be necessary as the .innerHTML call
284284
// may not happen depending on the new state, leaving stale DOM nodes
285285
// around.

src/vs/editor/common/textModelGuides.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface IGuidesTextModelPart {
1717
getLinesIndentGuides(startLineNumber: number, endLineNumber: number): number[];
1818

1919
/**
20-
* Requests the the indent guides for the given range of lines.
20+
* Requests the indent guides for the given range of lines.
2121
* `result[i]` will contain the indent guides of the `startLineNumber + i`th line.
2222
* @internal
2323
*/

src/vs/platform/extensionManagement/common/extensionGalleryService.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ abstract class AbstractExtensionGalleryService implements IExtensionGalleryServi
688688
{ count: number },
689689
{
690690
owner: 'sandy081';
691-
comment: 'Report the query to the the Marketplace for fetching extensions by name';
691+
comment: 'Report the query to the Marketplace for fetching extensions by name';
692692
readonly count: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'Number of extensions to fetch' };
693693
}>('galleryService:additionalQueryByName', {
694694
count: extensionInfosByName.length
@@ -1296,7 +1296,7 @@ abstract class AbstractExtensionGalleryService implements IExtensionGalleryServi
12961296
finally {
12971297
type GalleryServiceGetLatestEventClassification = {
12981298
owner: 'sandy081';
1299-
comment: 'Report the query to the the Marketplace for fetching latest version of an extension';
1299+
comment: 'Report the query to the Marketplace for fetching latest version of an extension';
13001300
extension: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The identifier of the extension' };
13011301
duration: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; isMeasurement: true; comment: 'Duration in ms for the query' };
13021302
errorCode?: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'The error code in case of error' };

src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export class CommandDetectionCapability extends Disposable implements ICommandDe
358358
this._logService.debug('CommandDetectionCapability#handleCommandFinished', this._terminal.buffer.active.cursorX, options?.marker?.line, this._currentCommand.command, this._currentCommand);
359359

360360
// HACK: Handle a special case on some versions of bash where identical commands get merged
361-
// in the output of `history`, this detects that case and sets the exit code to the the last
361+
// in the output of `history`, this detects that case and sets the exit code to the last
362362
// command's exit code. This covered the majority of cases but will fail if the same command
363363
// runs with a different exit code, that will need a more robust fix where we send the
364364
// command ID and exit code over to the capability to adjust there.

src/vs/workbench/browser/parts/views/treeView.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ abstract class AbstractTreeView extends Disposable implements ITreeView {
300300
}
301301
this._isInitialized = true;
302302

303-
// Remember when adding to this method that it isn't called until the the view is visible, meaning that
303+
// Remember when adding to this method that it isn't called until the view is visible, meaning that
304304
// properties could be set and events could be fired before we're initialized and that this needs to be handled.
305305

306306
this.contextKeyService.bufferChangeEvents(() => {
@@ -534,7 +534,7 @@ abstract class AbstractTreeView extends Disposable implements ITreeView {
534534

535535
private initializeShowCollapseAllAction(startingValue: boolean = false) {
536536
if (!this.collapseAllContext) {
537-
this.collapseAllContextKey = new RawContextKey<boolean>(`treeView.${this.id}.enableCollapseAll`, startingValue, localize('treeView.enableCollapseAll', "Whether the the tree view with id {0} enables collapse all.", this.id));
537+
this.collapseAllContextKey = new RawContextKey<boolean>(`treeView.${this.id}.enableCollapseAll`, startingValue, localize('treeView.enableCollapseAll', "Whether the tree view with id {0} enables collapse all.", this.id));
538538
this.collapseAllContext = this.collapseAllContextKey.bindTo(this.contextKeyService);
539539
}
540540
return true;

src/vs/workbench/contrib/chat/browser/media/chat.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ have to be updated for changes to the rules above, or to support more deeply nes
996996
}
997997
/*
998998
* This overly-specific CSS selector is needed to beat priority of some
999-
* styles applied on the the `.chat-attached-context-attachment` element.
999+
* styles applied on the `.chat-attached-context-attachment` element.
10001000
*/
10011001
.chat-attached-context .chat-prompt-instructions-attachments .chat-prompt-instructions-attachment.error.implicit,
10021002
.chat-attached-context .chat-prompt-instructions-attachments .chat-prompt-instructions-attachment.warning.implicit {

src/vs/workbench/contrib/comments/browser/commentService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export class CommentService extends Disposable implements ICommentService {
293293
}
294294

295295
/**
296-
* The active comment thread is the the thread that is currently being edited.
296+
* The active comment thread is the thread that is currently being edited.
297297
* @param commentThread
298298
*/
299299
setActiveEditingCommentThread(commentThread: CommentThread | null) {

src/vs/workbench/contrib/comments/browser/commentsModel.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class CommentsModel extends Disposable implements ICommentsModel {
121121
public hasCommentThreads(): boolean {
122122
// There's a resource with at least one thread
123123
return !!this._resourceCommentThreads.length && this._resourceCommentThreads.some(resource => {
124-
// At least one of the threads in the the resource has comments
124+
// At least one of the threads in the resource has comments
125125
return (resource.commentThreads.length > 0) && resource.commentThreads.some(thread => {
126126
// At least one of the comments in the thread is not empty
127127
return threadHasMeaningfulComments(thread.thread);

src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface IExternalUriOpenerService {
4545
registerExternalOpenerProvider(provider: IExternalOpenerProvider): IDisposable;
4646

4747
/**
48-
* Get the configured IExternalUriOpener for the the uri.
48+
* Get the configured IExternalUriOpener for the uri.
4949
* If there is no opener configured, then returns the first opener that can handle the uri.
5050
*/
5151
getOpener(uri: URI, ctx: { sourceUri: URI; preferredOpenerId?: string }, token: CancellationToken): Promise<IExternalUriOpener | undefined>;

src/vs/workbench/contrib/markdown/browser/markdownSettingRenderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class SimpleSettingRenderer {
299299
if (uri.scheme === Schemas.codeSetting) {
300300
type ReleaseNotesSettingUsedClassification = {
301301
owner: 'alexr00';
302-
comment: 'Used to understand if the the action to update settings from the release notes is used.';
302+
comment: 'Used to understand if the action to update settings from the release notes is used.';
303303
settingId: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'The id of the setting that was clicked on in the release notes' };
304304
};
305305
type ReleaseNotesSettingUsed = {

src/vs/workbench/contrib/terminal/browser/terminal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ export interface ITerminalInstance extends IBaseTerminalInstance {
973973

974974
/**
975975
* Sets the terminal instance's dimensions to the values provided via the onDidOverrideDimensions event,
976-
* which allows overriding the the regular dimensions (fit to the size of the panel).
976+
* which allows overriding the regular dimensions (fit to the size of the panel).
977977
*/
978978
setOverrideDimensions(dimensions: ITerminalDimensions): void;
979979

src/vs/workbench/contrib/terminal/browser/terminalActions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function registerContextualInstanceAction(
204204
activeInstanceType?: 'view' | 'editor';
205205
run: (instance: ITerminalInstance, c: ITerminalServicesCollection, accessor: ServicesAccessor, args?: unknown) => void | Promise<unknown>;
206206
/**
207-
* A callback to run after the the `run` callbacks have completed.
207+
* A callback to run after the `run` callbacks have completed.
208208
* @param instances The selected instance(s) that the command was run on.
209209
*/
210210
runAfter?: (instances: ITerminalInstance[], c: ITerminalServicesCollection, accessor: ServicesAccessor, args?: unknown) => void | Promise<unknown>;

src/vs/workbench/contrib/terminal/browser/terminalInstance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
951951
}
952952

953953
/**
954-
* Opens the the terminal instance inside the parent DOM element previously set with
954+
* Opens the terminal instance inside the parent DOM element previously set with
955955
* `attachToElement`, you must ensure the parent DOM element is explicitly visible before
956956
* invoking this function as it performs some DOM calculations internally
957957
*/

src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ export class WorkspaceTrustEditor extends EditorPane {
10911091

10921092
const textElement = append(parent, $('.workspace-trust-untrusted-description'));
10931093
if (!this.workspaceTrustManagementService.isWorkspaceTrustForced()) {
1094-
textElement.innerText = this.workspaceService.getWorkbenchState() === WorkbenchState.WORKSPACE ? localize('untrustedWorkspaceReason', "This workspace is trusted via the bolded entries in the trusted folders below.") : localize('untrustedFolderReason', "This folder is trusted via the bolded entries in the the trusted folders below.");
1094+
textElement.innerText = this.workspaceService.getWorkbenchState() === WorkbenchState.WORKSPACE ? localize('untrustedWorkspaceReason', "This workspace is trusted via the bolded entries in the trusted folders below.") : localize('untrustedFolderReason', "This folder is trusted via the bolded entries in the trusted folders below.");
10951095
} else {
10961096
textElement.innerText = localize('trustedForcedReason', "This window is trusted by nature of the workspace that is opened.");
10971097
}

src/vscode-dts/vscode.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11906,7 +11906,7 @@ declare module 'vscode' {
1190611906
* A map containing a mapping of the mime type of the corresponding transferred data.
1190711907
*
1190811908
* Drag and drop controllers that implement {@link TreeDragAndDropController.handleDrag `handleDrag`} can add additional mime types to the
11909-
* data transfer. These additional mime types will only be included in the `handleDrop` when the the drag was initiated from
11909+
* data transfer. These additional mime types will only be included in the `handleDrop` when the drag was initiated from
1191011910
* an element in the same drag and drop controller.
1191111911
*/
1191211912
export class DataTransfer implements Iterable<[mimeType: string, item: DataTransferItem]> {

src/vscode-dts/vscode.proposed.resolvers.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ declare module 'vscode' {
121121
tunnelFeatures?: {
122122
elevation: boolean;
123123
/**
124-
* One of the the options must have the ID "private".
124+
* One of the options must have the ID "private".
125125
*/
126126
privacyOptions: TunnelPrivacy[];
127127
/**

src/vscode-dts/vscode.proposed.tunnelFactory.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ declare module 'vscode' {
1919
tunnelFeatures?: {
2020
elevation: boolean;
2121
/**
22-
* One of the the options must have the ID "private".
22+
* One of the options must have the ID "private".
2323
*/
2424
privacyOptions: TunnelPrivacy[];
2525
/**

test/automation/src/terminal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class Terminal {
210210
name: title.textContent.replace(/^[]\s*/, ''),
211211
description: description?.textContent
212212
};
213-
// It's a new group if the the tab does not start with ├ or └
213+
// It's a new group if the tab does not start with ├ or └
214214
if (title.textContent.match(/^[]/)) {
215215
groups[groups.length - 1].push(label);
216216
} else {

0 commit comments

Comments
 (0)