提交 c4ea0b55 编写于 作者: B Benjamin Pasero

fix some spelling mistakes

上级 998e5e2e
......@@ -1301,7 +1301,7 @@ export interface IDetectedFullscreen {
mode: DetectedFullscreenMode;
/**
* Wether we know for sure that we are in fullscreen mode or
* Whether we know for sure that we are in fullscreen mode or
* it is a guess.
*/
guess: boolean;
......
......@@ -389,7 +389,7 @@ export function scoreItemFuzzy<T>(item: T, query: IPreparedQuery, fuzzy: boolean
// - description (if provided)
// - query (normalized)
// - number of query pieces (i.e. 'hello world' and 'helloworld' are different)
// - wether fuzzy matching is enabled or not
// - whether fuzzy matching is enabled or not
let cacheHash: string;
if (description) {
cacheHash = `${label}${description}${query.normalized}${Array.isArray(query.values) ? query.values.length : ''}${fuzzy}`;
......
......@@ -48,7 +48,7 @@ export interface ISandboxNodeProcess extends INodeProcess {
* The order of overwrites is `process.env` < `shellEnv` < `userEnv`.
*
* It is critical that every process awaits this method early on startup to get the right
* set of environment in `process.env`.
* set of environment in `process.env`.
*/
resolveEnv(userEnv: IProcessEnvironment): Promise<void>;
......@@ -76,7 +76,7 @@ export interface ISandboxNodeProcess extends INodeProcess {
export interface ISandboxContext {
/**
* Wether the renderer runs with `sandbox` enabled or not.
* Whether the renderer runs with `sandbox` enabled or not.
*/
sandbox: boolean;
}
......
......@@ -303,7 +303,7 @@ export class CodeApplication extends Disposable {
// Prefer to use the args and env from the target window
// when resolving the shell env. It is possible that
// a first window was opened from the UI but a second
// from the CLI and that has implications for wether to
// from the CLI and that has implications for whether to
// resolve the shell environment or not.
let args: NativeParsedArgs;
let env: NodeJS.ProcessEnv;
......
......@@ -51,7 +51,7 @@ export class NoTabsTitleControl extends TitleControl {
// Breadcrumbs
this.createBreadcrumbsControl(labelContainer, { showFileIcons: false, showSymbolIcons: true, showDecorationColors: false, breadcrumbsBackground: () => Color.transparent });
titleContainer.classList.toggle('breadcrumbs', Boolean(this.breadcrumbsControl));
this._register({ dispose: () => titleContainer.classList.remove('breadcrumbs') }); // import to remove because the container is a shared dom node
this._register({ dispose: () => titleContainer.classList.remove('breadcrumbs') }); // important to remove because the container is a shared dom node
// Right Actions Container
const actionsContainer = document.createElement('div');
......
......@@ -1403,7 +1403,7 @@ export class TabsTitleControl extends TitleControl {
}
// Figure out if active tab is positioned static which has an
// impact on wether to reveal the tab or not later
// impact on whether to reveal the tab or not later
let activeTabPositionStatic = this.accessor.partOptions.pinnedTabSizing !== 'normal' && this.group.isSticky(activeIndex);
// Special case: we have sticky tabs but the available space for showing tabs
......
......@@ -35,7 +35,7 @@ import { isStandalone } from 'vs/base/browser/browser';
},
'workbench.editor.wrapTabs': {
'type': 'boolean',
'description': nls.localize('wrapTabs', "Controls whether tabs should be wrapped over multiple lines when exceeding available space or wether a scrollbar should appear instead."),
'markdownDescription': nls.localize('wrapTabs', "Controls whether tabs should be wrapped over multiple lines when exceeding available space or whether a scrollbar should appear instead. This value is ignored when `#workbench.editor.showTabs#` is disabled."),
'default': false
},
'workbench.editor.scrollToSwitchTabs': {
......
......@@ -1215,7 +1215,7 @@ export interface IEditorOpenContext {
* An editor is new for a group if it was not part of the group before and
* otherwise was already opened in the group and just became the active editor.
*
* This hint can e.g. be used to decide wether to restore view state or not.
* This hint can e.g. be used to decide whether to restore view state or not.
*/
newInGroup?: boolean;
}
......
......@@ -73,7 +73,7 @@ export class CodeEditorService extends CodeEditorServiceImpl {
private async doOpenCodeEditor(input: IResourceEditorInput, source: ICodeEditor | null, sideBySide?: boolean): Promise<ICodeEditor | null> {
// Special case: we want to detect the request to open an editor that
// is different from the current one to decide wether the current editor
// is different from the current one to decide whether the current editor
// should be pinned or not. This ensures that the source of a navigation
// is not being replaced by the target. An example is "Goto definition"
// that otherwise would replace the editor everytime the user navigates.
......
......@@ -175,7 +175,7 @@ export interface IEditorService {
* identifier.
*
* @param order the order of the editors to use
* @param options wether to exclude sticky editors or not
* @param options whether to exclude sticky editors or not
*/
getEditors(order: EditorsOrder, options?: { excludeSticky?: boolean }): ReadonlyArray<IEditorIdentifier>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册