From 06df95754da587af444c65bbefbe6aaa7919d25e Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Mon, 4 Jun 2018 19:44:46 +0200 Subject: [PATCH] bring titlebarplus up to date MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Merge NPM Scripts: Added configuration option to change default click action #49282 * fix #50560 * Fix getmac test (#48804) * Cleaning up some typos in vscode.d.ts and vscode.proposed.d.ts (#50533) * yarn.lock changes * grid - log serialized state if restoring failed * Fixes #50382: Align .mtku with .detected-link * debug issues back to isidorn * Hide interactive playground commands from command palette (fixes #49706) * grid - drop outline as focus indication and rely on dimmed state * grid - allow to close empty group when closing all editors of a group * grid - get preferredSize from grid * Fixes #43003: Cannot specify a global problemMatcher in tasks.json * cleanup integrated terminal support for debugging * grid - action wording tweaks * #45663 Use core translations asset * grid - allow to close dirty diff editor if master is still opened in same group * Support to run npm install from a package node * grid - log previous UI state upon error * grid - stronger border top color otherwise when a tab is showing in a vertical split, the border collides with the sash border * remove todo * do not append logLevel #47774 * Implement Go To Next/Previous Breakpoint editor actions * Include enabledOnly in debug model interface * remove from schema #47774 * #45663 fix compilations * change openBreakpointSource to use IBreakpoint * return passed context if resourceOrContext is not useful * fix off by one issue * Simplify implementation * return context if it has a groupId * polish * Fixes Microsoft/monaco-editor#891: Focus editor when returning from context menu * go to next / previosu breakpoint minor polish * Add Endgame for 1.24 * fix index computing for editor close case * Fix #49145 - Enable/Disable viewlets by views when context - Move viewlet enablement/disablement to views service - Fix - adopt if a viewlet extension is disabled/removed * Avoid command palette entry (#49340) * [handlebars] code-folding algorithm is less useful than Indentation-based one. Fixes #48457 * use upper lang id * Fixes #49378 * #49145 Store placeholder states for all viewlets * Add `logicalLine` argument to `mutlicursor.insertBelow` and `mutlicursor.insertAbove` * Removed duplicate loop * eliminate code duplication; use resolveWorkspaceFolder() * #45663 Get all asset types * [css] update service * [html] update services * grid - fix compile * add User-Id to marketplace build requests * Improve rendererType description Fixes #50617 * fix #50672 * Fixes #49173 * fix #50321 * fix #50670 * Install option not needed when we have Install and Restart Fixes #50669 * Fixes #50616, Showing/hiding details in Issue Reporter resets scroll position * Fix #50642, fix #50673 * Issue reporter and process explorer windows should close when the parent window closes, fixes #50716 * Issue Reporter should clear the error state when selecting an extension, fixes #50702 * Extracting methods * Make sure we update the webview's state on setState * Avoid prompting for same file type in the same session #50537 * Use language name instead of locale in the prompt #50738 * Use correct failed error code for webview resource load error * Mark unused parameter * Restore restart * Try serializing webviews even if they have not called setState Fixes #50752 * Change parameter name to match interface name Fixes #50745 * Fix non-serializable webviews being revived if they called setState * Include recommended extensions in telemetry events to determine success * Fix #49777 - Emmet balance In after balance out should go back to initial selection and not first child (#49996) * Update Emmet - balance.ts * Cover all cases * Update prompt msg Fixes #50738 * Fix #50632 * search-rg has no icon * EH search - replace search.enableSearchProviders with a search-rg specific setting * fix #50742 * fix #50691 * part of #50760 * smoke: uncomment debug suite * smoketest: use yarn * grid - allow to close empty groups via middle click (#50733) * careful with path comparisons on windows related to #50760 * smoke: run yarn verbose * fix #50710 * Improve description (#43208) * fix #50722 * Fix #50663 * Fix #47586 * fixes #50609 * fixes #50026 * :lipstick: * fix #50773 * improve perf of findId and getElementById, #50575 * don't show outline when there are more then 7500 symbols, #50575 * fix typos * polish for #50667 * fix #50700 * grid keep sizing after branch node demotion fixes #50564 * grid - for now remove editorGroup.activeEmptyBackground * fix #50726 * grid: resize views when branch is demoted fixes #50675 * fix #50727 * fix #50734 * remove preview rant from search.location * splitview: dont propagate white-sapce property fixes #50720 * fix #50774 * Fixes #50296 * fix #50207 * Fixes #24670: Add API to determine if the task service supports parallel task execution. * fix #50741 * Fixes #49400: Cannot read property 'then' of undefined * Fix #50717 * Fix #48901 * polish debug.toolBarLocation fixes #50786 * Fix #50717 * missing compilation * Fix #48225 * fix #50711 * Fix errors installing extension from Welcome page (fixes #50753) * fixes #50794 * fixes #50787 * continuous build: use vsts npm feed * Fix for #50792: empty pre post scripts not rendered properly * Fix #50728 * continuous build: use vsts feed * Fix for #50792 npm exclude doesn´t work for folder names * Move previewOptions, #50788 * build: remove npm auth * better fix for #50710 * Revert "Merge pull request #49790 from usernamehw/raw_settings" This reverts commit f92a162b418b2f78f8052e79b1e7368c4b831e40, reversing changes made to fc710af79278de566e2e168d55e5bb5b83134b98. * Remove unused variable * Fix regression in C# TextMate grammar related to lambda parameters This tweak fixes a regression recently introduced in the C# TextMate grammar around implicitly-typed lambda parameters. * https://github.com/dotnet/csharp-tmLanguage/issues/119 * https://github.com/dotnet/csharp-tmLanguage/issues/120 * Fix parameter not being escaped Fixes #49057 * wip: grid.getNeighborViews * Make sure we use normalized path for compare Fixes #50760 (the path should already have been normalized at this point so I don't think there is any user impact) * Clean up importModuleSpecifier wording Fixes #50817 * Remove duplicate strings and small cleanup * Spelling fix Ouoting -> Quoting * Restore default settings editor keybinding * Dont trigger emmet for # in selectors Fixes #49269 * Hide settings editor feedback button in stable * Use better colors for markdown code blocks * Moving webview api back to proposed for more polishing #49022 * Shorten showUnused setting name Fixes #50648 * fix #50678 * Don't include imports in js/ts document symbol results Fixes #50829 * smoketest: remove verbose from yarn * smoketest: clear state from failing search tests * minor rename * Fix markdown preview not setting context properly on first creation Fixes #50558 * smoketest: update to package-lock.json fixes #50857 * smoketest: bring back search tests * #48901 Expand by default only in custom viewlets * fixes #50812 * open editors: clear focus when group without editors is active fixes #50563 * Fix MaxNumber incrementFileName bug * Fixes #48758: Do not import standalone editor modules * fixes #50864 * Use `MAX_SAFE_SMALL_INTEGER` * Fixes #50858: Task api is still marked as proposed * fixes #50737 * fix #50867 * Fix: showQuickPick keeps showing infinite progress (fixes #50863) * Clarify for translation (fixes #50634) * fixes #50870 * fix #50479 * grid - todo@grid => todo@ben * grid - adopt new getNeighborViews() method * grid - add workbench.action.closeEditorsAndGroup * open editors: close group action fixes #50625 * open editors: use actionRunner for contexts fixes #50621 * [css][html] update service * grid: getNeighborViews * grid - adopt wrapping * Some menu action clients (ActionBar) handle alternative actions on their own so the alternative actions should be ignored fixes #50581 * fillInActionBarActions and fillInContextMenuActions for clarity * Remove inconsistent use of active in terminal API Related #48434 * Try using fixAllDescription for js/ts quick fixes Fixes #42549 * Fixes #50828, code-insiders --status triggered exception in main process * Pick up ts 2.9.1 final * Fix for #50868 and #50884 * Still gray out vars even if user has disabled suggestions Fixes #50890 * grid: fix neighbor npe issue * grid: more getNeighborViews tests * grid: use boundaries for neighbor finding * grid: getNeighborViews perf * grid: add todo * 2018-05-31. Merged in translations from Transifex. * Update GDPR annotation * update message * Add specific `refactor.move` scope for js/ts move to new file action * Use localized language name when available * Add proper contribution schema for ts server pluguins #50682 * Fix extra word * Fix #50909 - add link to new settings editor from old one * Left-align settings editor preview prompt * grid - fix issues with touchbar updating * grid - use viewColumnToEditorGroup in more places * grid - close all groups should preserve first group * Reapply fix for #50790 * grid - assign some default keybindings for focus group * Fixes #50763: All running Visual Studio code instances shutdown all at once * grid - :lipstick: * fixes #50926 * show alternative actions when alt is pressed, not only on mouse over * open editors: click on groups should activate them * update description (for #50677) * Fix #50835 * grid - tweak some groups access order * one more time, fix #50321 * beware of keybinding command null arguments fixes #50821 * grid - prevent multiple confirmation dialogs for the same editor to show up (for #50539) * smoketest: go-to-definition is flaky fixes #50944 fixes #49107 * Fixes #50943: TSC version 2.9.x in watch mode prints different end compile message * grid - fix bad === for editors * :lipstick: grid, cleanup getViews() * Update distro commit and third party notices * Use localizedLanguageName instead of languageNameLocalized which doesnt exist * Remove now unneeded any * Make sure unused diags are still updated when suggestions are disabled Fixes #50890 * Fix unused var * Update version * Update issue templates, #49380 * Fix #50893 - escape regex chars when copy search string from editor * Fix #50985 - don't take editor text when toggling search details --- .../bug_report.md} | 10 +- .github/ISSUE_TEMPLATE/feature_request.md | 9 + .github/ISSUE_TEMPLATE/question.md | 9 + .github/calendar.yml | 1 + .github/classifier.yml | 2 +- .vscode/launch.json | 2 +- .vscode/settings.json | 4 +- OSSREADME.json | 171 ++ ThirdPartyNotices.txt | 31 +- build/builtInExtensions.json | 4 +- build/gulpfile.hygiene.js | 2 +- build/gulpfile.vscode.js | 2 +- build/lib/extensions.js | 1 + build/lib/extensions.ts | 1 + build/lib/tslint/noStandaloneEditorRule.js | 72 + build/lib/tslint/noStandaloneEditorRule.ts | 65 + build/monaco/monaco.d.ts.recipe | 4 + build/npm/update-grammar.js | 2 +- build/tfs/continuous-build.yml | 30 +- .../configuration-editing/src/extension.ts | 5 +- .../csharp/syntaxes/csharp.tmLanguage.json | 4 +- extensions/css-language-features/package.json | 6 +- .../css-language-features/server/package.json | 6 +- .../server/src/cssServerMain.ts | 114 +- .../css-language-features/server/yarn.lock | 52 +- extensions/css-language-features/yarn.lock | 46 +- extensions/emmet/src/abbreviationActions.ts | 5 +- extensions/emmet/src/balance.ts | 39 +- .../src/test/cssAbbreviationAction.test.ts | 22 + .../test/editPointSelectItemBalance.test.ts | 29 + .../src/test/partialParsingStylesheet.test.ts | 12 +- extensions/git/src/commands.ts | 12 +- extensions/git/src/contentProvider.ts | 4 +- extensions/git/src/util.ts | 10 + .../client/src/htmlMain.ts | 2 +- .../html-language-features/package.json | 4 +- .../server/package.json | 10 +- .../server/src/htmlServerMain.ts | 166 +- .../server/src/modes/javascriptMode.ts | 2 +- .../html-language-features/server/yarn.lock | 64 +- extensions/html-language-features/yarn.lock | 40 +- .../syntaxes/JavaScript.tmLanguage.json | 43 +- .../syntaxes/JavaScriptReact.tmLanguage.json | 43 +- .../json-language-features/package.json | 4 +- .../server/package.json | 6 +- .../server/src/jsonServerMain.ts | 90 +- .../json-language-features/server/yarn.lock | 58 +- extensions/json-language-features/yarn.lock | 40 +- extensions/markdown-basics/package.json | 2 +- .../syntaxes/markdown.tmLanguage.json | 46 +- .../media/highlight.css | 177 ++ .../media/markdown.css | 3 +- .../media/tomorrow.css | 73 - .../markdown-language-features/package.json | 4 +- .../src/commands/openDocumentLink.ts | 4 +- .../src/extension.ts | 3 +- .../src/features/previewManager.ts | 2 + .../src/markdownEngine.ts | 15 +- .../markdown-language-features/src/slugify.ts | 32 + .../src/tableOfContentsProvider.ts | 32 +- .../src/test/engine.ts | 16 +- .../src/test/tableOfContentsProvider.test.ts | 29 +- extensions/npm/README.md | 3 +- extensions/npm/package.json | 42 +- extensions/npm/package.nls.json | 4 +- extensions/npm/resources/dark/debug.svg | 7 + extensions/npm/resources/light/debug.svg | 7 + .../src/features/packageJSONContribution.ts | 3 + extensions/npm/src/main.ts | 15 +- extensions/npm/src/npmView.ts | 47 +- extensions/npm/src/tasks.ts | 17 +- extensions/package.json | 2 +- .../syntaxes/powershell.tmLanguage.json | 382 ++- .../test/colorize-results/test_ps1.json | 2619 +++++++++-------- extensions/pug/OSSREADME.json | 23 +- extensions/pug/package.json | 4 +- extensions/pug/syntaxes/pug.tmLanguage.json | 846 +++--- .../test/colorize-results/test-4287_pug.json | 8 +- .../pug/test/colorize-results/test_pug.json | 410 +-- extensions/search-rg/package.json | 14 +- extensions/search-rg/package.nls.json | 4 +- extensions/search-rg/src/extension.ts | 10 +- extensions/search-rg/src/ripgrepFileSearch.ts | 32 +- extensions/search-rg/src/ripgrepHelpers.ts | 6 +- extensions/search-rg/src/ripgrepTextSearch.ts | 104 +- .../theme-abyss/themes/abyss-color-theme.json | 1 - .../theme-defaults/themes/light_vs.json | 6 +- .../themes/kimbie-dark-color-theme.json | 1 - .../themes/dimmed-monokai-color-theme.json | 1 - .../themes/monokai-color-theme.json | 2 +- .../theme-red/themes/Red-color-theme.json | 1 - .../themes/solarized-dark-color-theme.json | 1 - .../themes/solarized-light-color-theme.json | 1 - .../themes/tomorrow-night-blue-theme.json | 1 - .../syntaxes/TypeScript.tmLanguage.json | 43 +- .../syntaxes/TypeScriptReact.tmLanguage.json | 43 +- .../typescript-language-features/package.json | 46 +- .../package.nls.json | 19 +- .../schemas/package.schema.json | 26 + .../src/features/bufferSyncSupport.ts | 33 +- .../src/features/diagnostics.ts | 57 +- .../src/features/documentSymbolProvider.ts | 94 +- .../src/features/fileConfigurationManager.ts | 11 +- .../src/features/foldingProvider.ts | 20 +- .../src/features/jsDocCompletionProvider.ts | 34 +- .../src/features/quickFixProvider.ts | 2 +- .../src/features/refactorProvider.ts | 5 +- .../src/features/signatureHelpProvider.ts | 73 +- .../src/features/unusedHighlighter.ts | 73 - .../src/features/updatePathsOnRename.ts | 204 ++ .../src/languageProvider.ts | 42 +- .../src/test/jsdocSnippet.test.ts | 2 +- .../src/typeScriptServiceClientHost.ts | 12 +- .../src/typescriptService.ts | 1 + .../src/typescriptServiceClient.ts | 32 +- .../src/utils/api.ts | 5 + .../src/singlefolder-tests/window.test.ts | 82 +- extensions/yarn.lock | 6 +- .../out/extension.i18n.json | 8 + .../chs/extensions/git/out/commands.i18n.json | 6 +- i18n/chs/extensions/npm/out/npmView.i18n.json | 6 +- i18n/chs/extensions/npm/package.i18n.json | 10 +- .../extensions/search-rg/package.i18n.json | 10 + .../features/updatePathsOnRename.i18n.json | 14 + .../package.i18n.json | 13 +- .../base/common/jsonErrorMessages.i18n.json | 4 +- i18n/chs/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 14 +- .../processExplorerMain.i18n.json | 5 +- .../src/vs/code/electron-main/menus.i18n.json | 3 +- .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 2 +- .../common/view/editorColorRegistry.i18n.json | 2 +- .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../list/browser/listService.i18n.json | 2 +- .../node/minimalTranslations.i18n.json | 11 + .../theme/common/colorRegistry.i18n.json | 5 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../workspaces/common/workspaces.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 6 +- .../actions/workspaceActions.i18n.json | 2 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../parts/views/viewsViewlet.i18n.json | 2 + .../src/vs/workbench/common/theme.i18n.json | 6 +- .../largeFileOptimizations.i18n.json | 12 + .../debug/browser/breakpointsView.i18n.json | 1 - .../debug/browser/debugActions.i18n.json | 3 +- .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 38 + .../breakpointWidget.i18n.json | 4 +- .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 2 +- .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 15 +- .../extensionEditor.i18n.json | 8 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 8 +- .../browser/editors/textFileEditor.i18n.json | 1 - .../electron-browser/fileActions.i18n.json | 3 - .../localizations.contribution.i18n.json | 1 + .../localizationsActions.i18n.json | 1 - .../electron-browser/markersPanel.i18n.json | 1 - .../electron-browser/messages.i18n.json | 2 - .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 16 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/preferencesActions.i18n.json | 1 + .../browser/preferencesEditor.i18n.json | 2 - .../browser/settingsEditor2.i18n.json | 17 + .../browser/settingsTree.i18n.json | 18 + .../preferences.contribution.i18n.json | 1 + .../search/browser/searchActions.i18n.json | 2 + .../parts/search/browser/searchView.i18n.json | 8 +- .../search.contribution.i18n.json | 4 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../terminal.contribution.i18n.json | 2 + .../terminalActions.i18n.json | 5 +- .../terminalInstance.i18n.json | 7 +- .../electron-browser/terminalPanel.i18n.json | 2 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 2 +- .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationExtensionPoint.i18n.json | 1 + .../configurationResolverService.i18n.json | 13 +- .../common/extensionsRegistry.i18n.json | 1 - .../extensionService.i18n.json | 1 - .../remoteFileService.i18n.json | 2 +- .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 11 + .../cht/extensions/git/out/commands.i18n.json | 6 +- i18n/cht/extensions/npm/out/npmView.i18n.json | 7 +- i18n/cht/extensions/npm/package.i18n.json | 8 +- i18n/cht/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/cht/src/vs/base/node/processes.i18n.json | 3 +- i18n/cht/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 14 +- .../processExplorerMain.i18n.json | 5 +- .../src/vs/code/electron-main/menus.i18n.json | 3 +- .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 4 - .../common/view/editorColorRegistry.i18n.json | 1 + .../codeAction/codeActionCommands.i18n.json | 1 - .../contrib/fontZoom/fontZoom.i18n.json | 11 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../message/messageController.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 6 +- .../actions/workspaceActions.i18n.json | 2 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../parts/views/viewsViewlet.i18n.json | 2 + .../src/vs/workbench/common/theme.i18n.json | 6 +- .../largeFileOptimizations.i18n.json | 13 + .../debug/browser/debugActions.i18n.json | 3 +- .../debug/browser/debugCommands.i18n.json | 4 +- .../debug/browser/debugViewlet.i18n.json | 1 + .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 2 +- .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 10 +- .../extensionEditor.i18n.json | 6 +- .../extensionTipsService.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 8 +- .../electron-browser/fileActions.i18n.json | 1 - .../localizations.contribution.i18n.json | 2 +- .../localizationsActions.i18n.json | 2 +- .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 16 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 14 + .../browser/settingsTree.i18n.json | 13 + .../preferences.contribution.i18n.json | 1 + .../search/browser/searchActions.i18n.json | 2 + .../search.contribution.i18n.json | 3 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../terminalTaskSystem.i18n.json | 1 - .../terminal.contribution.i18n.json | 2 +- .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../webviewCommands.i18n.json | 3 +- .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationExtensionPoint.i18n.json | 1 + .../configurationResolverService.i18n.json | 3 +- .../common/extensionsRegistry.i18n.json | 1 - .../remoteFileService.i18n.json | 1 + .../common/fileIconThemeSchema.i18n.json | 2 +- .../deu/extensions/git/out/commands.i18n.json | 3 +- i18n/deu/extensions/npm/out/npmView.i18n.json | 6 +- i18n/deu/extensions/npm/package.i18n.json | 7 +- .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/deu/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 10 +- .../processExplorerMain.i18n.json | 6 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 10 + .../browser/widget/diffReview.i18n.json | 1 - .../config/commonEditorConfig.i18n.json | 2 - .../common/view/editorColorRegistry.i18n.json | 1 - .../codeAction/codeActionCommands.i18n.json | 3 - .../contrib/fontZoom/fontZoom.i18n.json | 10 + .../contrib/format/formatActions.i18n.json | 1 - .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 2 - .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 4 - .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/breakpointsView.i18n.json | 1 - .../debug/browser/debugActions.i18n.json | 1 - .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 7 - .../extensionEditor.i18n.json | 2 + .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../electron-browser/fileActions.i18n.json | 1 - .../localizationsActions.i18n.json | 1 - .../outline.contribution.i18n.json | 10 + .../electron-browser/outlinePanel.i18n.json | 11 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 13 + .../browser/settingsTree.i18n.json | 12 + .../scm/electron-browser/scmViewlet.i18n.json | 3 +- .../search.contribution.i18n.json | 4 +- .../terminal.contribution.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../vs_code_welcome_page.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../node/configurationService.i18n.json | 1 - .../extensionService.i18n.json | 1 - .../remoteFileService.i18n.json | 1 - .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 9 + .../esn/extensions/git/out/commands.i18n.json | 4 +- i18n/esn/extensions/npm/out/npmView.i18n.json | 6 +- i18n/esn/extensions/npm/package.i18n.json | 9 +- i18n/esn/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../out/features/organizeImports.i18n.json | 2 +- .../features/updatePathsOnRename.i18n.json | 12 + .../package.i18n.json | 15 +- i18n/esn/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterMain.i18n.json | 1 - .../issue/issueReporterPage.i18n.json | 13 +- .../processExplorerMain.i18n.json | 6 +- .../src/vs/code/electron-main/menus.i18n.json | 4 +- .../browser/widget/codeEditorWidget.i18n.json | 9 + .../browser/widget/diffReview.i18n.json | 1 - .../config/commonEditorConfig.i18n.json | 4 - .../codeAction/codeActionCommands.i18n.json | 5 - .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../message/messageController.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../electron-main/issueService.i18n.json | 3 +- .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 7 +- .../actions/workspaceActions.i18n.json | 3 +- .../parts/editor/resourceViewer.i18n.json | 1 - .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../parts/views/viewsViewlet.i18n.json | 2 + .../src/vs/workbench/common/theme.i18n.json | 6 +- .../largeFileOptimizations.i18n.json | 12 + .../debug/browser/breakpointsView.i18n.json | 3 - .../debug/browser/debugActions.i18n.json | 1 - .../debug/browser/debugCommands.i18n.json | 4 +- .../browser/debugEditorActions.i18n.json | 1 - .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 2 +- .../debug.contribution.i18n.json | 2 +- .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 12 - .../parts/debug/node/debugger.i18n.json | 1 - .../extensionEditor.i18n.json | 4 + .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 8 +- .../browser/editors/textFileEditor.i18n.json | 2 - .../electron-browser/fileActions.i18n.json | 6 - .../views/explorerViewer.i18n.json | 3 - .../localizations.contribution.i18n.json | 1 - .../localizationsActions.i18n.json | 1 - .../electron-browser/markersPanel.i18n.json | 4 +- .../markersPanelActions.i18n.json | 3 +- .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 16 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 15 + .../browser/settingsTree.i18n.json | 14 + .../search/browser/searchActions.i18n.json | 2 + .../search.contribution.i18n.json | 4 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../task.contribution.i18n.json | 2 - .../terminal.contribution.i18n.json | 3 +- .../terminalActions.i18n.json | 5 +- .../terminalInstance.i18n.json | 5 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 3 +- .../vs_code_welcome_page.i18n.json | 2 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationExtensionPoint.i18n.json | 1 - .../configurationEditingService.i18n.json | 1 - .../node/configurationService.i18n.json | 4 +- .../configurationResolverService.i18n.json | 3 +- .../node/variableResolver.i18n.json | 2 - .../common/extensionsRegistry.i18n.json | 1 - .../extensionService.i18n.json | 2 - .../remoteFileService.i18n.json | 1 - .../common/fileIconThemeSchema.i18n.json | 1 - .../fra/extensions/git/out/commands.i18n.json | 3 +- i18n/fra/extensions/npm/out/npmView.i18n.json | 6 +- i18n/fra/extensions/npm/package.i18n.json | 6 +- i18n/fra/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/fra/src/vs/base/node/processes.i18n.json | 3 +- i18n/fra/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterMain.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 11 +- .../processExplorerMain.i18n.json | 5 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 9 + .../browser/widget/diffReview.i18n.json | 1 - .../config/commonEditorConfig.i18n.json | 2 - .../common/view/editorColorRegistry.i18n.json | 1 + .../codeAction/codeActionCommands.i18n.json | 1 - .../contrib/find/findController.i18n.json | 1 - .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 6 +- .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 12 + .../debug/browser/breakpointsView.i18n.json | 1 - .../debug/browser/debugActions.i18n.json | 2 +- .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 37 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 2 +- .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 9 - .../extensionEditor.i18n.json | 4 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../browser/editors/textFileEditor.i18n.json | 1 - .../electron-browser/fileActions.i18n.json | 2 - .../localizationsActions.i18n.json | 1 - .../electron-browser/markersPanel.i18n.json | 3 +- .../markersPanelActions.i18n.json | 3 +- .../electron-browser/messages.i18n.json | 2 - .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 16 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/preferencesEditor.i18n.json | 1 - .../browser/settingsEditor2.i18n.json | 13 + .../browser/settingsTree.i18n.json | 12 + .../search.contribution.i18n.json | 3 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../common/terminalColorRegistry.i18n.json | 1 - .../terminal.contribution.i18n.json | 1 - .../terminalActions.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 2 - .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../vs_code_welcome_page.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationEditingService.i18n.json | 1 - .../configurationResolverService.i18n.json | 14 +- .../common/extensionsRegistry.i18n.json | 1 - .../extensionService.i18n.json | 1 - .../remoteFileService.i18n.json | 2 +- .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 11 + .../hun/extensions/git/out/commands.i18n.json | 6 +- i18n/hun/extensions/npm/out/npmView.i18n.json | 7 +- i18n/hun/extensions/npm/package.i18n.json | 8 +- .../extensions/search-rg/package.i18n.json | 11 + .../features/updatePathsOnRename.i18n.json | 14 + .../package.i18n.json | 13 +- i18n/hun/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterMain.i18n.json | 2 + .../issue/issueReporterPage.i18n.json | 15 +- .../processExplorerMain.i18n.json | 4 +- .../src/vs/code/electron-main/menus.i18n.json | 11 +- .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 3 +- .../common/view/editorColorRegistry.i18n.json | 1 + .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 13 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 1 - .../actions/workspaceActions.i18n.json | 2 +- .../parts/editor/editorStatus.i18n.json | 2 +- .../browser/parts/panel/panelPart.i18n.json | 14 +- .../quickopen/quickOpenController.i18n.json | 2 - .../parts/quickopen/quickopen.i18n.json | 2 +- .../parts/views/viewsViewlet.i18n.json | 2 + .../src/vs/workbench/common/theme.i18n.json | 6 +- .../largeFileOptimizations.i18n.json | 13 + .../debug/browser/debugActions.i18n.json | 2 +- .../debug/browser/debugCommands.i18n.json | 4 +- .../browser/debugEditorActions.i18n.json | 4 +- .../debug/browser/debugViewlet.i18n.json | 1 + .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 2 +- .../debug.contribution.i18n.json | 2 +- .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 8 +- .../extensionEditor.i18n.json | 8 + .../extensionTipsService.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 8 +- .../electron-browser/fileActions.i18n.json | 1 - .../localizations.contribution.i18n.json | 1 + .../localizationsActions.i18n.json | 2 +- .../outline.contribution.i18n.json | 12 + .../electron-browser/outlinePanel.i18n.json | 17 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/keybindingWidgets.i18n.json | 2 + .../browser/preferencesActions.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 18 + .../browser/settingsTree.i18n.json | 19 + .../preferences.contribution.i18n.json | 1 + .../browser/gotoLineHandler.i18n.json | 6 +- .../browser/gotoSymbolHandler.i18n.json | 2 +- .../browser/quickopen.contribution.i18n.json | 6 +- .../search/browser/searchActions.i18n.json | 2 + .../search.contribution.i18n.json | 8 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../terminalTaskSystem.i18n.json | 2 +- .../terminal.contribution.i18n.json | 4 +- .../terminalActions.i18n.json | 4 +- .../terminalInstance.i18n.json | 5 + .../electron-browser/terminalPanel.i18n.json | 2 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../electron-browser/watermark.i18n.json | 2 +- .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationExtensionPoint.i18n.json | 1 + .../configurationResolverService.i18n.json | 3 +- .../remoteFileService.i18n.json | 1 + .../common/fileIconThemeSchema.i18n.json | 2 +- .../out/extension.i18n.json | 11 + .../out/settingsDocumentHelper.i18n.json | 4 +- .../ita/extensions/git/out/commands.i18n.json | 6 +- i18n/ita/extensions/npm/out/npmView.i18n.json | 7 +- i18n/ita/extensions/npm/package.i18n.json | 8 +- .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 14 +- i18n/ita/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 10 +- .../processExplorerMain.i18n.json | 7 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 9 + .../browser/widget/diffReview.i18n.json | 1 - .../config/commonEditorConfig.i18n.json | 2 - .../common/view/editorColorRegistry.i18n.json | 1 + .../contrib/find/findController.i18n.json | 1 - .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../message/messageController.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 3 - .../actions/workspaceActions.i18n.json | 3 +- .../parts/editor/resourceViewer.i18n.json | 2 - .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/debugActions.i18n.json | 1 - .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 5 - .../parts/debug/node/debugger.i18n.json | 1 - .../extensionEditor.i18n.json | 5 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../electron-browser/fileActions.i18n.json | 1 - .../localizationsActions.i18n.json | 1 - .../electron-browser/markersPanel.i18n.json | 3 +- .../outline.contribution.i18n.json | 10 + .../electron-browser/outlinePanel.i18n.json | 11 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 13 + .../browser/settingsTree.i18n.json | 12 + .../search.contribution.i18n.json | 3 +- .../task.contribution.i18n.json | 1 - .../terminal.contribution.i18n.json | 1 - .../terminalActions.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../common/extensionsRegistry.i18n.json | 1 - .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 11 + .../jpn/extensions/git/out/commands.i18n.json | 6 +- i18n/jpn/extensions/npm/out/npmView.i18n.json | 7 +- i18n/jpn/extensions/npm/package.i18n.json | 9 +- .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 13 + .../package.i18n.json | 13 +- i18n/jpn/src/vs/base/node/processes.i18n.json | 3 +- i18n/jpn/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterMain.i18n.json | 1 + .../issue/issueReporterPage.i18n.json | 15 +- .../processExplorerMain.i18n.json | 7 +- .../src/vs/code/electron-main/menus.i18n.json | 5 +- .../browser/widget/codeEditorWidget.i18n.json | 10 + .../browser/widget/diffReview.i18n.json | 1 - .../config/commonEditorConfig.i18n.json | 2 - .../common/view/editorColorRegistry.i18n.json | 1 + .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 5 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 6 +- .../actions/workspaceActions.i18n.json | 2 +- .../parts/editor/editorActions.i18n.json | 2 +- .../browser/parts/panel/panelPart.i18n.json | 14 +- .../quickopen/quickOpenController.i18n.json | 2 - .../parts/views/viewsViewlet.i18n.json | 2 + .../src/vs/workbench/common/theme.i18n.json | 6 +- .../largeFileOptimizations.i18n.json | 13 + .../debug/browser/breakpointsView.i18n.json | 2 +- .../debug/browser/debugActions.i18n.json | 2 +- .../debug/browser/debugCommands.i18n.json | 3 +- .../debug/browser/debugViewlet.i18n.json | 1 + .../parts/debug/common/debugSchemas.i18n.json | 37 + .../electron-browser/callStackView.i18n.json | 3 +- .../debug.contribution.i18n.json | 2 +- .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 10 +- .../browser/extensionsActions.i18n.json | 2 +- .../extensionEditor.i18n.json | 7 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 8 +- .../electron-browser/fileActions.i18n.json | 1 - .../localizations.contribution.i18n.json | 2 +- .../localizationsActions.i18n.json | 2 +- .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 16 + .../electron-browser/outlineTree.i18n.json | 10 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/preferencesEditor.i18n.json | 1 - .../browser/settingsEditor2.i18n.json | 15 + .../browser/settingsTree.i18n.json | 15 + .../search/browser/searchActions.i18n.json | 2 + .../search.contribution.i18n.json | 4 +- .../electron-browser/jsonSchema_v2.i18n.json | 1 + .../task.contribution.i18n.json | 1 - .../terminal.contribution.i18n.json | 3 +- .../terminalActions.i18n.json | 4 +- .../terminalInstance.i18n.json | 5 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../vs_code_welcome_page.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationExtensionPoint.i18n.json | 1 + .../configurationResolverService.i18n.json | 13 +- .../remoteFileService.i18n.json | 1 + .../common/fileIconThemeSchema.i18n.json | 1 - .../kor/extensions/git/out/commands.i18n.json | 3 +- i18n/kor/extensions/npm/out/npmView.i18n.json | 6 +- i18n/kor/extensions/npm/package.i18n.json | 8 +- i18n/kor/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/kor/src/vs/base/node/zip.i18n.json | 1 - .../issue/issueReporterPage.i18n.json | 10 +- .../processExplorerMain.i18n.json | 6 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 2 - .../common/view/editorColorRegistry.i18n.json | 1 - .../codeAction/codeActionCommands.i18n.json | 3 - .../contrib/fontZoom/fontZoom.i18n.json | 9 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../message/messageController.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../electron-main/issueService.i18n.json | 3 +- .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 5 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 4 - .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/breakpointsView.i18n.json | 3 - .../debug/browser/debugActions.i18n.json | 2 - .../debug/browser/debugCommands.i18n.json | 4 +- .../browser/debugEditorActions.i18n.json | 1 - .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 12 - .../extensionEditor.i18n.json | 3 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../browser/editors/textFileEditor.i18n.json | 1 - .../electron-browser/fileActions.i18n.json | 2 - .../localizationsActions.i18n.json | 1 - .../outline.contribution.i18n.json | 11 + .../electron-browser/outlinePanel.i18n.json | 15 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/preferencesEditor.i18n.json | 2 - .../browser/settingsEditor2.i18n.json | 13 + .../browser/settingsTree.i18n.json | 12 + .../scm/electron-browser/scmViewlet.i18n.json | 3 +- .../search/browser/searchActions.i18n.json | 2 - .../search.contribution.i18n.json | 3 +- .../common/terminalColorRegistry.i18n.json | 1 - .../terminal.contribution.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../remoteFileService.i18n.json | 1 - .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 4 + .../ptb/extensions/git/out/commands.i18n.json | 4 +- i18n/ptb/extensions/npm/out/npmView.i18n.json | 7 +- i18n/ptb/extensions/npm/out/tasks.i18n.json | 3 +- i18n/ptb/extensions/npm/package.i18n.json | 3 +- i18n/ptb/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../out/features/organizeImports.i18n.json | 2 +- .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/ptb/src/vs/base/node/processes.i18n.json | 3 +- i18n/ptb/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 10 +- .../processExplorerMain.i18n.json | 8 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 10 + .../browser/widget/diffReview.i18n.json | 3 +- .../config/commonEditorConfig.i18n.json | 8 +- .../common/view/editorColorRegistry.i18n.json | 2 + .../codeAction/codeActionCommands.i18n.json | 8 +- .../contrib/find/findController.i18n.json | 1 + .../contrib/fontZoom/fontZoom.i18n.json | 10 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 3 +- .../vs/editor/contrib/links/links.i18n.json | 2 + .../message/messageController.i18n.json | 3 +- .../platform/environment/node/argv.i18n.json | 3 + .../node/extensionManagementService.i18n.json | 4 +- .../node/extensionValidator.i18n.json | 1 + .../electron-main/issueService.i18n.json | 3 +- .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 3 +- .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../parts/quickinput/quickInput.i18n.json | 1 + .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../electron-browser/actions.i18n.json | 1 + .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/breakpointsView.i18n.json | 2 - .../debug/browser/debugActions.i18n.json | 1 - .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 37 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 30 - .../debugEditorContribution.i18n.json | 10 - .../parts/debug/node/debugger.i18n.json | 1 - .../extensionEditor.i18n.json | 2 + .../extensionTipsService.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 5 +- .../localizations.contribution.i18n.json | 1 + .../localizationsActions.i18n.json | 1 - .../outline.contribution.i18n.json | 10 + .../electron-browser/outlinePanel.i18n.json | 11 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 14 + .../browser/settingsTree.i18n.json | 12 + .../search.contribution.i18n.json | 1 + .../terminal.contribution.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 2 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 4 + .../rus/extensions/git/out/commands.i18n.json | 4 +- i18n/rus/extensions/npm/out/npmView.i18n.json | 6 +- i18n/rus/extensions/npm/package.i18n.json | 6 +- i18n/rus/extensions/php/package.i18n.json | 1 - .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/rus/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 10 +- .../processExplorerMain.i18n.json | 7 +- .../src/vs/code/electron-main/menus.i18n.json | 2 - .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 4 - .../codeAction/codeActionCommands.i18n.json | 1 - .../contrib/fontZoom/fontZoom.i18n.json | 9 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../node/extensionManagementService.i18n.json | 2 - .../node/minimalTranslations.i18n.json | 10 + .../theme/common/colorRegistry.i18n.json | 2 - .../inactiveExtensionUrlHandler.i18n.json | 3 +- .../viewsContainersExtensionPoint.i18n.json | 3 - .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 13 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/breakpointsView.i18n.json | 1 - .../debug/browser/debugActions.i18n.json | 2 - .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 38 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 9 - .../extensionEditor.i18n.json | 3 +- .../extensionTipsService.i18n.json | 1 - .../extensionsViewlet.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../electron-browser/fileActions.i18n.json | 2 - .../localizationsActions.i18n.json | 1 - .../electron-browser/markersPanel.i18n.json | 3 +- .../outline.contribution.i18n.json | 10 + .../electron-browser/outlinePanel.i18n.json | 11 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/preferencesEditor.i18n.json | 2 - .../browser/settingsEditor2.i18n.json | 13 + .../browser/settingsTree.i18n.json | 12 + .../search.contribution.i18n.json | 3 +- .../terminal.contribution.i18n.json | 1 - .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../remoteFileService.i18n.json | 1 - .../common/fileIconThemeSchema.i18n.json | 1 - .../out/extension.i18n.json | 11 + i18n/trk/extensions/emmet/package.i18n.json | 6 +- .../trk/extensions/git/out/commands.i18n.json | 4 +- i18n/trk/extensions/npm/out/npmView.i18n.json | 6 +- i18n/trk/extensions/npm/package.i18n.json | 8 +- .../extensions/search-rg/package.i18n.json | 9 + .../features/updatePathsOnRename.i18n.json | 11 + .../package.i18n.json | 13 +- i18n/trk/src/vs/base/node/zip.i18n.json | 2 +- .../issue/issueReporterPage.i18n.json | 16 +- .../processExplorerMain.i18n.json | 5 +- .../src/vs/code/electron-main/menus.i18n.json | 6 +- .../browser/widget/codeEditorWidget.i18n.json | 10 + .../config/commonEditorConfig.i18n.json | 2 +- .../common/view/editorColorRegistry.i18n.json | 1 + .../contrib/fontZoom/fontZoom.i18n.json | 12 + .../goToDefinitionCommands.i18n.json | 25 + .../goToDefinitionMouse.i18n.json | 10 + .../contrib/gotoError/gotoError.i18n.json | 4 +- .../contrib/indentation/indentation.i18n.json | 3 +- .../node/extensionManagementService.i18n.json | 2 - .../abstractKeybindingService.i18n.json | 2 +- .../node/minimalTranslations.i18n.json | 11 + .../theme/common/colorRegistry.i18n.json | 7 +- .../inactiveExtensionUrlHandler.i18n.json | 2 +- .../viewsContainersExtensionPoint.i18n.json | 2 +- .../api/browser/viewsExtensionPoint.i18n.json | 1 + .../actions/workspaceActions.i18n.json | 3 +- .../browser/parts/panel/panelPart.i18n.json | 14 +- .../quickopen/quickOpenController.i18n.json | 2 - .../src/vs/workbench/common/theme.i18n.json | 2 - .../largeFileOptimizations.i18n.json | 9 + .../debug/browser/debugActions.i18n.json | 1 - .../debug/browser/debugCommands.i18n.json | 4 +- .../parts/debug/common/debugSchemas.i18n.json | 37 + .../breakpointWidget.i18n.json | 1 + .../electron-browser/callStackView.i18n.json | 1 - .../debug.contribution.i18n.json | 1 - .../debugConfigurationManager.i18n.json | 29 - .../debugEditorContribution.i18n.json | 6 +- .../extensionEditor.i18n.json | 2 + .../extensionTipsService.i18n.json | 1 - .../node/extensionsWorkbenchService.i18n.json | 6 +- .../electron-browser/fileActions.i18n.json | 7 +- .../files.contribution.i18n.json | 1 + .../views/explorerViewer.i18n.json | 3 + .../localizationsActions.i18n.json | 1 - .../outline.contribution.i18n.json | 10 + .../electron-browser/outlinePanel.i18n.json | 11 + .../electron-browser/outlineTree.i18n.json | 9 + .../output/browser/outputPanel.i18n.json | 1 + .../browser/settingsEditor2.i18n.json | 14 + .../browser/settingsTree.i18n.json | 12 + .../search/browser/searchWidget.i18n.json | 2 +- .../tasks/common/problemMatcher.i18n.json | 2 +- .../common/taskDefinitionRegistry.i18n.json | 1 + .../task.contribution.i18n.json | 2 + .../terminalTaskSystem.i18n.json | 1 + .../terminal.contribution.i18n.json | 1 - .../terminalActions.i18n.json | 2 +- .../terminalInstance.i18n.json | 3 + ...edWorkspaceSettings.contribution.i18n.json | 4 +- .../update/electron-browser/update.i18n.json | 1 - .../overlay/browser/welcomeOverlay.i18n.json | 1 - .../walkThrough.contribution.i18n.json | 3 +- .../bulkEditService.i18n.json | 13 + .../configurationEditingService.i18n.json | 1 + .../node/configurationService.i18n.json | 1 + .../node/variableResolver.i18n.json | 8 +- .../browser/decorationsService.i18n.json | 2 +- .../common/extensionsRegistry.i18n.json | 3 + .../common/fileIconThemeSchema.i18n.json | 1 - package.json | 10 +- scripts/test-integration.sh | 2 + src/typings/chokidar.d.ts | 2 +- src/vs/base/browser/dnd.ts | 12 + src/vs/base/browser/dom.ts | 20 +- src/vs/base/browser/event.ts | 107 +- src/vs/base/browser/ui/grid/grid.ts | 528 ++++ .../browser/ui/grid/gridview.css} | 15 +- src/vs/base/browser/ui/grid/gridview.ts | 619 ++++ .../ui/highlightedlabel/highlightedLabel.ts | 7 +- .../browser/ui/progressbar/progressbar.ts | 23 +- src/vs/base/browser/ui/splitview/panelview.ts | 2 +- .../base/browser/ui/splitview/splitview.css | 2 + src/vs/base/browser/ui/splitview/splitview.ts | 139 +- src/vs/base/common/arrays.ts | 8 + src/vs/base/common/async.ts | 114 +- src/vs/base/common/lifecycle.ts | 2 +- src/vs/base/common/map.ts | 8 + src/vs/base/common/resources.ts | 7 + src/vs/base/common/tree.ts | 57 + src/vs/base/common/uuid.ts | 2 +- src/vs/base/node/stats.ts | 63 +- src/vs/base/parts/ipc/node/ipc.net.ts | 1 + src/vs/base/parts/tree/browser/tree.ts | 1 + src/vs/base/parts/tree/browser/treeImpl.ts | 1 + src/vs/base/parts/tree/browser/treeView.ts | 2 +- src/vs/base/test/browser/progressBar.test.ts | 3 +- src/vs/base/test/browser/ui/grid/grid.test.ts | 740 +++++ .../test/browser/ui/grid/gridview.test.ts | 234 ++ src/vs/base/test/browser/ui/grid/util.ts | 81 + .../browser/ui/splitview/splitview.test.ts | 46 +- src/vs/base/test/common/async.test.ts | 106 +- src/vs/base/test/common/tree.test.ts | 125 + src/vs/base/test/common/utils.ts | 14 +- src/vs/base/test/node/glob.test.ts | 735 ++--- src/vs/base/test/node/id.test.ts | 9 + .../issue/issueReporterMain.ts | 25 +- .../issue/issueReporterPage.ts | 8 +- .../issue/media/issueReporter.css | 43 +- .../contrib/languagePackCachedDataCleaner.ts | 6 +- src/vs/code/electron-main/menus.ts | 121 +- src/vs/code/electron-main/windows.ts | 8 +- .../editor/browser/controller/coreCommands.ts | 13 +- src/vs/editor/browser/editorBrowser.ts | 15 + src/vs/editor/browser/editorExtensions.ts | 19 +- .../services/abstractCodeEditorService.ts | 5 + .../browser/services/codeEditorService.ts | 42 +- .../browser/services/codeEditorServiceImpl.ts | 7 +- .../browser/services}/openerService.ts | 6 +- .../browser/viewParts/minimap/minimap.ts | 5 + .../editor/browser/widget/codeEditorWidget.ts | 7 +- .../editor/browser/widget/diffEditorWidget.ts | 12 +- .../common/config/commonEditorConfig.ts | 6 +- src/vs/editor/common/config/editorOptions.ts | 24 +- .../common/controller/cursorMoveCommands.ts | 16 +- src/vs/editor/common/editorCommon.ts | 23 + src/vs/editor/common/model/intervalTree.ts | 3 +- src/vs/editor/common/model/textModel.ts | 4 +- src/vs/editor/common/model/textModelSearch.ts | 17 - src/vs/editor/common/modes.ts | 9 + .../common/modes/supports/tokenization.ts | 2 +- .../common/services/modelServiceImpl.ts | 16 +- .../common/standalone/standaloneBase.ts | 5 + .../editor/common/view/editorColorRegistry.ts | 2 + .../characterHardWrappingLineMapper.ts | 10 + .../editor/common/viewModel/viewModelImpl.ts | 1 + .../editor/contrib/codeAction/codeAction.ts | 11 +- .../contrib/codeAction/codeActionModel.ts | 2 +- .../contrib/codeAction/codeActionWidget.ts | 5 +- .../codeAction/test/codeAction.test.ts | 12 +- .../goToDefinition/goToDefinitionCommands.ts | 22 +- src/vs/editor/contrib/gotoError/gotoError.ts | 20 +- .../editor/contrib/multicursor/multicursor.ts | 8 +- .../referenceSearch/referenceSearch.ts | 83 +- .../referenceSearch/referencesController.ts | 14 +- .../snippet/test/snippetVariables.test.ts | 12 +- .../editor/contrib/suggest/suggestWidget.ts | 8 +- src/vs/editor/editor.api.ts | 1 + .../standaloneReferenceSearch.ts | 4 +- .../standalone/browser/simpleServices.ts | 117 +- .../browser/standaloneCodeServiceImpl.ts | 73 + .../standalone/browser/standaloneEditor.ts | 18 +- .../standalone/browser/standaloneServices.ts | 4 +- .../browser/standaloneThemeServiceImpl.ts | 5 +- src/vs/editor/standalone/common/themes.ts | 12 +- .../editor/test/browser/editorTestServices.ts | 8 + .../services/decorationRenderOptions.test.ts | 33 +- .../browser/services}/openerService.test.ts | 64 +- .../common/model/textModelWithTokens.test.ts | 21 + .../characterHardWrappingLineMapper.test.ts | 9 +- src/vs/monaco.d.ts | 14 +- .../actions/browser/menuItemActionItem.ts | 40 +- src/vs/platform/actions/common/actions.ts | 1 + .../clipboard/common/clipboardService.ts | 12 +- .../electron-browser/clipboardService.ts | 25 +- src/vs/platform/editor/common/editor.ts | 210 +- .../common/extensionManagement.ts | 14 +- .../node/extensionGalleryService.ts | 31 +- .../node/extensionManagementService.ts | 95 +- .../common/instantiationService.ts | 2 +- .../issue/electron-main/issueService.ts | 51 +- .../localizations/common/localizations.ts | 5 +- .../platform/markers/common/markerService.ts | 6 +- src/vs/platform/markers/common/markers.ts | 6 + src/vs/platform/node/minimalTranslations.ts | 17 + .../opener/browser/opener.contribution.ts | 12 - src/vs/platform/opener/common/opener.ts | 1 - src/vs/platform/progress/common/progress.ts | 66 + src/vs/platform/search/common/search.ts | 8 +- src/vs/platform/theme/common/themeService.ts | 3 +- .../electron-main/updateService.darwin.ts | 2 +- src/vs/platform/windows/common/windows.ts | 3 +- src/vs/platform/windows/common/windowsIpc.ts | 8 +- .../windows/electron-browser/windowService.ts | 4 + .../platform/windows/electron-main/windows.ts | 1 + .../windows/electron-main/windowsService.ts | 3 +- src/vs/vscode.d.ts | 274 +- src/vs/vscode.proposed.d.ts | 318 +- .../browser/viewsContainersExtensionPoint.ts | 21 +- .../api/browser/viewsExtensionPoint.ts | 12 +- .../mainThreadDebugService.ts | 35 +- .../mainThreadDocumentContentProviders.ts | 4 +- .../electron-browser/mainThreadDocuments.ts | 8 +- .../mainThreadDocumentsAndEditors.ts | 55 +- .../api/electron-browser/mainThreadEditor.ts | 2 +- .../api/electron-browser/mainThreadEditors.ts | 66 +- .../mainThreadSaveParticipant.ts | 5 +- .../api/electron-browser/mainThreadSearch.ts | 17 +- .../api/electron-browser/mainThreadTask.ts | 36 +- .../electron-browser/mainThreadTreeViews.ts | 36 +- .../api/electron-browser/mainThreadWebview.ts | 77 +- src/vs/workbench/api/node/apiCommands.ts | 11 +- src/vs/workbench/api/node/extHost.api.impl.ts | 34 +- src/vs/workbench/api/node/extHost.protocol.ts | 36 +- .../workbench/api/node/extHostApiCommands.ts | 18 +- .../api/node/extHostConfiguration.ts | 4 +- .../workbench/api/node/extHostDebugService.ts | 36 +- .../workbench/api/node/extHostDiagnostics.ts | 1 + src/vs/workbench/api/node/extHostDocuments.ts | 9 + .../api/node/extHostLanguageFeatures.ts | 167 +- src/vs/workbench/api/node/extHostQuickOpen.ts | 45 +- src/vs/workbench/api/node/extHostSearch.ts | 402 ++- src/vs/workbench/api/node/extHostTask.ts | 132 +- .../workbench/api/node/extHostTextEditors.ts | 2 - src/vs/workbench/api/node/extHostTreeViews.ts | 65 +- .../api/node/extHostTypeConverters.ts | 66 +- src/vs/workbench/api/node/extHostTypes.ts | 37 +- src/vs/workbench/api/node/extHostWebview.ts | 6 +- src/vs/workbench/api/shared/editor.ts | 42 + src/vs/workbench/api/shared/tasks.ts | 4 + .../browser/actions/media/actions.css | 6 +- .../browser/actions/toggleEditorLayout.ts | 30 +- .../browser/actions/workspaceActions.ts | 10 +- src/vs/workbench/browser/composite.ts | 5 +- src/vs/workbench/browser/dnd.ts | 152 +- src/vs/workbench/browser/labels.ts | 3 +- src/vs/workbench/browser/layout.ts | 417 ++- src/vs/workbench/browser/media/part.css | 9 +- .../parts/activitybar/activitybarPart.ts | 49 +- .../workbench/browser/parts/compositePart.ts | 4 +- .../parts/compositebar/compositeBar.ts | 23 +- .../browser/parts/editor/baseEditor.ts | 111 +- .../browser/parts/editor/binaryEditor.ts | 25 +- .../parts/editor/editor.contribution.ts | 204 +- .../workbench/browser/parts/editor/editor.ts | 162 + .../browser/parts/editor/editorActions.ts | 1486 +++++----- .../browser/parts/editor/editorCommands.ts | 651 ++-- .../browser/parts/editor/editorControl.ts | 230 ++ .../browser/parts/editor/editorDropTarget.ts | 457 +++ .../browser/parts/editor/editorGroupView.ts | 1396 +++++++++ .../parts/editor/editorGroupsControl.ts | 2314 --------------- .../browser/parts/editor/editorPart.ts | 2411 ++++++--------- .../browser/parts/editor/editorPicker.ts | 92 +- .../browser/parts/editor/editorStatus.ts | 172 +- ...ose-big-dark.svg => close-big-inverse.svg} | 0 .../editor/media/close-editor-inverse.svg | 1 + .../parts/editor/media/close-editor.svg | 1 + .../editor/media/closeall-editors-inverse.svg | 1 + .../parts/editor/media/closeall-editors.svg | 1 + .../editor/media/editorGroupsControl.css | 92 - .../parts/editor/media/editordroptarget.css | 29 + .../parts/editor/media/editorgroupview.css | 96 + .../parts/editor/media/editorstatus.css | 2 +- .../parts/editor/media/notabstitle.css | 47 - .../parts/editor/media/notabstitlecontrol.css | 47 + ...alo_inversep.svg => paragraph-inverse.svg} | 0 ...Paragraph_16x_nohalo.svg => paragraph.svg} | 0 .../media/split-editor-horizontal-inverse.svg | 2 +- .../editor/media/split-editor-horizontal.svg | 2 +- .../media/split-editor-vertical-inverse.svg | 2 +- .../editor/media/split-editor-vertical.svg | 2 +- .../parts/editor/media/stackview-inverse.svg | 20 - .../browser/parts/editor/media/stackview.svg | 20 - .../browser/parts/editor/media/tabstitle.css | 228 -- .../parts/editor/media/tabstitlecontrol.css | 223 ++ .../parts/editor/media/textdiffeditor.css | 4 +- .../parts/editor/media/titlecontrol.css | 89 +- .../parts/editor/noTabsTitleControl.ts | 238 +- .../browser/parts/editor/rangeDecorations.ts | 10 +- .../browser/parts/editor/resourceViewer.ts | 8 +- .../browser/parts/editor/sideBySideEditor.ts | 45 +- .../browser/parts/editor/tabsTitleControl.ts | 1301 ++++---- .../browser/parts/editor/textDiffEditor.ts | 118 +- .../browser/parts/editor/textEditor.ts | 67 +- .../parts/editor/textResourceEditor.ts | 52 +- .../browser/parts/editor/titleControl.ts | 453 ++- .../notifications/notificationsAlerts.ts | 6 +- .../notifications/notificationsCenter.ts | 28 +- .../notifications/notificationsToasts.ts | 27 +- .../notifications/notificationsViewer.ts | 2 +- .../browser/parts/panel/panelPart.ts | 37 +- .../quickinput/quickInput.contribution.ts | 11 +- .../browser/parts/quickinput/quickInput.ts | 57 +- .../parts/quickopen/quickOpenController.ts | 29 +- .../browser/parts/statusbar/statusbarPart.ts | 12 +- .../browser/parts/titlebar/titlebarPart.ts | 69 +- .../browser/parts/views/contributableViews.ts | 2 +- .../browser/parts/views/customViewPanel.ts | 7 +- .../browser/parts/views/panelViewlet.ts | 2 +- .../parts/views/{customView.ts => views.ts} | 69 +- .../browser/parts/views/viewsViewlet.ts | 42 +- src/vs/workbench/browser/quickopen.ts | 13 +- src/vs/workbench/browser/viewlet.ts | 15 +- src/vs/workbench/common/actions.ts | 4 +- src/vs/workbench/common/composite.ts | 8 +- src/vs/workbench/common/editor.ts | 490 +-- src/vs/workbench/common/editor/editorGroup.ts | 673 +++++ .../common/editor/editorStacksModel.ts | 1291 -------- .../common/editor/untitledEditorInput.ts | 3 +- src/vs/workbench/common/memento.ts | 18 +- src/vs/workbench/common/notifications.ts | 11 +- src/vs/workbench/common/theme.ts | 42 +- src/vs/workbench/common/views.ts | 24 +- src/vs/workbench/electron-browser/actions.ts | 190 +- src/vs/workbench/electron-browser/commands.ts | 42 +- .../electron-browser/main.contribution.ts | 11 + src/vs/workbench/electron-browser/shell.ts | 11 +- src/vs/workbench/electron-browser/window.ts | 103 +- .../workbench/electron-browser/workbench.ts | 1502 +++++----- .../parts/backup/common/backupRestorer.ts | 20 +- .../electron-browser/inspectKeybindings.ts | 6 +- .../workbenchReferenceSearch.ts | 88 +- .../parts/debug/browser/baseDebugView.ts | 4 +- .../parts/debug/browser/breakpointsView.ts | 7 +- .../parts/debug/browser/debugANSIHandling.ts | 130 + .../parts/debug/browser/debugActions.ts | 6 +- .../parts/debug/browser/debugActionsWidget.ts | 15 +- .../parts/debug/browser/debugCommands.ts | 34 +- .../parts/debug/browser/debugEditorActions.ts | 68 +- .../parts/debug/browser/debugViewlet.ts | 8 +- .../parts/debug/browser/linkDetector.ts | 7 +- .../parts/debug/browser/media/repl.css | 49 +- src/vs/workbench/parts/debug/common/debug.ts | 11 +- .../parts/debug/common/debugModel.ts | 4 +- .../parts/debug/common/debugSource.ts | 6 +- .../electron-browser/breakpointWidget.ts | 12 +- .../debug/electron-browser/callStackView.ts | 4 +- .../electron-browser/debug.contribution.ts | 24 +- .../debugConfigurationManager.ts | 37 +- .../debugEditorContribution.ts | 4 +- .../debug/electron-browser/debugService.ts | 9 +- .../debug/electron-browser/replViewer.ts | 125 +- .../debug/electron-browser/terminalSupport.ts | 191 +- src/vs/workbench/parts/debug/node/debugger.ts | 17 +- .../workbench/parts/debug/node/terminals.ts | 158 + .../test/browser/debugANSIHandling.test.ts | 264 ++ .../execution.contribution.ts | 4 +- .../extensions/browser/extensionsActions.ts | 13 +- .../electron-browser/extensionEditor.ts | 31 +- .../extensionProfileService.ts | 4 +- .../electron-browser/extensionTipsService.ts | 98 +- .../electron-browser/extensionsViewlet.ts | 37 +- .../electron-browser/extensionsViews.ts | 46 +- .../electron-browser/media/markdown.css | 3 +- .../runtimeExtensionsEditor.ts | 4 +- .../node/extensionsWorkbenchService.ts | 16 +- .../extensionsActions.test.ts | 18 +- .../extensionsTipsService.test.ts | 5 +- .../extensionsWorkbenchService.test.ts | 11 +- .../files/browser/editors/binaryFileEditor.ts | 7 +- .../browser/editors/fileEditorTracker.ts | 83 +- .../files/browser/editors/textFileEditor.ts | 64 +- src/vs/workbench/parts/files/browser/files.ts | 8 +- .../parts/files/common/dirtyFilesTracker.ts | 25 +- .../files/common/editors/fileEditorInput.ts | 3 +- .../parts/files/common/explorerModel.ts | 14 +- .../files/electron-browser/explorerViewlet.ts | 29 +- .../fileActions.contribution.ts | 6 +- .../files/electron-browser/fileActions.ts | 129 +- .../files/electron-browser/fileCommands.ts | 206 +- .../electron-browser/files.contribution.ts | 9 +- .../electron-browser/media/new-file-tb.png | Bin 1617 -> 0 bytes .../electron-browser/saveErrorHandler.ts | 48 +- .../electron-browser/views/explorerView.ts | 16 +- .../electron-browser/views/explorerViewer.ts | 14 +- .../electron-browser/views/openEditorsView.ts | 232 +- .../test/browser/fileEditorInput.test.ts | 38 +- .../test/browser/fileEditorTracker.test.ts | 153 +- .../test/electron-browser/fileActions.test.ts | 157 + .../electron-browser/html.contribution.ts | 34 +- .../html/electron-browser/htmlPreviewPart.ts | 32 +- .../localizations.contribution.ts | 158 +- .../electron-browser/localizationsActions.ts | 6 +- .../markers/electron-browser/markersModel.ts | 11 +- .../markers/electron-browser/markersPanel.ts | 16 +- .../electron-browser/markersModel.test.ts | 93 +- .../electron-browser/outline.contribution.ts | 7 + .../outline/electron-browser/outlineModel.ts | 39 +- .../outline/electron-browser/outlinePanel.ts | 91 +- .../outline/electron-browser/outlineTree.ts | 8 +- .../parts/output/browser/logViewer.ts | 11 +- .../parts/output/browser/outputPanel.ts | 15 +- .../electron-browser/output.contribution.ts | 4 +- .../output/electron-browser/outputServices.ts | 7 +- .../electron-browser/startupTimings.ts | 8 +- .../preferences/browser/keybindingWidgets.ts | 53 +- .../preferences/browser/keybindingsEditor.ts | 40 +- .../preferences/browser/media/keybindings.css | 10 +- .../preferences/browser/media/preferences.css | 24 +- .../browser/media/settingsEditor2.css | 282 +- .../preferences/browser/preferencesActions.ts | 20 +- .../preferences/browser/preferencesEditor.ts | 210 +- .../browser/preferencesRenderers.ts | 148 +- .../preferences/browser/preferencesWidgets.ts | 16 +- .../preferences/browser/settingsEditor2.ts | 1006 ++----- .../parts/preferences/browser/settingsTree.ts | 661 +++++ .../parts/preferences/common/preferences.ts | 2 +- .../common/preferencesContribution.ts | 34 +- .../preferences.contribution.ts | 41 +- ...gsEditor2.test.ts => settingsTree.test.ts} | 4 +- .../quickopen/browser/commandsHandler.ts | 21 +- .../quickopen/browser/gotoLineHandler.ts | 87 +- .../quickopen/browser/gotoSymbolHandler.ts | 73 +- .../electron-browser/dirtydiffDecorator.ts | 17 +- .../scm/electron-browser/scm.contribution.ts | 8 +- .../parts/scm/electron-browser/scmMenus.ts | 6 +- .../parts/scm/electron-browser/scmViewlet.ts | 35 +- .../parts/search/browser/openFileHandler.ts | 11 +- .../parts/search/browser/openSymbolHandler.ts | 4 +- .../parts/search/browser/replaceService.ts | 8 +- .../parts/search/browser/searchActions.ts | 16 +- .../parts/search/browser/searchResultsView.ts | 6 +- .../parts/search/browser/searchView.ts | 42 +- .../browser/searchViewLocationUpdater.ts | 12 +- .../parts/search/common/queryBuilder.ts | 4 +- .../workbench/parts/search/common/search.ts | 17 +- .../parts/search/common/searchModel.ts | 3 - .../electron-browser/search.contribution.ts | 18 +- .../search/test/common/queryBuilder.test.ts | 25 +- .../search/test/common/searchModel.test.ts | 94 +- .../parts/tasks/common/problemMatcher.ts | 7 +- .../parts/tasks/common/taskService.ts | 6 +- .../parts/tasks/common/taskSystem.ts | 12 + src/vs/workbench/parts/tasks/common/tasks.ts | 16 +- .../electron-browser/task.contribution.ts | 106 +- .../electron-browser/terminalTaskSystem.ts | 216 +- .../parts/tasks/node/processTaskSystem.ts | 2 +- .../parts/tasks/node/taskConfiguration.ts | 51 +- .../electron-browser/configuration.test.ts | 7 +- .../parts/terminal/common/terminal.ts | 3 + .../electron-browser/terminal.contribution.ts | 26 +- .../electron-browser/terminalActions.ts | 42 + .../electron-browser/terminalConfigHelper.ts | 32 +- .../electron-browser/terminalInstance.ts | 95 +- .../electron-browser/terminalLinkHandler.ts | 3 +- .../electron-browser/terminalPanel.ts | 18 +- .../terminal/node/terminalCommandTracker.ts | 119 + .../terminalConfigHelper.test.ts | 85 + .../test/node/terminalCommandTracker.test.ts | 90 +- .../electron-browser/themes.contribution.ts | 4 +- .../themes.test.contribution.ts | 6 +- .../electron-browser/media/markdown.css | 6 +- .../electron-browser/releaseNotesEditor.ts | 11 +- .../parts/update/electron-browser/update.ts | 6 +- .../watermark/electron-browser/watermark.css | 45 +- .../webview/electron-browser/webview-pre.js | 20 +- .../electron-browser/webviewCommands.ts | 16 +- .../webview/electron-browser/webviewEditor.ts | 86 +- .../electron-browser/webviewEditorInput.ts | 14 +- .../webviewEditorInputFactory.ts | 2 +- .../electron-browser/webviewEditorService.ts | 34 +- .../electron-browser/webviewElement.ts | 2 +- .../welcome/overlay/browser/welcomeOverlay.ts | 6 +- .../page/electron-browser/welcomePage.ts | 20 +- .../editor/editorWalkThrough.ts | 7 +- .../walkThrough.contribution.ts | 20 +- .../electron-browser/walkThroughActions.ts | 131 +- .../electron-browser/walkThroughPart.ts | 24 +- .../actions/test/common/menuService.test.ts | 59 +- .../electron-browser/bulkEditService.ts | 13 +- .../codeEditor/browser/codeEditorService.ts | 78 + .../common/configurationModels.ts | 6 - .../configuration/node/configuration.ts | 40 +- .../node/configurationEditingService.ts | 4 +- .../configurationService.test.ts | 29 +- .../configurationResolverService.ts | 41 +- .../configurationResolverService.test.ts | 33 +- .../services/editor/browser/editorService.ts | 635 ++++ .../services/editor/common/editorService.ts | 504 +--- .../editor/test/browser/editorService.test.ts | 691 +++-- .../files/electron-browser/fileService.ts | 2 +- .../watcher/unix/chokidarWatcherService.ts | 385 ++- .../unix/test/chockidarWatcherService.test.ts | 327 ++ .../files/node/watcher/unix/watcher.ts | 6 +- .../files/node/watcher/unix/watcherIpc.ts | 16 +- .../files/node/watcher/unix/watcherService.ts | 67 +- .../group/common/editorGroupsService.ts | 478 +++ .../services/group/common/groupService.ts | 141 - .../test/browser/editorGroupsService.test.ts | 750 +++++ .../services/history/common/history.ts | 3 +- .../history/electron-browser/history.ts | 72 +- .../keybindingEditing.test.ts | 8 +- .../preferences/browser/preferencesService.ts | 104 +- .../common/keybindingsEditorModel.ts | 32 +- .../preferences/common/preferences.ts | 13 +- .../common/preferencesEditorInput.ts | 5 +- .../progress/browser/progressService.ts | 51 +- .../progress/test/progressService.test.ts | 6 +- .../services/search/node/searchService.ts | 56 +- .../textfile/common/textFileEditorModel.ts | 3 +- .../textfile/common/textFileService.ts | 3 +- .../services/textfile/common/textfiles.ts | 3 +- .../electron-browser/textFileService.ts | 3 +- .../test/textFileEditorModelManager.test.ts | 4 +- .../electron-browser/workbenchThemeService.ts | 7 +- .../services/title/common/titleService.ts | 5 - .../viewlet/browser/viewletService.ts | 15 +- .../test/browser/actionRegistry.test.ts | 2 +- src/vs/workbench/test/browser/part.test.ts | 2 +- .../browser/parts/editor/baseEditor.test.ts | 48 +- .../parts/editor/rangeDecorations.test.ts | 20 +- .../parts/views/contributableViews.test.ts | 4 +- .../workbench/test/browser/quickopen.test.ts | 6 +- src/vs/workbench/test/browser/viewlet.test.ts | 2 +- .../common/editor/dataUriEditorInput.test.ts | 2 +- .../test/common/editor/editor.test.ts | 119 +- .../common/editor/editorDiffModel.test.ts | 2 +- .../editor/editorGroups.test.ts} | 1138 ++----- .../test/common/editor/editorInput.test.ts | 11 +- .../test/common/editor/editorModel.test.ts | 2 +- .../test/common/editor/editorOptions.test.ts | 2 +- .../common/editor/resourceEditorInput.test.ts | 2 +- .../test/common/editor/untitledEditor.test.ts | 12 +- src/vs/workbench/test/common/memento.test.ts | 2 +- .../api/extHostApiCommands.test.ts | 9 +- .../api/extHostDiagnostics.test.ts | 23 + .../api/extHostSearch.test.ts | 758 ++++- .../api/extHostTreeViews.test.ts | 92 +- .../api/extHostWebview.test.ts | 6 +- .../api/mainThreadDocumentsAndEditors.test.ts | 19 +- .../api/mainThreadEditors.test.ts | 16 +- .../quickopen.perf.integrationTest.ts | 14 +- .../textsearch.perf.integrationTest.ts | 16 +- .../workbench/test/workbenchTestServices.ts | 433 +-- test/grid.html | 202 ++ test/index.html | 2 - test/smoke/src/application.ts | 2 +- test/smoke/src/areas/editor/editor.test.ts | 8 +- test/smoke/src/areas/editor/editors.ts | 2 +- test/smoke/src/areas/preferences/settings.ts | 9 +- test/smoke/src/areas/search/search.test.ts | 13 +- test/smoke/src/areas/search/search.ts | 4 + test/smoke/src/areas/workbench/workbench.ts | 2 +- test/smoke/src/main.ts | 4 +- test/smoke/src/utils.ts | 18 + tslint.json | 3 +- yarn.lock | 290 +- 1447 files changed, 32028 insertions(+), 22542 deletions(-) rename .github/{issue_template.md => ISSUE_TEMPLATE/bug_report.md} (52%) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 build/lib/tslint/noStandaloneEditorRule.js create mode 100644 build/lib/tslint/noStandaloneEditorRule.ts create mode 100644 extensions/markdown-language-features/media/highlight.css delete mode 100644 extensions/markdown-language-features/media/tomorrow.css create mode 100644 extensions/markdown-language-features/src/slugify.ts create mode 100644 extensions/npm/resources/dark/debug.svg create mode 100644 extensions/npm/resources/light/debug.svg create mode 100644 extensions/typescript-language-features/schemas/package.schema.json delete mode 100644 extensions/typescript-language-features/src/features/unusedHighlighter.ts create mode 100644 extensions/typescript-language-features/src/features/updatePathsOnRename.ts create mode 100644 i18n/chs/extensions/search-rg/package.i18n.json create mode 100644 i18n/chs/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/chs/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/chs/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/chs/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/chs/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/chs/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/chs/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/chs/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/cht/extensions/search-rg/package.i18n.json create mode 100644 i18n/cht/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/cht/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/cht/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/cht/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/cht/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/cht/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/cht/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/cht/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/deu/extensions/search-rg/package.i18n.json create mode 100644 i18n/deu/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/deu/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/deu/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/deu/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/deu/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/deu/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/deu/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/deu/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/esn/extensions/search-rg/package.i18n.json create mode 100644 i18n/esn/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/esn/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/esn/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/esn/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/esn/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/esn/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/esn/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/esn/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/fra/extensions/search-rg/package.i18n.json create mode 100644 i18n/fra/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/fra/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/fra/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/fra/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/fra/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/fra/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/fra/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/fra/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/hun/extensions/search-rg/package.i18n.json create mode 100644 i18n/hun/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/hun/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/hun/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/hun/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/hun/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/hun/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/hun/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/hun/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/ita/extensions/search-rg/package.i18n.json create mode 100644 i18n/ita/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/ita/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/ita/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/ita/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/ita/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/ita/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/ita/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/ita/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/jpn/extensions/search-rg/package.i18n.json create mode 100644 i18n/jpn/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/jpn/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/jpn/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/jpn/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/jpn/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/jpn/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/jpn/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/kor/extensions/search-rg/package.i18n.json create mode 100644 i18n/kor/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/kor/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/kor/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/kor/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/kor/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/kor/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/kor/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/kor/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/ptb/extensions/search-rg/package.i18n.json create mode 100644 i18n/ptb/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/ptb/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/ptb/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/ptb/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/ptb/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/ptb/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/ptb/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/rus/extensions/search-rg/package.i18n.json create mode 100644 i18n/rus/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/rus/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/rus/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/rus/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/rus/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/rus/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/rus/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/rus/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 i18n/trk/extensions/search-rg/package.i18n.json create mode 100644 i18n/trk/extensions/typescript-language-features/out/features/updatePathsOnRename.i18n.json create mode 100644 i18n/trk/src/vs/editor/browser/widget/codeEditorWidget.i18n.json create mode 100644 i18n/trk/src/vs/editor/contrib/fontZoom/fontZoom.i18n.json create mode 100644 i18n/trk/src/vs/editor/contrib/goToDefinition/goToDefinitionCommands.i18n.json create mode 100644 i18n/trk/src/vs/editor/contrib/goToDefinition/goToDefinitionMouse.i18n.json create mode 100644 i18n/trk/src/vs/platform/node/minimalTranslations.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/codeEditor/electron-browser/largeFileOptimizations.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/debug/common/debugSchemas.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/outline/electron-browser/outline.contribution.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/outline/electron-browser/outlinePanel.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/outline/electron-browser/outlineTree.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/preferences/browser/settingsEditor2.i18n.json create mode 100644 i18n/trk/src/vs/workbench/parts/preferences/browser/settingsTree.i18n.json create mode 100644 i18n/trk/src/vs/workbench/services/bulkEdit/electron-browser/bulkEditService.i18n.json create mode 100644 src/vs/base/browser/ui/grid/grid.ts rename src/vs/{workbench/browser/parts/editor/media/editorpart.css => base/browser/ui/grid/gridview.css} (66%) create mode 100644 src/vs/base/browser/ui/grid/gridview.ts create mode 100644 src/vs/base/common/tree.ts create mode 100644 src/vs/base/test/browser/ui/grid/grid.test.ts create mode 100644 src/vs/base/test/browser/ui/grid/gridview.test.ts create mode 100644 src/vs/base/test/browser/ui/grid/util.ts create mode 100644 src/vs/base/test/common/tree.test.ts rename src/vs/{platform/opener/browser => editor/browser/services}/openerService.ts (90%) create mode 100644 src/vs/editor/standalone/browser/standaloneCodeServiceImpl.ts rename src/vs/{platform/opener/test/browser => editor/test/browser/services}/openerService.test.ts (57%) create mode 100644 src/vs/platform/node/minimalTranslations.ts delete mode 100644 src/vs/platform/opener/browser/opener.contribution.ts create mode 100644 src/vs/workbench/api/shared/editor.ts create mode 100644 src/vs/workbench/browser/parts/editor/editor.ts create mode 100644 src/vs/workbench/browser/parts/editor/editorControl.ts create mode 100644 src/vs/workbench/browser/parts/editor/editorDropTarget.ts create mode 100644 src/vs/workbench/browser/parts/editor/editorGroupView.ts delete mode 100644 src/vs/workbench/browser/parts/editor/editorGroupsControl.ts rename src/vs/workbench/browser/parts/editor/media/{close-big-dark.svg => close-big-inverse.svg} (100%) create mode 100644 src/vs/workbench/browser/parts/editor/media/close-editor-inverse.svg create mode 100644 src/vs/workbench/browser/parts/editor/media/close-editor.svg create mode 100644 src/vs/workbench/browser/parts/editor/media/closeall-editors-inverse.svg create mode 100644 src/vs/workbench/browser/parts/editor/media/closeall-editors.svg delete mode 100644 src/vs/workbench/browser/parts/editor/media/editorGroupsControl.css create mode 100644 src/vs/workbench/browser/parts/editor/media/editordroptarget.css create mode 100644 src/vs/workbench/browser/parts/editor/media/editorgroupview.css delete mode 100644 src/vs/workbench/browser/parts/editor/media/notabstitle.css create mode 100644 src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css rename src/vs/workbench/browser/parts/editor/media/{Paragraph_16x_nohalo_inversep.svg => paragraph-inverse.svg} (100%) rename src/vs/workbench/browser/parts/editor/media/{Paragraph_16x_nohalo.svg => paragraph.svg} (100%) delete mode 100755 src/vs/workbench/browser/parts/editor/media/stackview-inverse.svg delete mode 100755 src/vs/workbench/browser/parts/editor/media/stackview.svg delete mode 100644 src/vs/workbench/browser/parts/editor/media/tabstitle.css create mode 100644 src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css rename src/vs/workbench/browser/parts/views/{customView.ts => views.ts} (87%) create mode 100644 src/vs/workbench/common/editor/editorGroup.ts delete mode 100644 src/vs/workbench/common/editor/editorStacksModel.ts create mode 100644 src/vs/workbench/parts/debug/browser/debugANSIHandling.ts create mode 100644 src/vs/workbench/parts/debug/test/browser/debugANSIHandling.test.ts delete mode 100644 src/vs/workbench/parts/files/electron-browser/media/new-file-tb.png create mode 100644 src/vs/workbench/parts/files/test/electron-browser/fileActions.test.ts create mode 100644 src/vs/workbench/parts/preferences/browser/settingsTree.ts rename src/vs/workbench/parts/preferences/test/browser/{settingsEditor2.test.ts => settingsTree.test.ts} (93%) create mode 100644 src/vs/workbench/services/codeEditor/browser/codeEditorService.ts create mode 100644 src/vs/workbench/services/editor/browser/editorService.ts create mode 100644 src/vs/workbench/services/files/node/watcher/unix/test/chockidarWatcherService.test.ts create mode 100644 src/vs/workbench/services/group/common/editorGroupsService.ts delete mode 100644 src/vs/workbench/services/group/common/groupService.ts create mode 100644 src/vs/workbench/services/group/test/browser/editorGroupsService.test.ts rename src/vs/workbench/test/{browser/parts/editor/editorStacksModel.test.ts => common/editor/editorGroups.test.ts} (53%) create mode 100644 test/grid.html create mode 100644 test/smoke/src/utils.ts diff --git a/.github/issue_template.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 52% rename from .github/issue_template.md rename to .github/ISSUE_TEMPLATE/bug_report.md index 72e663ea733..1a324740cbd 100644 --- a/.github/issue_template.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,8 +1,10 @@ - +--- + + - VSCode Version: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000000..a820760fc48 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,9 @@ +--- +name: Feature request +about: Suggest an idea for this project + +--- + + + + diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 00000000000..2043e48c7aa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,9 @@ +--- +name: Question +about: The issue tracker is not for questions. Please ask questions on https://stackoverflow.com/questions/tagged/vscode. + +--- + +🚨 The issue tracker is not for questions 🚨 + +If you have a question, please ask it on https://stackoverflow.com/questions/tagged/vscode. diff --git a/.github/calendar.yml b/.github/calendar.yml index 3a5dad30159..d8adda455ea 100644 --- a/.github/calendar.yml +++ b/.github/calendar.yml @@ -19,4 +19,5 @@ '2018-05-08 12:00, US/Pacific': 'development', '2018-05-10 12:00, US/Pacific': 'release', # 1.23.1 '2018-05-15 12:00, US/Pacific': 'development', + '2018-05-28 18:00, US/Pacific': 'endgame', } diff --git a/.github/classifier.yml b/.github/classifier.yml index 2a39464380b..514910d63d2 100644 --- a/.github/classifier.yml +++ b/.github/classifier.yml @@ -47,7 +47,7 @@ assignLabel: false }, file-explorer: { - assignees: [ isidorn ], + assignees: [ weinand ], assignLabel: false }, format: [], diff --git a/.vscode/launch.json b/.vscode/launch.json index da7e7c092a5..4761367d036 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -18,7 +18,7 @@ "name": "Attach to Extension Host", "protocol": "inspector", "port": 5870, - // "restart": true, + "restart": true, "outFiles": [ "${workspaceFolder}/out/**/*.js" ] diff --git a/.vscode/settings.json b/.vscode/settings.json index 78c92075624..e8df189e775 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -41,8 +41,6 @@ "npm.exclude": "**/extensions/**", "emmet.excludeLanguages": [], "typescript.preferences.importModuleSpecifier": "non-relative", - "typescript.preferences.quoteStyle": "single", + "typescript.preferences.quoteStyle": "single" - // Self-host search in EH - "search.enableSearchProviders": true } \ No newline at end of file diff --git a/OSSREADME.json b/OSSREADME.json index eb9b02a336f..8f167afc904 100644 --- a/OSSREADME.json +++ b/OSSREADME.json @@ -1161,5 +1161,176 @@ " This Source Code Form is \"Incompatible With Secondary Licenses\", as", " defined by the Mozilla Public License, v. 2.0." ] +}, +{ + "isLicense": true, + "name": "devtools-protocol", + "licenseDetail": [ + " Copyright 2015 The Chromium Authors. All rights reserved.", + "", + " Redistribution and use in source and binary forms, with or without", + " modification, are permitted provided that the following conditions are", + " met:", + "", + " * Redistributions of source code must retain the above copyright", + " notice, this list of conditions and the following disclaimer.", + " * Redistributions in binary form must reproduce the above", + " copyright notice, this list of conditions and the following disclaimer", + " in the documentation and/or other materials provided with the", + " distribution.", + " * Neither the name of Google Inc. nor the names of its", + " contributors may be used to endorse or promote products derived from", + " this software without specific prior written permission.", + "", + " THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS", + " \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT", + " LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR", + " A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT", + " OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,", + " SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT", + " LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,", + " DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY", + " THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT", + " (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE", + " OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + ] +}, +{ + "isLicense": true, + "name": "buffer-alloc", + "licenseDetail": [ + "This project is licensed under the MIT license.", + "Copyrights are respective of each contributor listed at the beginning of each definition file.", + "", + "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:", + "", + "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", + "", + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + ] +}, +{ + "isLicense": true, + "name": "expand-template", + "licenseDetail": [ + " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE", + " Version 2, December 2004", + "", + " Copyright (C) 2004 Sam Hocevar ", + "", + " Everyone is permitted to copy and distribute verbatim or modified", + " copies of this license document, and changing it is allowed as long", + " as the name is changed.", + "", + " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE", + " TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION", + "", + " 0. You just DO WHAT THE FUCK YOU WANT TO." + ] +}, +{ + "isLicense": true, + "name": "tunnel-agent", + "licenseDetail": [ + "Copyright (c) tunnel-agent authors", + "", + "Apache License", + "", + "Version 2.0, January 2004", + "", + "http://www.apache.org/licenses/", + "", + "TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION", + "", + "1. Definitions.", + "", + "\"License\" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.", + "", + "\"Licensor\" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.", + "", + "\"Legal Entity\" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, \"control\" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.", + "", + "\"You\" (or \"Your\") shall mean an individual or Legal Entity exercising permissions granted by this License.", + "", + "\"Source\" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.", + "", + "\"Object\" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.", + "", + "\"Work\" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).", + "", + "\"Derivative Works\" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.", + "", + "\"Contribution\" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, \"submitted\" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as \"Not a Contribution.\"", + "", + "\"Contributor\" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.", + "", + "2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.", + "", + "3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.", + "", + "4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:", + "", + "You must give any other recipients of the Work or Derivative Works a copy of this License; and", + "", + "You must cause any modified files to carry prominent notices stating that You changed the files; and", + "", + "You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and", + "", + "If the Work includes a \"NOTICE\" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.", + "", + "5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.", + "", + "6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.", + "", + "7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.", + "", + "8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.", + "", + "9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.", + "", + "END OF TERMS AND CONDITIONS" + ] +}, +{ + "isLicense": true, + "name": "noop-logger", + "licenseDetail": [ + "This project is licensed under the MIT license.", + "Copyrights are respective of each contributor listed at the beginning of each definition file.", + "", + "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:", + "", + "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", + "", + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + ] +}, +{ + "isLicense": true, + "name": "buffer-alloc-unsafe", + "licenseDetail": [ + "This project is licensed under the MIT license.", + "Copyrights are respective of each contributor listed at the beginning of each definition file.", + "", + "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:", + "", + "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", + "", + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + ] +}, +{ + "isLicense": true, + "name": "buffer-fill", + "licenseDetail": [ + "This project is licensed under the MIT license.", + "Copyrights are respective of each contributor listed at the beginning of each definition file.", + "", + "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:", + "", + "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", + "", + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." + ] } ] diff --git a/ThirdPartyNotices.txt b/ThirdPartyNotices.txt index 22e2eeb13a8..b2fe9e4c585 100644 --- a/ThirdPartyNotices.txt +++ b/ThirdPartyNotices.txt @@ -18,7 +18,7 @@ This project incorporates components from the projects listed below. The origina 11. chriskempson/tomorrow-theme (https://github.com/chriskempson/tomorrow-theme) 12. Colorsublime-Themes version 0.1.0 (https://github.com/Colorsublime/Colorsublime-Themes) 13. daaain/Handlebars (https://github.com/daaain/Handlebars) -14. davidrios/jade-tmbundle (https://github.com/davidrios/jade-tmbundle) +14. davidrios/pug-tmbundle (https://github.com/davidrios/pug-tmbundle) 15. definitelytyped (https://github.com/DefinitelyTyped/DefinitelyTyped) 16. demyte/language-cshtml (https://github.com/demyte/language-cshtml) 17. dotnet/csharp-tmLanguage version 0.1.0 (https://github.com/dotnet/csharp-tmLanguage) @@ -535,25 +535,30 @@ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ========================================= END OF daaain/Handlebars NOTICES AND INFORMATION -%% davidrios/jade-tmbundle NOTICES AND INFORMATION BEGIN HERE +%% davidrios/pug-tmbundle NOTICES AND INFORMATION BEGIN HERE ========================================= The MIT License (MIT) -Copyright (c) 2014 David Rios +Copyright (c) 2016 David Rios -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to -whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ========================================= -END OF davidrios/jade-tmbundle NOTICES AND INFORMATION +END OF davidrios/pug-tmbundle NOTICES AND INFORMATION %% definitelytyped NOTICES AND INFORMATION BEGIN HERE ========================================= diff --git a/build/builtInExtensions.json b/build/builtInExtensions.json index 1e61897c5ed..e61259d8103 100644 --- a/build/builtInExtensions.json +++ b/build/builtInExtensions.json @@ -1,12 +1,12 @@ [ { "name": "ms-vscode.node-debug", - "version": "1.23.3", + "version": "1.24.0", "repo": "https://github.com/Microsoft/vscode-node-debug" }, { "name": "ms-vscode.node-debug2", - "version": "1.24.1", + "version": "1.24.2", "repo": "https://github.com/Microsoft/vscode-node-debug2" } ] diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js index ce14c96c3a8..f8880c0e02b 100644 --- a/build/gulpfile.hygiene.js +++ b/build/gulpfile.hygiene.js @@ -104,7 +104,7 @@ const copyrightFilter = [ '!build/**/*.init', '!resources/linux/snap/snapcraft.yaml', '!resources/win32/bin/code.js', - '!extensions/markdown-language-features/media/tomorrow.css', + '!extensions/markdown-language-features/media/highlight.css', '!extensions/html-language-features/server/src/modes/typescript/*', '!extensions/*/server/bin/*' ]; diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index 67c8fe08858..c53b798fed7 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -141,7 +141,7 @@ const config = { name: product.nameLong + ' document', role: 'Editor', ostypes: ["TEXT", "utxt", "TUTX", "****"], - extensions: ["ascx", "asp", "aspx", "bash", "bash_login", "bash_logout", "bash_profile", "bashrc", "bat", "bowerrc", "c", "cc", "clj", "cljs", "cljx", "clojure", "cmd", "code-workspace", "coffee", "config", "cpp", "cs", "cshtml", "csproj", "css", "csx", "ctp", "cxx", "dockerfile", "dot", "dtd", "editorconfig", "edn", "eyaml", "eyml", "fs", "fsi", "fsscript", "fsx", "gemspec", "gitattributes", "gitconfig", "gitignore", "go", "h", "handlebars", "hbs", "hh", "hpp", "htm", "html", "hxx", "ini", "jade", "jav", "java", "js", "jscsrc", "jshintrc", "jshtm", "json", "jsp", "less", "lua", "m", "makefile", "markdown", "md", "mdoc", "mdown", "mdtext", "mdtxt", "mdwn", "mkd", "mkdn", "ml", "mli", "php", "phtml", "pl", "pl6", "pm", "pm6", "pod", "pp", "profile", "properties", "ps1", "psd1", "psgi", "psm1", "py", "r", "rb", "rhistory", "rprofile", "rs", "rt", "scss", "sh", "shtml", "sql", "svg", "svgz", "t", "ts", "txt", "vb", "wxi", "wxl", "wxs", "xaml", "xcodeproj", "xcworkspace", "xml", "yaml", "yml", "zlogin", "zlogout", "zprofile", "zsh", "zshenv", "zshrc"], + extensions: ["ascx", "asp", "aspx", "bash", "bash_login", "bash_logout", "bash_profile", "bashrc", "bat", "bowerrc", "c", "cc", "clj", "cljs", "cljx", "clojure", "cmd", "code-workspace", "coffee", "config", "cpp", "cs", "cshtml", "csproj", "css", "csx", "ctp", "cxx", "dockerfile", "dot", "dtd", "editorconfig", "edn", "eyaml", "eyml", "fs", "fsi", "fsscript", "fsx", "gemspec", "gitattributes", "gitconfig", "gitignore", "go", "h", "handlebars", "hbs", "hh", "hpp", "htm", "html", "hxx", "ini", "jade", "jav", "java", "js", "jscsrc", "jshintrc", "jshtm", "json", "jsp", "less", "lua", "m", "makefile", "markdown", "md", "mdoc", "mdown", "mdtext", "mdtxt", "mdwn", "mkd", "mkdn", "ml", "mli", "php", "phtml", "pl", "pl6", "pm", "pm6", "pod", "pp", "profile", "properties", "ps1", "psd1", "psgi", "psm1", "pug", "py", "r", "rb", "rhistory", "rprofile", "rs", "rt", "scss", "sh", "shtml", "sql", "svg", "svgz", "t", "ts", "txt", "vb", "wxi", "wxl", "wxs", "xaml", "xcodeproj", "xcworkspace", "xml", "yaml", "yml", "zlogin", "zlogout", "zprofile", "zsh", "zshenv", "zshrc"], iconFile: 'resources/darwin/code_file.icns' }], darwinBundleURLTypes: [{ diff --git a/build/lib/extensions.js b/build/lib/extensions.js index bb27bfccbef..ce74ac25ee6 100644 --- a/build/lib/extensions.js +++ b/build/lib/extensions.js @@ -44,6 +44,7 @@ function error(err) { var baseHeaders = { 'X-Market-Client-Id': 'VSCode Build', 'User-Agent': 'VSCode Build', + 'X-Market-User-Id': '291C1CD0-051A-4123-9B4B-30D60EF52EE2', }; function fromMarketplace(extensionName, version) { var filterType = 7; diff --git a/build/lib/extensions.ts b/build/lib/extensions.ts index 6a07fa77d69..4b05bea1979 100644 --- a/build/lib/extensions.ts +++ b/build/lib/extensions.ts @@ -49,6 +49,7 @@ function error(err: any): Stream { const baseHeaders = { 'X-Market-Client-Id': 'VSCode Build', 'User-Agent': 'VSCode Build', + 'X-Market-User-Id': '291C1CD0-051A-4123-9B4B-30D60EF52EE2', }; export function fromMarketplace(extensionName: string, version: string): Stream { diff --git a/build/lib/tslint/noStandaloneEditorRule.js b/build/lib/tslint/noStandaloneEditorRule.js new file mode 100644 index 00000000000..4bb57bbc322 --- /dev/null +++ b/build/lib/tslint/noStandaloneEditorRule.js @@ -0,0 +1,72 @@ +"use strict"; +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ +var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +var ts = require("typescript"); +var Lint = require("tslint"); +var path_1 = require("path"); +var Rule = /** @class */ (function (_super) { + __extends(Rule, _super); + function Rule() { + return _super !== null && _super.apply(this, arguments) || this; + } + Rule.prototype.apply = function (sourceFile) { + if (/vs(\/|\\)editor/.test(sourceFile.fileName)) { + // the vs/editor folder is allowed to use the standalone editor + return []; + } + return this.applyWithWalker(new NoStandaloneEditorRuleWalker(sourceFile, this.getOptions())); + }; + return Rule; +}(Lint.Rules.AbstractRule)); +exports.Rule = Rule; +var NoStandaloneEditorRuleWalker = /** @class */ (function (_super) { + __extends(NoStandaloneEditorRuleWalker, _super); + function NoStandaloneEditorRuleWalker(file, opts) { + return _super.call(this, file, opts) || this; + } + NoStandaloneEditorRuleWalker.prototype.visitImportEqualsDeclaration = function (node) { + if (node.moduleReference.kind === ts.SyntaxKind.ExternalModuleReference) { + this._validateImport(node.moduleReference.expression.getText(), node); + } + }; + NoStandaloneEditorRuleWalker.prototype.visitImportDeclaration = function (node) { + this._validateImport(node.moduleSpecifier.getText(), node); + }; + NoStandaloneEditorRuleWalker.prototype.visitCallExpression = function (node) { + _super.prototype.visitCallExpression.call(this, node); + // import('foo') statements inside the code + if (node.expression.kind === ts.SyntaxKind.ImportKeyword) { + var path = node.arguments[0]; + this._validateImport(path.getText(), node); + } + }; + NoStandaloneEditorRuleWalker.prototype._validateImport = function (path, node) { + // remove quotes + path = path.slice(1, -1); + // resolve relative paths + if (path[0] === '.') { + path = path_1.join(this.getSourceFile().fileName, path); + } + if (/vs(\/|\\)editor(\/|\\)standalone/.test(path) + || /vs(\/|\\)editor(\/|\\)common(\/|\\)standalone/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.api/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.main/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.worker/.test(path)) { + this.addFailure(this.createFailure(node.getStart(), node.getWidth(), "Not allowed to import standalone editor modules. See https://github.com/Microsoft/vscode/wiki/Code-Organization")); + } + }; + return NoStandaloneEditorRuleWalker; +}(Lint.RuleWalker)); diff --git a/build/lib/tslint/noStandaloneEditorRule.ts b/build/lib/tslint/noStandaloneEditorRule.ts new file mode 100644 index 00000000000..b85e2da037a --- /dev/null +++ b/build/lib/tslint/noStandaloneEditorRule.ts @@ -0,0 +1,65 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import * as ts from 'typescript'; +import * as Lint from 'tslint'; +import { join } from 'path'; + +export class Rule extends Lint.Rules.AbstractRule { + public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] { + if (/vs(\/|\\)editor/.test(sourceFile.fileName)) { + // the vs/editor folder is allowed to use the standalone editor + return []; + } + return this.applyWithWalker(new NoStandaloneEditorRuleWalker(sourceFile, this.getOptions())); + } +} + +class NoStandaloneEditorRuleWalker extends Lint.RuleWalker { + + constructor(file: ts.SourceFile, opts: Lint.IOptions) { + super(file, opts); + } + + protected visitImportEqualsDeclaration(node: ts.ImportEqualsDeclaration): void { + if (node.moduleReference.kind === ts.SyntaxKind.ExternalModuleReference) { + this._validateImport(node.moduleReference.expression.getText(), node); + } + } + + protected visitImportDeclaration(node: ts.ImportDeclaration): void { + this._validateImport(node.moduleSpecifier.getText(), node); + } + + protected visitCallExpression(node: ts.CallExpression): void { + super.visitCallExpression(node); + + // import('foo') statements inside the code + if (node.expression.kind === ts.SyntaxKind.ImportKeyword) { + const [path] = node.arguments; + this._validateImport(path.getText(), node); + } + } + + private _validateImport(path: string, node: ts.Node): void { + // remove quotes + path = path.slice(1, -1); + + // resolve relative paths + if (path[0] === '.') { + path = join(this.getSourceFile().fileName, path); + } + + if ( + /vs(\/|\\)editor(\/|\\)standalone/.test(path) + || /vs(\/|\\)editor(\/|\\)common(\/|\\)standalone/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.api/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.main/.test(path) + || /vs(\/|\\)editor(\/|\\)editor.worker/.test(path) + ) { + this.addFailure(this.createFailure(node.getStart(), node.getWidth(), `Not allowed to import standalone editor modules. See https://github.com/Microsoft/vscode/wiki/Code-Organization`)); + } + } +} diff --git a/build/monaco/monaco.d.ts.recipe b/build/monaco/monaco.d.ts.recipe index 652c154d3d5..218d4cdf8f5 100644 --- a/build/monaco/monaco.d.ts.recipe +++ b/build/monaco/monaco.d.ts.recipe @@ -32,6 +32,10 @@ declare namespace monaco { Error = 3, } + export enum MarkerTag { + Unnecessary = 1, + } + export enum MarkerSeverity { Hint = 1, Info = 2, diff --git a/build/npm/update-grammar.js b/build/npm/update-grammar.js index 822de7c59c2..988b7bc3795 100644 --- a/build/npm/update-grammar.js +++ b/build/npm/update-grammar.js @@ -83,7 +83,7 @@ exports.update = function (repoId, repoPath, dest, modifyGrammar, version = 'mas grammar = plist.parse(content); } else if (ext === '.cson') { grammar = cson.parse(content); - } else if (ext === '.json') { + } else if (ext === '.json' || ext === '.JSON-tmLanguage') { grammar = JSON.parse(content); } else { return Promise.reject(new Error('Unknown file extension: ' + ext)); diff --git a/build/tfs/continuous-build.yml b/build/tfs/continuous-build.yml index 6a2f594ad30..4765e3ccf6d 100644 --- a/build/tfs/continuous-build.yml +++ b/build/tfs/continuous-build.yml @@ -8,9 +8,13 @@ phases: - task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2 inputs: versionSpec: "1.3.2" - - powershell: | - yarn - displayName: Install Dependencies + - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 + displayName: Yarn + inputs: + customRegistry: useFeed + customFeed: 'd28dd4e6-8e53-406e-8887-22f7c4dffd0c' + # - task: npmAuthenticate@0 + # displayName: NPM Authenticate - powershell: | yarn gulp electron displayName: Download Electron @@ -61,9 +65,13 @@ phases: - task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2 inputs: versionSpec: "1.3.2" - - script: | - yarn - displayName: Install Dependencies + - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 + displayName: Yarn + inputs: + customRegistry: useFeed + customFeed: 'd28dd4e6-8e53-406e-8887-22f7c4dffd0c' + # - task: npmAuthenticate@0 + # displayName: NPM Authenticate - script: | yarn gulp electron-x64 displayName: Download Electron @@ -92,9 +100,13 @@ phases: - task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2 inputs: versionSpec: "1.3.2" - - script: | - yarn - displayName: Install Dependencies + - task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@2 + displayName: Yarn + inputs: + customRegistry: useFeed + customFeed: 'd28dd4e6-8e53-406e-8887-22f7c4dffd0c' + # - task: npmAuthenticate@0 + # displayName: NPM Authenticate - script: | yarn gulp electron-x64 displayName: Download Electron diff --git a/extensions/configuration-editing/src/extension.ts b/extensions/configuration-editing/src/extension.ts index ee653a7d17f..68dbbf165b4 100644 --- a/extensions/configuration-editing/src/extension.ts +++ b/extensions/configuration-editing/src/extension.ts @@ -119,13 +119,16 @@ function registerVariableCompletions(pattern: string): vscode.Disposable { provideCompletionItems(document, position, token) { const location = getLocation(document.getText(), document.offsetAt(position)); if (!location.isAtPropertyKey && location.previousNode && location.previousNode.type === 'string') { + const indexOf$ = document.lineAt(position.line).text.indexOf('$'); + const startPosition = indexOf$ >= 0 ? new vscode.Position(position.line, indexOf$) : position; + return [{ label: 'workspaceFolder', detail: localize('workspaceFolder', "The path of the folder opened in VS Code") }, { label: 'workspaceFolderBasename', detail: localize('workspaceFolderBasename', "The name of the folder opened in VS Code without any slashes (/)") }, { label: 'relativeFile', detail: localize('relativeFile', "The current opened file relative to ${workspaceFolder}") }, { label: 'file', detail: localize('file', "The current opened file") }, { label: 'cwd', detail: localize('cwd', "The task runner's current working directory on startup") }, { label: 'lineNumber', detail: localize('lineNumber', "The current selected line number in the active file") }, { label: 'selectedText', detail: localize('selectedText', "The current selected text in the active file") }, { label: 'fileDirname', detail: localize('fileDirname', "The current opened file's dirname") }, { label: 'fileExtname', detail: localize('fileExtname', "The current opened file's extension") }, { label: 'fileBasename', detail: localize('fileBasename', "The current opened file's basename") }, { label: 'fileBasenameNoExtension', detail: localize('fileBasenameNoExtension', "The current opened file's basename with no file extension") }].map(variable => ({ label: '${' + variable.label + '}', - range: new vscode.Range(position, position), + range: new vscode.Range(startPosition, position), detail: variable.detail })); } diff --git a/extensions/csharp/syntaxes/csharp.tmLanguage.json b/extensions/csharp/syntaxes/csharp.tmLanguage.json index be97f524690..7cc5b64818d 100644 --- a/extensions/csharp/syntaxes/csharp.tmLanguage.json +++ b/extensions/csharp/syntaxes/csharp.tmLanguage.json @@ -4,7 +4,7 @@ "If you want to provide a fix or improvement, please create a pull request against the original repository.", "Once accepted there, we are happy to receive an update request." ], - "version": "https://github.com/dotnet/csharp-tmLanguage/commit/925295380addea5b27f419a423c708f421347c5c", + "version": "https://github.com/dotnet/csharp-tmLanguage/commit/2904dae001939996c6a3484eac1b95716797ac41", "name": "C#", "scopeName": "source.cs", "patterns": [ @@ -3588,7 +3588,7 @@ ] }, "lambda-parameter": { - "match": "(?x)\n(?:\\b(ref|out|in)\\b)?\\s*\n(?\n (?:\n (?:\n (?:(?@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (? # identifier + type arguments (if any)\n \\g\\s*\n (?\\s*<(?:[^<>]|\\g)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g)* | # Are there any more names being dotted into?\n (?\\s*\\((?:[^\\(\\)]|\\g)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)* # array suffix?\n )\n)?\n(\\g)\\b\\s*\n(?=[,)])", + "match": "(?x)\n(?:\\b(ref|out|in)\\b)?\\s*\n(?:(?\n (?:\n (?:\n (?:(?@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (? # identifier + type arguments (if any)\n \\g\\s*\n (?\\s*<(?:[^<>]|\\g)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g)* | # Are there any more names being dotted into?\n (?\\s*\\((?:[^\\(\\)]|\\g)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)* # array suffix?\n )\n)\\s+)?\n(\\g)\\b\\s*\n(?=[,)])", "captures": { "1": { "name": "storage.modifier.cs" diff --git a/extensions/css-language-features/package.json b/extensions/css-language-features/package.json index b6662751be0..44a960237e0 100644 --- a/extensions/css-language-features/package.json +++ b/extensions/css-language-features/package.json @@ -695,9 +695,9 @@ ] }, "dependencies": { - "vscode-languageclient": "^4.0.0", - "vscode-languageserver-protocol-foldingprovider": "^2.0.0-next.2", - "vscode-nls": "^3.2.1" + "vscode-languageclient": "^4.1.4", + "vscode-languageserver-protocol-foldingprovider": "^2.0.1", + "vscode-nls": "^3.2.2" }, "devDependencies": { "@types/node": "7.0.43" diff --git a/extensions/css-language-features/server/package.json b/extensions/css-language-features/server/package.json index 2eb8e49941a..9404a08ce70 100644 --- a/extensions/css-language-features/server/package.json +++ b/extensions/css-language-features/server/package.json @@ -8,9 +8,9 @@ "node": "*" }, "dependencies": { - "vscode-css-languageservice": "^3.0.9-next.14", - "vscode-languageserver": "^4.0.0", - "vscode-languageserver-protocol-foldingprovider": "^2.0.0-next.2" + "vscode-css-languageservice": "^3.0.9-next.18", + "vscode-languageserver": "^4.1.3", + "vscode-languageserver-protocol-foldingprovider": "^2.0.1" }, "devDependencies": { "@types/mocha": "2.2.33", diff --git a/extensions/css-language-features/server/src/cssServerMain.ts b/extensions/css-language-features/server/src/cssServerMain.ts index 6f95bc28432..8778faf2b79 100644 --- a/extensions/css-language-features/server/src/cssServerMain.ts +++ b/extensions/css-language-features/server/src/cssServerMain.ts @@ -24,7 +24,7 @@ export interface Settings { } // Create a connection for the server. -let connection: IConnection = createConnection(); +const connection: IConnection = createConnection(); console.log = connection.console.log.bind(connection.console); console.error = connection.console.error.bind(connection.console); @@ -35,12 +35,12 @@ process.on('unhandledRejection', (e: any) => { // Create a simple text document manager. The text document manager // supports full document sync only -let documents: TextDocuments = new TextDocuments(); +const documents: TextDocuments = new TextDocuments(); // Make the text document manager listen on the connection // for open, change and close text document events documents.listen(connection); -let stylesheets = getLanguageModelCache(10, 60, document => getLanguageService(document).parseStylesheet(document)); +const stylesheets = getLanguageModelCache(10, 60, document => getLanguageService(document).parseStylesheet(document)); documents.onDidClose(e => { stylesheets.onDocumentRemoved(e.document); }); @@ -64,7 +64,7 @@ connection.onInitialize((params: InitializeParams): InitializeResult => { } function getClientCapability(name: string, def: T) { - let keys = name.split('.'); + const keys = name.split('.'); let c: any = params.capabilities; for (let i = 0; c && i < keys.length; i++) { if (!c.hasOwnProperty(keys[i])) { @@ -74,11 +74,11 @@ connection.onInitialize((params: InitializeParams): InitializeResult => { } return c; } - let snippetSupport = !!getClientCapability('textDocument.completion.completionItem.snippetSupport', false); + const snippetSupport = !!getClientCapability('textDocument.completion.completionItem.snippetSupport', false); scopedSettingsSupport = !!getClientCapability('workspace.configuration', false); foldingRangeLimit = getClientCapability('textDocument.foldingRange.rangeLimit', Number.MAX_VALUE); - let capabilities: ServerCapabilities & FoldingRangeServerCapabilities = { + const capabilities: ServerCapabilities & FoldingRangeServerCapabilities = { // Tell the client that the server works in FULL text document sync mode textDocumentSync: documents.syncKind, completionProvider: snippetSupport ? { resolveProvider: false, triggerCharacters: ['/'] } : undefined, @@ -95,7 +95,7 @@ connection.onInitialize((params: InitializeParams): InitializeResult => { return { capabilities }; }); -let languageServices: { [id: string]: LanguageService } = { +const languageServices: { [id: string]: LanguageService } = { css: getCSSLanguageService(), scss: getSCSSLanguageService(), less: getLESSLanguageService() @@ -119,7 +119,7 @@ function getDocumentSettings(textDocument: TextDocument): Thenable s[0]); documentSettings[textDocument.uri] = promise; } @@ -134,7 +134,7 @@ connection.onDidChangeConfiguration(change => { }); function updateConfiguration(settings: Settings) { - for (let languageId in languageServices) { + for (const languageId in languageServices) { languageServices[languageId].configure((settings as any)[languageId]); } // reset all document settings @@ -143,7 +143,7 @@ function updateConfiguration(settings: Settings) { documents.all().forEach(triggerValidation); } -let pendingValidationRequests: { [uri: string]: NodeJS.Timer } = {}; +const pendingValidationRequests: { [uri: string]: NodeJS.Timer } = {}; const validationDelayMs = 500; // The content of a text document has changed. This event is emitted @@ -159,7 +159,7 @@ documents.onDidClose(event => { }); function cleanPendingValidation(textDocument: TextDocument): void { - let request = pendingValidationRequests[textDocument.uri]; + const request = pendingValidationRequests[textDocument.uri]; if (request) { clearTimeout(request); delete pendingValidationRequests[textDocument.uri]; @@ -175,10 +175,10 @@ function triggerValidation(textDocument: TextDocument): void { } function validateTextDocument(textDocument: TextDocument): void { - let settingsPromise = getDocumentSettings(textDocument); + const settingsPromise = getDocumentSettings(textDocument); settingsPromise.then(settings => { - let stylesheet = stylesheets.get(textDocument); - let diagnostics = getLanguageService(textDocument).doValidation(textDocument, stylesheet, settings); + const stylesheet = stylesheets.get(textDocument); + const diagnostics = getLanguageService(textDocument).doValidation(textDocument, stylesheet, settings); // Send the computed diagnostics to VSCode. connection.sendDiagnostics({ uri: textDocument.uri, diagnostics }); }, e => { @@ -188,14 +188,17 @@ function validateTextDocument(textDocument: TextDocument): void { connection.onCompletion((textDocumentPosition, token) => { return runSafe(() => { - let document = documents.get(textDocumentPosition.textDocument.uri); + const document = documents.get(textDocumentPosition.textDocument.uri); + if (!document) { + return null; + } const cssLS = getLanguageService(document); const pathCompletionList: CompletionList = { isIncomplete: false, items: [] }; cssLS.setCompletionParticipants([getPathCompletionParticipant(document, workspaceFolders, pathCompletionList)]); - const result = cssLS.doComplete(document, textDocumentPosition.position, stylesheets.get(document))!; /* TODO: remove ! once LS has null annotations */ + const result = cssLS.doComplete(document, textDocumentPosition.position, stylesheets.get(document)); return { isIncomplete: pathCompletionList.isIncomplete, items: [...pathCompletionList.items, ...result.items] @@ -205,57 +208,76 @@ connection.onCompletion((textDocumentPosition, token) => { connection.onHover((textDocumentPosition, token) => { return runSafe(() => { - let document = documents.get(textDocumentPosition.textDocument.uri); - let styleSheet = stylesheets.get(document); - return getLanguageService(document).doHover(document, textDocumentPosition.position, styleSheet); + const document = documents.get(textDocumentPosition.textDocument.uri); + if (document) { + const styleSheet = stylesheets.get(document); + return getLanguageService(document).doHover(document, textDocumentPosition.position, styleSheet); + } + return null; }, null, `Error while computing hover for ${textDocumentPosition.textDocument.uri}`, token); }); connection.onDocumentSymbol((documentSymbolParams, token) => { return runSafe(() => { - let document = documents.get(documentSymbolParams.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).findDocumentSymbols(document, stylesheet); + const document = documents.get(documentSymbolParams.textDocument.uri); + if (document) { + const stylesheet = stylesheets.get(document); + return getLanguageService(document).findDocumentSymbols(document, stylesheet); + } + return []; }, [], `Error while computing document symbols for ${documentSymbolParams.textDocument.uri}`, token); }); connection.onDefinition((documentSymbolParams, token) => { return runSafe(() => { - let document = documents.get(documentSymbolParams.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).findDefinition(document, documentSymbolParams.position, stylesheet); + const document = documents.get(documentSymbolParams.textDocument.uri); + if (document) { + + const stylesheet = stylesheets.get(document); + return getLanguageService(document).findDefinition(document, documentSymbolParams.position, stylesheet); + } + return null; }, null, `Error while computing definitions for ${documentSymbolParams.textDocument.uri}`, token); }); connection.onDocumentHighlight((documentSymbolParams, token) => { return runSafe(() => { - let document = documents.get(documentSymbolParams.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).findDocumentHighlights(document, documentSymbolParams.position, stylesheet); + const document = documents.get(documentSymbolParams.textDocument.uri); + if (document) { + const stylesheet = stylesheets.get(document); + return getLanguageService(document).findDocumentHighlights(document, documentSymbolParams.position, stylesheet); + } + return []; }, [], `Error while computing document highlights for ${documentSymbolParams.textDocument.uri}`, token); }); connection.onReferences((referenceParams, token) => { return runSafe(() => { - let document = documents.get(referenceParams.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).findReferences(document, referenceParams.position, stylesheet); + const document = documents.get(referenceParams.textDocument.uri); + if (document) { + const stylesheet = stylesheets.get(document); + return getLanguageService(document).findReferences(document, referenceParams.position, stylesheet); + } + return []; }, [], `Error while computing references for ${referenceParams.textDocument.uri}`, token); }); connection.onCodeAction((codeActionParams, token) => { return runSafe(() => { - let document = documents.get(codeActionParams.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).doCodeActions(document, codeActionParams.range, codeActionParams.context, stylesheet); + const document = documents.get(codeActionParams.textDocument.uri); + if (document) { + const stylesheet = stylesheets.get(document); + return getLanguageService(document).doCodeActions(document, codeActionParams.range, codeActionParams.context, stylesheet); + } + return []; }, [], `Error while computing code actions for ${codeActionParams.textDocument.uri}`, token); }); connection.onDocumentColor((params, token) => { return runSafe(() => { - let document = documents.get(params.textDocument.uri); + const document = documents.get(params.textDocument.uri); if (document) { - let stylesheet = stylesheets.get(document); + const stylesheet = stylesheets.get(document); return getLanguageService(document).findDocumentColors(document, stylesheet); } return []; @@ -264,9 +286,9 @@ connection.onDocumentColor((params, token) => { connection.onColorPresentation((params, token) => { return runSafe(() => { - let document = documents.get(params.textDocument.uri); + const document = documents.get(params.textDocument.uri); if (document) { - let stylesheet = stylesheets.get(document); + const stylesheet = stylesheets.get(document); return getLanguageService(document).getColorPresentations(document, stylesheet, params.color, params.range); } return []; @@ -275,16 +297,22 @@ connection.onColorPresentation((params, token) => { connection.onRenameRequest((renameParameters, token) => { return runSafe(() => { - let document = documents.get(renameParameters.textDocument.uri); - let stylesheet = stylesheets.get(document); - return getLanguageService(document).doRename(document, renameParameters.position, renameParameters.newName, stylesheet); + const document = documents.get(renameParameters.textDocument.uri); + if (document) { + const stylesheet = stylesheets.get(document); + return getLanguageService(document).doRename(document, renameParameters.position, renameParameters.newName, stylesheet); + } + return null; }, null, `Error while computing renames for ${renameParameters.textDocument.uri}`, token); }); connection.onRequest(FoldingRangeRequest.type, (params, token) => { return runSafe(() => { - let document = documents.get(params.textDocument.uri); - return getLanguageService(document).getFoldingRanges(document, { rangeLimit: foldingRangeLimit }); + const document = documents.get(params.textDocument.uri); + if (document) { + return getLanguageService(document).getFoldingRanges(document, { rangeLimit: foldingRangeLimit }); + } + return null; }, null, `Error while computing folding ranges for ${params.textDocument.uri}`, token); }); diff --git a/extensions/css-language-features/server/yarn.lock b/extensions/css-language-features/server/yarn.lock index 9ab19c4c0ac..f9b1f5c6468 100644 --- a/extensions/css-language-features/server/yarn.lock +++ b/extensions/css-language-features/server/yarn.lock @@ -10,43 +10,43 @@ version "7.0.43" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.43.tgz#a187e08495a075f200ca946079c914e1a5fe962c" -vscode-css-languageservice@^3.0.9-next.14: - version "3.0.9-next.14" - resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.9-next.14.tgz#156822b2d8c56487ffd47105cc884fa3983664ca" +vscode-css-languageservice@^3.0.9-next.18: + version "3.0.9-next.18" + resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.9-next.18.tgz#f8f25123b5a8cdc9f72fafcd2c0088f726322437" dependencies: - vscode-languageserver-types "^3.6.1" - vscode-nls "^3.2.1" + vscode-languageserver-types "^3.7.2" + vscode-nls "^3.2.2" -vscode-jsonrpc@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-3.6.0.tgz#848d56995d5168950d84feb5d9c237ae5c6a02d4" +vscode-jsonrpc@^3.6.2: + version "3.6.2" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-3.6.2.tgz#3b5eef691159a15556ecc500e9a8a0dd143470c8" -vscode-languageserver-protocol-foldingprovider@^2.0.0-next.2: - version "2.0.0-next.2" - resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol-foldingprovider/-/vscode-languageserver-protocol-foldingprovider-2.0.0-next.2.tgz#fbb9cfdf5b8c4ac451826ba6312f1f88379f35b0" +vscode-languageserver-protocol-foldingprovider@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol-foldingprovider/-/vscode-languageserver-protocol-foldingprovider-2.0.1.tgz#051d0d9e58d1b79dc4681acd48f21797f5515bfd" dependencies: - vscode-languageserver-protocol "^3.6.0" - vscode-languageserver-types "^3.6.0" + vscode-languageserver-protocol "^3.7.2" + vscode-languageserver-types "^3.7.2" -vscode-languageserver-protocol@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.6.0.tgz#579642cdcccf74b0cd771c33daa3239acb40d040" +vscode-languageserver-protocol@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.7.2.tgz#df58621c032139010888b6a9ddc969423f9ba9d6" dependencies: - vscode-jsonrpc "^3.6.0" - vscode-languageserver-types "^3.6.0" + vscode-jsonrpc "^3.6.2" + vscode-languageserver-types "^3.7.2" -vscode-languageserver-types@^3.6.0, vscode-languageserver-types@^3.6.1: - version "3.6.1" - resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.6.1.tgz#4bc06a48dff653495f12f94b8b1e228988a1748d" +vscode-languageserver-types@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.7.2.tgz#aad8846f8e3e27962648554de5a8417e358f34eb" -vscode-languageserver@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-4.0.0.tgz#8b792f0d6d10acfe363d02371ed4ce53d08af88a" +vscode-languageserver@^4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-4.1.3.tgz#937d37c955b6b9c2409388413cd6f54d1eb9fe7d" dependencies: - vscode-languageserver-protocol "^3.6.0" + vscode-languageserver-protocol "^3.7.2" vscode-uri "^1.0.1" -vscode-nls@^3.2.1: +vscode-nls@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-3.2.2.tgz#3817eca5b985c2393de325197cf4e15eb2aa5350" diff --git a/extensions/css-language-features/yarn.lock b/extensions/css-language-features/yarn.lock index 37c6473e3aa..98f6af48a34 100644 --- a/extensions/css-language-features/yarn.lock +++ b/extensions/css-language-features/yarn.lock @@ -6,34 +6,34 @@ version "7.0.43" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.43.tgz#a187e08495a075f200ca946079c914e1a5fe962c" -vscode-jsonrpc@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-3.6.0.tgz#848d56995d5168950d84feb5d9c237ae5c6a02d4" +vscode-jsonrpc@^3.6.2: + version "3.6.2" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-3.6.2.tgz#3b5eef691159a15556ecc500e9a8a0dd143470c8" -vscode-languageclient@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-4.0.0.tgz#635f5bfbcfa1385dae489b394857f1db8b459a7d" +vscode-languageclient@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-4.1.4.tgz#fff1a6bca4714835dca7fce35bc4ce81442fdf2c" dependencies: - vscode-languageserver-protocol "^3.6.0" + vscode-languageserver-protocol "^3.7.2" -vscode-languageserver-protocol-foldingprovider@^2.0.0-next.2: - version "2.0.0-next.2" - resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol-foldingprovider/-/vscode-languageserver-protocol-foldingprovider-2.0.0-next.2.tgz#fbb9cfdf5b8c4ac451826ba6312f1f88379f35b0" +vscode-languageserver-protocol-foldingprovider@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol-foldingprovider/-/vscode-languageserver-protocol-foldingprovider-2.0.1.tgz#051d0d9e58d1b79dc4681acd48f21797f5515bfd" dependencies: - vscode-languageserver-protocol "^3.6.0" - vscode-languageserver-types "^3.6.0" + vscode-languageserver-protocol "^3.7.2" + vscode-languageserver-types "^3.7.2" -vscode-languageserver-protocol@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.6.0.tgz#579642cdcccf74b0cd771c33daa3239acb40d040" +vscode-languageserver-protocol@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.7.2.tgz#df58621c032139010888b6a9ddc969423f9ba9d6" dependencies: - vscode-jsonrpc "^3.6.0" - vscode-languageserver-types "^3.6.0" + vscode-jsonrpc "^3.6.2" + vscode-languageserver-types "^3.7.2" -vscode-languageserver-types@^3.6.0: - version "3.6.1" - resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.6.1.tgz#4bc06a48dff653495f12f94b8b1e228988a1748d" +vscode-languageserver-types@^3.7.2: + version "3.7.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.7.2.tgz#aad8846f8e3e27962648554de5a8417e358f34eb" -vscode-nls@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-3.2.1.tgz#b1f3e04e8a94a715d5a7bcbc8339c51e6d74ca51" +vscode-nls@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-3.2.2.tgz#3817eca5b985c2393de325197cf4e15eb2aa5350" diff --git a/extensions/emmet/src/abbreviationActions.ts b/extensions/emmet/src/abbreviationActions.ts index e75860293ad..ba03a4bcac4 100644 --- a/extensions/emmet/src/abbreviationActions.ts +++ b/extensions/emmet/src/abbreviationActions.ts @@ -8,7 +8,7 @@ import { Node, HtmlNode, Rule, Property, Stylesheet } from 'EmmetNode'; import { getEmmetHelper, getNode, getInnerRange, getMappingForIncludedLanguages, parseDocument, validate, getEmmetConfiguration, isStyleSheet, getEmmetMode, parsePartialStylesheet, isStyleAttribute, getEmbeddedCssNodeIfAny } from './util'; const trimRegex = /[\u00a0]*[\d|#|\-|\*|\u2022]+\.?/; -const hexColorRegex = /^#\d+$/; +const hexColorRegex = /^#[\d,a-f,A-F]{0,6}$/; const allowedMimeTypesInScriptTag = ['text/html', 'text/plain', 'text/x-template', 'text/template']; const inlineElements = ['a', 'abbr', 'acronym', 'applet', 'b', 'basefont', 'bdo', 'big', 'br', 'button', 'cite', 'code', 'del', 'dfn', 'em', 'font', 'i', @@ -402,6 +402,9 @@ export function isValidLocationForEmmetAbbreviation(document: vscode.TextDocumen && abbreviation.indexOf(':') === -1) { return hexColorRegex.test(abbreviation) || abbreviation === '!'; } + if (hexColorRegex.test(abbreviation) || abbreviation === '!') { + return false; + } } // If current node is a rule or at-rule, then perform additional checks to ensure diff --git a/extensions/emmet/src/balance.ts b/extensions/emmet/src/balance.ts index 2d4917994ae..109a82b6150 100644 --- a/extensions/emmet/src/balance.ts +++ b/extensions/emmet/src/balance.ts @@ -7,6 +7,10 @@ import * as vscode from 'vscode'; import { HtmlNode } from 'EmmetNode'; import { getNode, parseDocument, validate } from './util'; +let balanceOutStack: Array = []; +let lastOut = false; +let lastBalancedSelections: vscode.Selection[] = []; + export function balanceOut() { balance(true); } @@ -32,8 +36,28 @@ function balance(out: boolean) { newSelections.push(range); }); - editor.selection = newSelections[0]; - editor.selections = newSelections; + if (areSameSelections(newSelections, editor.selections)) { + return; + } + + if (areSameSelections(lastBalancedSelections, editor.selections)) { + if (out) { + if (!balanceOutStack.length) { + balanceOutStack.push(editor.selections); + } + balanceOutStack.push(newSelections); + } else { + if (lastOut) { + balanceOutStack.pop(); + } + newSelections = balanceOutStack.pop() || newSelections; + } + } else { + balanceOutStack = out ? [editor.selections, newSelections] : []; + } + + lastOut = out; + lastBalancedSelections = editor.selections = newSelections; } function getRangeToBalanceOut(document: vscode.TextDocument, selection: vscode.Selection, rootNode: HtmlNode): vscode.Selection { @@ -83,3 +107,14 @@ function getRangeToBalanceIn(document: vscode.TextDocument, selection: vscode.Se } +function areSameSelections(a: vscode.Selection[], b: vscode.Selection[]): boolean { + if (a.length !== b.length) { + return false; + } + for (let i = 0; i < a.length; i++) { + if (!a[i].isEqual(b[i])) { + return false; + } + } + return true; +} \ No newline at end of file diff --git a/extensions/emmet/src/test/cssAbbreviationAction.test.ts b/extensions/emmet/src/test/cssAbbreviationAction.test.ts index 733d325aa62..88e993cff9c 100644 --- a/extensions/emmet/src/test/cssAbbreviationAction.test.ts +++ b/extensions/emmet/src/test/cssAbbreviationAction.test.ts @@ -310,6 +310,28 @@ nav# }); }); + test('# shouldnt expand to hex color when in selector (CSS)', () => { + const testContent = ` +.foo { + # +} + `; + + return withRandomFileEditor(testContent, 'css', (editor, doc) => { + editor.selection = new Selection(2, 2, 2, 2); + return expandEmmetAbbreviation(null).then(() => { + assert.equal(editor.document.getText(), testContent); + const cancelSrc = new CancellationTokenSource(); + const completionPromise = completionProvider.provideCompletionItems(editor.document, new Position(2, 2), cancelSrc.token, { triggerKind: CompletionTriggerKind.Invoke }); + if (completionPromise) { + assert.equal(1, 2, `Invalid completion of hex color at property name`); + } + return Promise.resolve(); + }); + }); + }); + + test('Expand abbreviation in completion list (CSS)', () => { const abbreviation = 'pos:f'; const expandedText = 'position: fixed;'; diff --git a/extensions/emmet/src/test/editPointSelectItemBalance.test.ts b/extensions/emmet/src/test/editPointSelectItemBalance.test.ts index 3393fdddc24..61fe36ea4ee 100644 --- a/extensions/emmet/src/test/editPointSelectItemBalance.test.ts +++ b/extensions/emmet/src/test/editPointSelectItemBalance.test.ts @@ -211,6 +211,35 @@ suite('Tests for Next/Previous Select/Edit point and Balance actions', () => { }); }); + test('Emmet Balance In using the same stack as Balance out in html file', function (): any { + return withRandomFileEditor(htmlContents, 'html', (editor, doc) => { + + editor.selections = [new Selection(15, 6, 15, 10)]; + let expectedBalanceOutRanges: [number, number, number, number][] = [ + [15, 3, 15, 32], //
  • Item 2
  • + [13, 23, 16, 2], // inner contents of