Skip to content

Commit f3e4e47

Browse files
waldyriousalexr00
authored andcommitted
Fix spelling of the example abbreviation (e.g.)
1 parent 41a6a0a commit f3e4e47

27 files changed

Lines changed: 44 additions & 44 deletions

File tree

build/lib/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function log(message: any, ...rest: any[]): void {
2525

2626
export interface Language {
2727
id: string; // language id, e.g. zh-tw, de
28-
translationId?: string; // language id used in translation tools, e.g zh-hant, de (optional, if not set, the id is used)
28+
translationId?: string; // language id used in translation tools, e.g. zh-hant, de (optional, if not set, the id is used)
2929
folderName?: string; // language specific folder name, e.g. cht, deu (optional, if not set, the id is used)
3030
}
3131

extensions/emmet/src/abbreviationActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ export function isValidLocationForEmmetAbbreviation(document: vscode.TextDocumen
491491
}
492492

493493
let valid = true;
494-
let foundSpace = false; // If < is found before finding whitespace, then its valid abbreviation. Eg: <div|
494+
let foundSpace = false; // If < is found before finding whitespace, then its valid abbreviation. E.g.: <div|
495495
let i = textToBackTrack.length - 1;
496496
if (textToBackTrack[i] === startAngle) {
497497
return false;

extensions/emmet/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function getMappingForIncludedLanguages(): any {
9595

9696
/**
9797
* Get the corresponding emmet mode for given vscode language mode
98-
* Eg: jsx for typescriptreact/javascriptreact or pug for jade
98+
* E.g.: jsx for typescriptreact/javascriptreact or pug for jade
9999
* If the language is not supported by emmet or has been excluded via `excludeLanguages` setting,
100100
* then nothing is returned
101101
*

src/vs/base/common/uri.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class URI implements UriComponents {
331331

332332
// normalize to fwd-slashes on windows,
333333
// on other systems bwd-slashes are valid
334-
// filename character, eg /f\oo/ba\r.txt
334+
// filename character, e.g. /f\oo/ba\r.txt
335335
if (isWindows) {
336336
path = path.replace(/\\/g, _slash);
337337
}

src/vs/base/parts/tree/browser/tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export interface IDataSource {
231231
*
232232
* You should not attempt to "move" an element to a different
233233
* parent by keeping its ID. The idea here is to have tree location
234-
* related IDs (eg. full file path, in the Explorer example).
234+
* related IDs (e.g. full file path, in the Explorer example).
235235
*/
236236
getId(tree: ITree, element: any): string;
237237

src/vs/code/electron-browser/workbench/workbench.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function showPartsSplash(configuration) {
6464
}
6565
}
6666

67-
// high contrast mode has been turned on from the outside, e.g OS -> ignore stored colors and layouts
67+
// high contrast mode has been turned on from the outside, e.g. OS -> ignore stored colors and layouts
6868
if (data && configuration.highContrast && data.baseTheme !== 'hc-black') {
6969
data = undefined;
7070
}

src/vs/code/node/cliProcessMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { SpdLogService } from 'vs/platform/log/node/spdlogService';
4444

4545
const notFound = (id: string) => localize('notFound', "Extension '{0}' not found.", id);
4646
const notInstalled = (id: string) => localize('notInstalled', "Extension '{0}' is not installed.", id);
47-
const useId = localize('useId', "Make sure you use the full extension ID, including the publisher, eg: {0}", 'ms-vscode.csharp');
47+
const useId = localize('useId', "Make sure you use the full extension ID, including the publisher, e.g.: {0}", 'ms-vscode.csharp');
4848

4949
function getId(manifest: IExtensionManifest, withVersion?: boolean): string {
5050
if (withVersion) {

src/vs/editor/standalone/browser/standaloneLanguages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export interface IEncodedLineTokens {
250250
* - f = foreground ColorId (9 bits)
251251
* - b = background ColorId (9 bits)
252252
* - The color value for each colorId is defined in IStandaloneThemeData.customTokenColors:
253-
* e.g colorId = 1 is stored in IStandaloneThemeData.customTokenColors[1]. Color id = 0 means no color,
253+
* e.g. colorId = 1 is stored in IStandaloneThemeData.customTokenColors[1]. Color id = 0 means no color,
254254
* id = 1 is for the default foreground color, id = 2 for the default background.
255255
*/
256256
tokens: Uint32Array;

src/vs/monaco.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@ declare namespace monaco.languages {
42714271
* - f = foreground ColorId (9 bits)
42724272
* - b = background ColorId (9 bits)
42734273
* - The color value for each colorId is defined in IStandaloneThemeData.customTokenColors:
4274-
* e.g colorId = 1 is stored in IStandaloneThemeData.customTokenColors[1]. Color id = 0 means no color,
4274+
* e.g. colorId = 1 is stored in IStandaloneThemeData.customTokenColors[1]. Color id = 0 means no color,
42754275
* id = 1 is for the default foreground color, id = 2 for the default background.
42764276
*/
42774277
tokens: Uint32Array;

src/vs/vscode.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ declare module 'vscode' {
11011101

11021102
/**
11031103
* The column in which this editor shows. Will be `undefined` in case this
1104-
* isn't one of the main editors, e.g an embedded editor, or when the editor
1104+
* isn't one of the main editors, e.g. an embedded editor, or when the editor
11051105
* column is larger than three.
11061106
*/
11071107
viewColumn?: ViewColumn;
@@ -1900,7 +1900,7 @@ declare module 'vscode' {
19001900
*
19011901
* *Note* that a document selector that is just a language identifier selects *all*
19021902
* documents, even those that are not saved on disk. Only use such selectors when
1903-
* a feature works without further context, e.g without the need to resolve related
1903+
* a feature works without further context, e.g. without the need to resolve related
19041904
* 'files'.
19051905
*
19061906
* @sample `let sel:DocumentSelector = { scheme: 'file', language: 'typescript' }`;
@@ -2595,7 +2595,7 @@ declare module 'vscode' {
25952595
name: string;
25962596

25972597
/**
2598-
* More detail for this symbol, e.g the signature of a function.
2598+
* More detail for this symbol, e.g. the signature of a function.
25992599
*/
26002600
detail: string;
26012601

@@ -2605,12 +2605,12 @@ declare module 'vscode' {
26052605
kind: SymbolKind;
26062606

26072607
/**
2608-
* The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g comments and code.
2608+
* The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
26092609
*/
26102610
range: Range;
26112611

26122612
/**
2613-
* The range that should be selected and reveal when this symbol is being picked, e.g the name of a function.
2613+
* The range that should be selected and reveal when this symbol is being picked, e.g. the name of a function.
26142614
* Must be contained by the [`range`](#DocumentSymbol.range).
26152615
*/
26162616
selectionRange: Range;
@@ -3649,7 +3649,7 @@ declare module 'vscode' {
36493649
*
36503650
* For some languages one color can have multiple presentations, e.g. css can represent the color red with
36513651
* the constant `Red`, the hex-value `#ff0000`, or in rgba and hsla forms. In csharp other representations
3652-
* apply, e.g `System.Drawing.Color.Red`.
3652+
* apply, e.g. `System.Drawing.Color.Red`.
36533653
*/
36543654
export class ColorPresentation {
36553655

@@ -4235,7 +4235,7 @@ declare module 'vscode' {
42354235

42364236
/**
42374237
* Represents a related message and source code location for a diagnostic. This should be
4238-
* used to point to code locations that cause or related to a diagnostics, e.g when duplicating
4238+
* used to point to code locations that cause or related to a diagnostics, e.g. when duplicating
42394239
* a symbol in a scope.
42404240
*/
42414241
export class DiagnosticRelatedInformation {
@@ -6680,7 +6680,7 @@ declare module 'vscode' {
66806680
* the following rules:
66816681
*
66826682
* - The uri-scheme must be `vscode.env.uriScheme`;
6683-
* - The uri-authority must be the extension id (eg. `my.extension`);
6683+
* - The uri-authority must be the extension id (e.g. `my.extension`);
66846684
* - The uri-path, -query and -fragment parts are arbitrary.
66856685
*
66866686
* For example, if the `my.extension` extension registers a uri handler, it will only
@@ -8421,9 +8421,9 @@ declare module 'vscode' {
84218421
/**
84228422
* Creates a new [source control](#SourceControl) instance.
84238423
*
8424-
* @param id An `id` for the source control. Something short, eg: `git`.
8425-
* @param label A human-readable string for the source control. Eg: `Git`.
8426-
* @param rootUri An optional Uri of the root of the source control. Eg: `Uri.parse(workspaceRoot)`.
8424+
* @param id An `id` for the source control. Something short, e.g.: `git`.
8425+
* @param label A human-readable string for the source control. E.g.: `Git`.
8426+
* @param rootUri An optional Uri of the root of the source control. E.g.: `Uri.parse(workspaceRoot)`.
84278427
* @return An instance of [source control](#SourceControl).
84288428
*/
84298429
export function createSourceControl(id: string, label: string, rootUri?: Uri): SourceControl;

0 commit comments

Comments
 (0)