Skip to content
Merged

fix: typos #179581

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/git/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ export class CommandCenter {
const document = window.activeTextEditor?.document;

// If the document doesn't match what we opened then don't attempt to select the range
// Additioanlly if there was no previous document we don't have information to select a range
// Additionally if there was no previous document we don't have information to select a range
if (document?.uri.toString() !== uri.toString() || !activeTextEditor || !previousURI || !previousSelection) {
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/compositePart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export abstract class CompositePart<T extends Composite> extends Part {
return this.activeComposite;
}

protected getLastActiveCompositetId(): string {
protected getLastActiveCompositeId(): string {
return this.lastActiveCompositeId;
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/panel/panelPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ export abstract class BasePanelPart extends CompositePart<PaneComposite> impleme
}

getLastActivePaneCompositeId(): string {
return this.getLastActiveCompositetId();
return this.getLastActiveCompositeId();
}

hideActivePaneComposite(): void {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/sidebar/sidebarPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class SidebarPart extends CompositePart<PaneComposite> implements IPaneCo
}

getLastActivePaneCompositeId(): string {
return this.getLastActiveCompositetId();
return this.getLastActiveCompositeId();
}

hideActivePaneComposite(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export interface IEditorGroupsService {
setGroupOrientation(orientation: GroupOrientation): void;

/**
* Find a groupd in a specific scope:
* Find a group in a specific scope:
* * `GroupLocation.FIRST`: the first group
* * `GroupLocation.LAST`: the last group
* * `GroupLocation.NEXT`: the next group from either the active one or `source`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ export class LanguageDetectionService extends Disposable implements ILanguageDet
// only gives history for a workspace... where this takes advantage of history at a global level as well.
private initEditorOpenedListeners(storageService: IStorageService) {
try {
const globalLangHistroyData = JSON.parse(storageService.get(LanguageDetectionService.globalOpenedLanguagesStorageKey, StorageScope.PROFILE, '[]'));
this.historicalGlobalOpenedLanguageIds.fromJSON(globalLangHistroyData);
const globalLangHistoryData = JSON.parse(storageService.get(LanguageDetectionService.globalOpenedLanguagesStorageKey, StorageScope.PROFILE, '[]'));
this.historicalGlobalOpenedLanguageIds.fromJSON(globalLangHistoryData);
} catch (e) { console.error(e); }

try {
const workspaceLangHistroyData = JSON.parse(storageService.get(LanguageDetectionService.workspaceOpenedLanguagesStorageKey, StorageScope.WORKSPACE, '[]'));
this.historicalWorkspaceOpenedLanguageIds.fromJSON(workspaceLangHistroyData);
const workspaceLangHistoryData = JSON.parse(storageService.get(LanguageDetectionService.workspaceOpenedLanguagesStorageKey, StorageScope.WORKSPACE, '[]'));
this.historicalWorkspaceOpenedLanguageIds.fromJSON(workspaceLangHistoryData);
} catch (e) { console.error(e); }

this._register(this._editorService.onDidActiveEditorChange(() => {
Expand Down