Skip to content

Commit

Permalink
Contributing: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MaherJendoubi committed Jan 24, 2020
1 parent 856a5ad commit 8a2cae9
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/vs/platform/notification/common/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface INeverShowAgainOptions {
isSecondary?: boolean;

/**
* Wether to persist the choice in the current workspace or for all workspaces. By
* Whether to persist the choice in the current workspace or for all workspaces. By
* default it will be persisted for all workspaces.
*/
scope?: NeverShowAgainScope;
Expand Down Expand Up @@ -192,7 +192,7 @@ export interface IPromptChoice {
isSecondary?: boolean;

/**
* Wether to keep the notification open after the choice was selected
* Whether to keep the notification open after the choice was selected
* by the user. By default, will close the notification upon click.
*/
keepOpen?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ suite('SettingsMerge - Add Setting', () => {
assert.equal(actual, expected);
});

test('Insert before a setting and before a comment at the begining', () => {
test('Insert before a setting and before a comment at the beginning', () => {

const sourceContent = `
{
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/browser/dnd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ export function extractResources(e: DragEvent, externalOnly?: boolean): Array<ID
export interface IResourcesDropHandlerOptions {

/**
* Wether to open the actual workspace when a workspace configuration file is dropped
* or wether to open the configuration file within the editor as normal file.
* Whether to open the actual workspace when a workspace configuration file is dropped
* or whether to open the configuration file within the editor as normal file.
*/
allowWorkspaceOpen: boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/common/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export interface IEditorInputFactoryRegistry {
export interface IEditorInputFactory {

/**
* Determines wether the given editor input can be serialized by the factory.
* Determines whether the given editor input can be serialized by the factory.
*/
canSerialize(editorInput: IEditorInput): boolean;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class SymbolEntry extends EditorQuickOpenEntry {

run(mode: Mode, context: IEntryRunContext): boolean {

// resolve this type bearing if neccessary
// resolve this type bearing if necessary
if (!this.bearingResolve && typeof this.provider.resolveWorkspaceSymbol === 'function' && !this.bearing.location.range) {
this.bearingResolve = Promise.resolve(this.provider.resolveWorkspaceSymbol(this.bearing, CancellationToken.None)).then(result => {
this.bearing = result || this.bearing;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/webview/browser/pre/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
const onLoad = (contentDocument, contentWindow) => {
if (contentDocument && contentDocument.body) {
// Workaround for https://github.com/Microsoft/vscode/issues/12865
// check new scrollY and reset if neccessary
// check new scrollY and reset if necessary
setInitialScrollPosition(contentDocument.body, contentWindow);
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/services/editor/common/editorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface ISaveEditorsOptions extends ISaveOptions {
export interface IBaseSaveRevertAllEditorOptions {

/**
* Wether to include untitled editors as well.
* Whether to include untitled editors as well.
*/
includeUntitled?: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface IWorkspaceProvider {
*
* @param workspace the workspace to open.
* @param options optional options for the workspace to open.
* - `reuse`: wether to open inside the current window or a new window
* - `reuse`: whether to open inside the current window or a new window
* - `payload`: arbitrary payload that should be made available
* to the opening window via the `IWorkspaceProvider.payload` property.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/services/statusbar/common/statusbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface IStatusbarEntry {
readonly arguments?: any[];

/**
* Wether to show a beak above the status bar entry.
* Whether to show a beak above the status bar entry.
*/
readonly showBeak?: boolean;
}
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/services/textfile/common/textfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export interface IWriteTextFileOptions extends IWriteFileOptions {
overwriteReadonly?: boolean;

/**
* Wether to write to the file as elevated (admin) user. When setting this option a prompt will
* Whether to write to the file as elevated (admin) user. When setting this option a prompt will
* ask the user to authenticate as super user.
*/
writeElevated?: boolean;
Expand Down Expand Up @@ -255,7 +255,7 @@ export const enum ModelState {

/**
* Any error that happens during a save that is not causing the CONFLICT state.
* Models in error mode are always diry.
* Models in error mode are always dirty.
*/
ERROR
}
Expand Down

0 comments on commit 8a2cae9

Please sign in to comment.