未验证 提交 f22d298b 编写于 作者: J João Moreno 提交者: GitHub

Merge pull request #89256 from MaherJendoubi/misc-misspellings

Contributing: fix typos
......@@ -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;
......@@ -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;
......
......@@ -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 = `
{
......
......@@ -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;
}
......
......@@ -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;
......
......@@ -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;
......
......@@ -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);
}
......
......@@ -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;
}
......
......@@ -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.
*/
......
......@@ -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;
}
......
......@@ -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;
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册