💄 remove extra comment slashes
This commit is contained in:
parent
e96e70d59e
commit
19f6f31036
8 changed files with 12 additions and 12 deletions
|
@ -410,7 +410,7 @@ function markNodes(ts: typeof import('typescript'), languageService: ts.Language
|
||||||
// add to black queue
|
// add to black queue
|
||||||
enqueue_black(node);
|
enqueue_black(node);
|
||||||
|
|
||||||
// // move from one queue to the other
|
// move from one queue to the other
|
||||||
// black_queue.push(node);
|
// black_queue.push(node);
|
||||||
// setColor(node, NodeColor.Black);
|
// setColor(node, NodeColor.Black);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -476,9 +476,9 @@ suite('Filters', () => {
|
||||||
// assertTopScore(fuzzyScore, 'Editor.r', 0, 'diffEditor.renderSideBySide', 'editor.overviewRulerlanes', 'editor.renderControlCharacter', 'editor.renderWhitespace');
|
// assertTopScore(fuzzyScore, 'Editor.r', 0, 'diffEditor.renderSideBySide', 'editor.overviewRulerlanes', 'editor.renderControlCharacter', 'editor.renderWhitespace');
|
||||||
|
|
||||||
assertTopScore(fuzzyScore, '-mo', 1, '-ms-ime-mode', '-moz-columns');
|
assertTopScore(fuzzyScore, '-mo', 1, '-ms-ime-mode', '-moz-columns');
|
||||||
// // dupe, issue #14861
|
// dupe, issue #14861
|
||||||
assertTopScore(fuzzyScore, 'convertModelPosition', 0, 'convertModelPositionToViewPosition', 'convertViewToModelPosition');
|
assertTopScore(fuzzyScore, 'convertModelPosition', 0, 'convertModelPositionToViewPosition', 'convertViewToModelPosition');
|
||||||
// // dupe, issue #14942
|
// dupe, issue #14942
|
||||||
assertTopScore(fuzzyScore, 'is', 0, 'isValidViewletId', 'import statement');
|
assertTopScore(fuzzyScore, 'is', 0, 'isValidViewletId', 'import statement');
|
||||||
|
|
||||||
assertTopScore(fuzzyScore, 'title', 1, 'files.trimTrailingWhitespace', 'window.title');
|
assertTopScore(fuzzyScore, 'title', 1, 'files.trimTrailingWhitespace', 'window.title');
|
||||||
|
|
|
@ -118,13 +118,13 @@ suite('Labels', () => {
|
||||||
assert.strictEqual(labels.template('${separator}Foo${separator}Bar', { value: 'something', separator: { label: ' - ' } }), 'Foo - Bar');
|
assert.strictEqual(labels.template('${separator}Foo${separator}Bar', { value: 'something', separator: { label: ' - ' } }), 'Foo - Bar');
|
||||||
assert.strictEqual(labels.template('${value} Foo${separator}Bar', { value: 'something', separator: { label: ' - ' } }), 'something Foo - Bar');
|
assert.strictEqual(labels.template('${value} Foo${separator}Bar', { value: 'something', separator: { label: ' - ' } }), 'something Foo - Bar');
|
||||||
|
|
||||||
// // real world example (macOS)
|
// real world example (macOS)
|
||||||
let t = '${activeEditorShort}${separator}${rootName}';
|
let t = '${activeEditorShort}${separator}${rootName}';
|
||||||
assert.strictEqual(labels.template(t, { activeEditorShort: '', rootName: '', separator: { label: ' - ' } }), '');
|
assert.strictEqual(labels.template(t, { activeEditorShort: '', rootName: '', separator: { label: ' - ' } }), '');
|
||||||
assert.strictEqual(labels.template(t, { activeEditorShort: '', rootName: 'root', separator: { label: ' - ' } }), 'root');
|
assert.strictEqual(labels.template(t, { activeEditorShort: '', rootName: 'root', separator: { label: ' - ' } }), 'root');
|
||||||
assert.strictEqual(labels.template(t, { activeEditorShort: 'markdown.txt', rootName: 'root', separator: { label: ' - ' } }), 'markdown.txt - root');
|
assert.strictEqual(labels.template(t, { activeEditorShort: 'markdown.txt', rootName: 'root', separator: { label: ' - ' } }), 'markdown.txt - root');
|
||||||
|
|
||||||
// // real world example (other)
|
// real world example (other)
|
||||||
t = '${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}';
|
t = '${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}';
|
||||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: '', separator: { label: ' - ' } }), '');
|
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: '', separator: { label: ' - ' } }), '');
|
||||||
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Visual Studio Code');
|
assert.strictEqual(labels.template(t, { dirty: '', activeEditorShort: '', rootName: '', appName: 'Visual Studio Code', separator: { label: ' - ' } }), 'Visual Studio Code');
|
||||||
|
|
|
@ -39,7 +39,7 @@ export interface NativeParsedArgs {
|
||||||
'extensions-dir'?: string;
|
'extensions-dir'?: string;
|
||||||
'extensions-download-dir'?: string;
|
'extensions-download-dir'?: string;
|
||||||
'builtin-extensions-dir'?: string;
|
'builtin-extensions-dir'?: string;
|
||||||
extensionDevelopmentPath?: string[]; // // undefined or array of 1 or more local paths or URIs
|
extensionDevelopmentPath?: string[]; // undefined or array of 1 or more local paths or URIs
|
||||||
extensionTestsPath?: string; // either a local path or a URI
|
extensionTestsPath?: string; // either a local path or a URI
|
||||||
extensionDevelopmentKind?: string[];
|
extensionDevelopmentKind?: string[];
|
||||||
'inspect-extensions'?: string;
|
'inspect-extensions'?: string;
|
||||||
|
|
|
@ -168,7 +168,7 @@ export class Menubar {
|
||||||
// Keep flag when app quits
|
// Keep flag when app quits
|
||||||
this.lifecycleMainService.onWillShutdown(() => this.willShutdown = true);
|
this.lifecycleMainService.onWillShutdown(() => this.willShutdown = true);
|
||||||
|
|
||||||
// // Listen to some events from window service to update menu
|
// Listen to some events from window service to update menu
|
||||||
this.windowsMainService.onDidChangeWindowsCount(e => this.onDidChangeWindowsCount(e));
|
this.windowsMainService.onDidChangeWindowsCount(e => this.onDidChangeWindowsCount(e));
|
||||||
this.nativeHostMainService.onDidBlurWindow(() => this.onDidChangeWindowFocus());
|
this.nativeHostMainService.onDidBlurWindow(() => this.onDidChangeWindowFocus());
|
||||||
this.nativeHostMainService.onDidFocusWindow(() => this.onDidChangeWindowFocus());
|
this.nativeHostMainService.onDidFocusWindow(() => this.onDidChangeWindowFocus());
|
||||||
|
|
|
@ -518,7 +518,7 @@ export class MainThreadTextEditor {
|
||||||
|
|
||||||
const snippetController = SnippetController2.get(this._codeEditor);
|
const snippetController = SnippetController2.get(this._codeEditor);
|
||||||
|
|
||||||
// // cancel previous snippet mode
|
// cancel previous snippet mode
|
||||||
// snippetController.leaveSnippet();
|
// snippetController.leaveSnippet();
|
||||||
|
|
||||||
// set selection, focus editor
|
// set selection, focus editor
|
||||||
|
|
|
@ -138,7 +138,7 @@ export class SearchEditor extends BaseTextEditor {
|
||||||
// Includes/Excludes Dropdown
|
// Includes/Excludes Dropdown
|
||||||
this.includesExcludesContainer = DOM.append(this.queryEditorContainer, DOM.$('.includes-excludes'));
|
this.includesExcludesContainer = DOM.append(this.queryEditorContainer, DOM.$('.includes-excludes'));
|
||||||
|
|
||||||
// // Toggle query details button
|
// Toggle query details button
|
||||||
this.toggleQueryDetailsButton = DOM.append(this.includesExcludesContainer, DOM.$('.expand' + ThemeIcon.asCSSSelector(searchDetailsIcon), { tabindex: 0, role: 'button', title: localize('moreSearch', "Toggle Search Details") }));
|
this.toggleQueryDetailsButton = DOM.append(this.includesExcludesContainer, DOM.$('.expand' + ThemeIcon.asCSSSelector(searchDetailsIcon), { tabindex: 0, role: 'button', title: localize('moreSearch', "Toggle Search Details") }));
|
||||||
this._register(DOM.addDisposableListener(this.toggleQueryDetailsButton, DOM.EventType.CLICK, e => {
|
this._register(DOM.addDisposableListener(this.toggleQueryDetailsButton, DOM.EventType.CLICK, e => {
|
||||||
DOM.EventHelper.stop(e);
|
DOM.EventHelper.stop(e);
|
||||||
|
@ -164,7 +164,7 @@ export class SearchEditor extends BaseTextEditor {
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// // Includes
|
// Includes
|
||||||
const folderIncludesList = DOM.append(this.includesExcludesContainer, DOM.$('.file-types.includes'));
|
const folderIncludesList = DOM.append(this.includesExcludesContainer, DOM.$('.file-types.includes'));
|
||||||
const filesToIncludeTitle = localize('searchScope.includes', "files to include");
|
const filesToIncludeTitle = localize('searchScope.includes', "files to include");
|
||||||
DOM.append(folderIncludesList, DOM.$('h4', undefined, filesToIncludeTitle));
|
DOM.append(folderIncludesList, DOM.$('h4', undefined, filesToIncludeTitle));
|
||||||
|
@ -174,7 +174,7 @@ export class SearchEditor extends BaseTextEditor {
|
||||||
this.inputPatternIncludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 }));
|
this.inputPatternIncludes.onSubmit(triggeredOnType => this.triggerSearch({ resetCursor: false, delay: triggeredOnType ? this.searchConfig.searchOnTypeDebouncePeriod : 0 }));
|
||||||
this._register(this.inputPatternIncludes.onChangeSearchInEditorsBox(() => this.triggerSearch()));
|
this._register(this.inputPatternIncludes.onChangeSearchInEditorsBox(() => this.triggerSearch()));
|
||||||
|
|
||||||
// // Excludes
|
// Excludes
|
||||||
const excludesList = DOM.append(this.includesExcludesContainer, DOM.$('.file-types.excludes'));
|
const excludesList = DOM.append(this.includesExcludesContainer, DOM.$('.file-types.excludes'));
|
||||||
const excludesTitle = localize('searchScope.excludes', "files to exclude");
|
const excludesTitle = localize('searchScope.excludes', "files to exclude");
|
||||||
DOM.append(excludesList, DOM.$('h4', undefined, excludesTitle));
|
DOM.append(excludesList, DOM.$('h4', undefined, excludesTitle));
|
||||||
|
|
|
@ -190,7 +190,7 @@ export class BrowserKeyboardMapperFactoryBase {
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// // the keyboard layout doesn't actually match the key event or the keymap from chromium
|
// the keyboard layout doesn't actually match the key event or the keymap from chromium
|
||||||
// this._notificationService.prompt(
|
// this._notificationService.prompt(
|
||||||
// Severity.Info,
|
// Severity.Info,
|
||||||
// nls.localize('missing.keyboardlayout', 'Fail to find matching keyboard layout'),
|
// nls.localize('missing.keyboardlayout', 'Fail to find matching keyboard layout'),
|
||||||
|
|
Loading…
Reference in a new issue