src/vs/workbench/services/environment/common/environmentService.ts

56 LOC · 56 covered · 0 uncovered · 1 ranges · 2411 concepts · 1 introducers · 1364 tests

File neighbourhood

The centred file is linked to every concept that introduces one of its ranges, every test that runs code from the file, and the gray connector concepts standing between those tests and the file's own introducer concepts. Undirected links join concepts to every file where they introduce source and concepts to the tests they introduce; arrows show specialization between the displayed concepts and bridge only concepts omitted from this view. Concept colors match the source ranges below; connector concepts have no source color and are shown in gray.

Focused file, its introducer and connector concepts, their introduced files, and tests that run code from the file

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the related-file, concept, and source links on this page.

Focused file, its introducer and connector concepts, their introduced files, and tests that run code from the filepromptsService.test|title=PromptsService getPromptSlashCommands - userInvocable filtering should handle prompts with user-invocable: false|occurrence=1 · 0 introduced LOCpromptsService.test|titl…promptsService.test|title=PromptsService getPromptSlashCommands - skills should respect skill disable configuration (USE_AGENT_SKILLS)|occurrence=1 · 0 introduced LOCpromptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - instructions instructions from user data folder|occurrence=1 · 0 introduced LOCpromptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - prompts prompts from user data folder|occurrence=1 · 0 introduced LOCpromptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - skills should not list skills when not in skill folder structure|occurrence=1 · 0 introduced LOCpromptsService.test|titl…promptsService.test|title=PromptsService findAgentSkills should return empty array when no skills found|occurrence=1 · 0 introduced LOCpromptsService.test|titl…extHostMcpNode.ts ×8 · 45 introduced LOCextHostMcpNode.ts ×8extHostMcp.ts ×43 · 874 introduced LOCextHostMcp.ts ×43extHostExtensionService.ts ×64 · 1246 introduced LOCextHostExtensionService.…extHostSCM.ts ×86 · 432 introduced LOCextHostSCM.ts ×86extHostTypeConverters.ts ×4 · 12 introduced LOCextHostTypeConverters.ts…chatModes.ts ×8 · 38 introduced LOCchatModes.ts ×8chatModes.ts ×23 · 104 introduced LOCchatModes.ts ×23chatRequestParser.test|title=ChatRequestParser non-silent slash command with agent and no supportsPromptAttachments|occurrence=1 · 0 introduced LOCchatRequestParser.test|t…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem object config value|occurrence=1 · 0 introduced LOCpromptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when no skills exist|occurrence=1, promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when skill folder does not exist|occurrence=1 · 0 introduced LOCpromptFilesLocator.test|…pluginMarketplaceService.ts ×19 · 110 introduced LOCpluginMarketplaceService…customizationHarnessService.ts ×6 · 30 introduced LOCcustomizationHarnessServ…promptFilesLocator.ts ×1 · 26 introduced LOCpromptFilesLocator.ts ×1config.ts ×1 · 2 introduced LOCconfig.ts ×1promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem no config value|occurrence=1, promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem null config value|occurrence=1, +1 · 0 introduced LOCpromptFilesLocator.test|…customizationHarnessService.test|title=CustomizationHarnessService getCustomAgents falls back to promptsService and filters by session type|occurrence=1 · 0 introduced LOCcustomizationHarnessServ…customizationHarnessService.ts ×1 · 3 introduced LOCcustomizationHarnessServ…customizationHarnessService.ts ×3 · 17 introduced LOCcustomizationHarnessServ…chatEntitlementService.ts ×30 · 149 introduced LOCchatEntitlementService.t…constants.ts ×2 · 22 introduced LOCconstants.ts ×2resources.ts ×13 · 163 introduced LOCresources.ts ×13workbenchTestServices.ts ×1 · 2 introduced LOCworkbenchTestServices.ts…mcpSamplingLog.test|title=MCP - Sampling Log handles different content types|occurrence=1 · 0 introduced LOCmcpSamplingLog.test|titl…mcpSamplingLog.ts ×7 · 81 introduced LOCmcpSamplingLog.ts ×7mockFilesystem.ts ×2 · 6 introduced LOCmockFilesystem.ts ×2configurationResolverExpression.ts ×13 · 105 introduced LOCconfigurationResolverExp…queryBuilder.ts ×27 · 187 introduced LOCqueryBuilder.ts ×27observableMemento.ts ×3 · 6 introduced LOCobservableMemento.ts ×3workbenchTestServices.ts ×76 · 597 introduced LOCworkbenchTestServices.ts…event.ts ×1 · 2 introduced LOCevent.ts ×1promptsService.ts ×1 · 2 introduced LOCpromptsService.ts ×1mockKeybindingService.ts ×1 · 2 introduced LOCmockKeybindingService.ts…observableMemento.ts ×5 · 22 introduced LOCobservableMemento.ts ×5nativeMcpDiscoveryAdapters.ts ×9 · 92 introduced LOCnativeMcpDiscoveryAdapte…arrays.ts ×1 · 2 introduced LOCarrays.ts ×1mcpConfiguration.ts ×6 · 511 introduced LOCmcpConfiguration.ts ×6mcpTypes.ts ×2 · 3 introduced LOCmcpTypes.ts ×2decorators.ts ×2 · 7 introduced LOCdecorators.ts ×2mcpTypes.ts ×31 · 4652 introduced LOCmcpTypes.ts ×31chatUri.ts ×1 · 3 introduced LOCchatUri.ts ×1marshalling.ts ×1 · 2 introduced LOCmarshalling.ts ×1resources.ts ×7 · 45 introduced LOCresources.ts ×7chatErrorMessages.ts ×1 · 19 introduced LOCchatErrorMessages.ts ×1chatErrorMessages.ts ×10 · 149 introduced LOCchatErrorMessages.ts ×10pathService.ts ×10 · 111 introduced LOCpathService.ts ×10chatEntitlementService.ts ×1 · 1 introduced LOCchatEntitlementService.t…chatEntitlementService.ts ×2 · 5 introduced LOCchatEntitlementService.t…chatEntitlementService.ts ×52 · 1538 introduced LOCchatEntitlementService.t…userDataProfile.ts ×4 · 139 introduced LOCuserDataProfile.ts ×4extensionFeatures.ts ×2 · 6 introduced LOCextensionFeatures.ts ×2debugger.ts ×3 · 27 introduced LOCdebugger.ts ×3workspaceTrust.ts ×1 · 108 introduced LOCworkspaceTrust.ts ×1debugger.ts ×26 · 153 introduced LOCdebugger.ts ×26virtualWorkspace.ts ×5 · 18 introduced LOCvirtualWorkspace.ts ×5configurationResolver.ts ×2 · 114 introduced LOCconfigurationResolver.ts…environmentService.ts ×1 · 56 introduced LOCenvironmentService.ts ×1extHostSCM.test|title=ExtHostSCM disposed source controls are removed from extension bookkeeping|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/common/extHostSCM.test|title=ExtHostSCM disposed source controls are removed from extension bookkeeping|occurrence=1extHostSCM.test|title=Ex…extHostTypeConverters.test|title=extHostTypeConverters ChatRequestModeInstructions to converts IChatRequestModeInstructions to API type|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/common/extHostTypeConverters.test|title=extHostTypeConverters ChatRequestModeInstructions to converts IChatRequestModeInstructions to API type|occurrence=1extHostTypeConverters.te…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg does not add stray ^ to argument values|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg does not add stray ^ to argument values|occurrence=1extHostMcpNode.test|titl…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg doubles embedded double quotes (cmd.exe convention)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg doubles embedded double quotes (cmd.exe convention)|occurrence=1extHostMcpNode.test|titl…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg neutralizes cmd.exe metacharacters inside quotes (CVE-2024-27980)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg neutralizes cmd.exe metacharacters inside quotes (CVE-2024-27980)|occurrence=1extHostMcpNode.test|titl…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg preserves paths with parentheses without injecting ^|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg preserves paths with parentheses without injecting ^|occurrence=1extHostMcpNode.test|titl…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg preserves paths with spaces|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg preserves paths with spaces|occurrence=1extHostMcpNode.test|titl…extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg wraps simple values in double quotes|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/api/test/node/extHostMcpNode.test|title=extHostMcpNode - escapeCmdArg wraps simple values in double quotes|occurrence=1extHostMcpNode.test|titl…chatEntitlementService.test|title=ChatEntitlementService merges defined snapshot fields until the snapshot is removed|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/chatEntitlementService.test|title=ChatEntitlementService merges defined snapshot fields until the snapshot is removed|occurrence=1chatEntitlementService.t…chatErrorMessages.test|title=ChatErrorMessages getCopilotPlanFromEntitlement maps entitlements to Copilot plan strings|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/chatErrorMessages.test|title=ChatErrorMessages getCopilotPlanFromEntitlement maps entitlements to Copilot plan strings|occurrence=1chatErrorMessages.test|t…chatModeService.test|title=ChatModeService should fire change event when custom modes are updated|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/chatModeService.test|title=ChatModeService should fire change event when custom modes are updated|occurrence=1chatModeService.test|tit…constants.test|title=ChatConfiguration defaults default session resource follows the agent host default|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/constants.test|title=ChatConfiguration defaults default session resource follows the agent host default|occurrence=1constants.test|title=Cha…customizationHarnessService.test|title=CustomizationHarnessService getCustomAgents falls back to promptsService and filters by session type|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/customizationHarnessService.test|title=CustomizationHarnessService getCustomAgents falls back to promptsService and filters by session type|occurrence=1customizationHarnessServ…customizationHarnessService.test|title=CustomizationHarnessService getCustomAgents uses provider item URIs to scope resolved custom agents|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/customizationHarnessService.test|title=CustomizationHarnessService getCustomAgents uses provider item URIs to scope resolved custom agents|occurrence=1customizationHarnessServ…customizationHarnessService.test|title=CustomizationHarnessService getSlashCommands falls back to promptsService when the active harness has no provider|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/customizationHarnessService.test|title=CustomizationHarnessService getSlashCommands falls back to promptsService when the active harness has no provider|occurrence=1customizationHarnessServ…pluginMarketplaceService.test|title=PluginMarketplaceService - hydration after restart hydrates a github-sourced plugin from installed.json name and marketplace cache after restart|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/plugins/pluginMarketplaceService.test|title=PluginMarketplaceService - hydration after restart hydrates a github-sourced plugin from installed.json name and marketplace cache after restart|occurrence=1pluginMarketplaceService…promptsService.test|title=PromptsService findAgentSkills should return empty array when no skills found|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService findAgentSkills should return empty array when no skills found|occurrence=1promptsService.test|titl…promptsService.test|title=PromptsService getPromptSlashCommands - skills should respect skill disable configuration (USE_AGENT_SKILLS)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - skills should respect skill disable configuration (USE_AGENT_SKILLS)|occurrence=1promptsService.test|titl…promptsService.test|title=PromptsService getPromptSlashCommands - userInvocable filtering should handle prompts with user-invocable: false|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService getPromptSlashCommands - userInvocable filtering should handle prompts with user-invocable: false|occurrence=1promptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - instructions instructions from user data folder|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService listPromptFiles - instructions instructions from user data folder|occurrence=1promptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - prompts prompts from user data folder|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService listPromptFiles - prompts prompts from user data folder|occurrence=1promptsService.test|titl…promptsService.test|title=PromptsService listPromptFiles - skills should not list skills when not in skill folder structure|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/service/promptsService.test|title=PromptsService listPromptFiles - skills should not list skills when not in skill folder structure|occurrence=1promptsService.test|titl…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem array config value|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem array config value|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem no config value|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem no config value|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem null config value|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem null config value|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem object config value|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem object config value|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem string config value|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator empty workspace empty filesystem string config value|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders excludes Claude paths|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders excludes Claude paths|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders returns source metadata for hook folders|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator getHookSourceFolders returns source metadata for hook folders|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when no skills exist|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when no skills exist|occurrence=1promptFilesLocator.test|…promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when skill folder does not exist|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/promptSyntax/utils/promptFilesLocator.test|title=PromptFilesLocator skills findAgentSkills returns empty array when skill folder does not exist|occurrence=1promptFilesLocator.test|…chatRequestParser.test|title=ChatRequestParser non-silent slash command with agent and no supportsPromptAttachments|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/chat/test/common/requestParser/chatRequestParser.test|title=ChatRequestParser non-silent slash command with agent and no supportsPromptAttachments|occurrence=1chatRequestParser.test|t…debugger.test|title=Debug - Debugger initial config file content|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/debug/test/node/debugger.test|title=Debug - Debugger initial config file content|occurrence=1debugger.test|title=Debu…mcpSamplingLog.test|title=MCP - Sampling Log handles different content types|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpSamplingLog.test|title=MCP - Sampling Log handles different content types|occurrence=1mcpSamplingLog.test|titl…mcpSamplingLog.test|title=MCP - Sampling Log handles multiple servers|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpSamplingLog.test|title=MCP - Sampling Log handles multiple servers|occurrence=1mcpSamplingLog.test|titl…mcpSamplingLog.test|title=MCP - Sampling Log logs a single request|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpSamplingLog.test|title=MCP - Sampling Log logs a single request|occurrence=1mcpSamplingLog.test|titl…mcpTypes.test|title=MCP Types McpServerDefinition.equals returns false when id differs|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpTypes.test|title=MCP Types McpServerDefinition.equals returns false when id differs|occurrence=1mcpTypes.test|title=MCP …nativeMcpDiscoveryAdapters.test|title=MCP Discovery - nativeMcpDiscoveryAdapters claudeConfigToServerDefinition forwards HTTP headers|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/nativeMcpDiscoveryAdapters.test|title=MCP Discovery - nativeMcpDiscoveryAdapters claudeConfigToServerDefinition forwards HTTP headers|occurrence=1nativeMcpDiscoveryAdapte…chatEntitlementService.test|title=chatRequiresSetup disabled requires setup|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/services/chat/test/common/chatEntitlementService.test|title=chatRequiresSetup disabled requires setup|occurrence=1chatEntitlementService.t…chatEntitlementService.test|title=chatRequiresSetup not completed requires setup|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/services/chat/test/common/chatEntitlementService.test|title=chatRequiresSetup not completed requires setup|occurrence=1chatEntitlementService.t…resources.test|title=ResourceGlobMatcher Basics|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/test/common/resources.test|title=ResourceGlobMatcher Basics|occurrence=1resources.test|title=Res…Focused file · src/vs/workbench/services/environment/common/environmentService.ts · 56 LOCcommon/environmentServic…

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the related-file, concept, and source links on this page while the interactive map is unavailable.

1 > /*--------------------------------------------------------------------------------------------- environmentService.ts ×1
2 > * Copyright (c) Microsoft Corporation. All rights reserved.
3 > * Licensed under the MIT License. See License.txt in the project root for license information.
4 > *--------------------------------------------------------------------------------------------*/
5 >
6 > import { refineServiceDecorator } from '../../../../platform/instantiation/common/instantiation.js';
7 > import { IPath } from '../../../../platform/window/common/window.js';
8 > import { IEnvironmentService } from '../../../../platform/environment/common/environment.js';
9 > import { URI } from '../../../../base/common/uri.js';
10 >
11 > export const IWorkbenchEnvironmentService = refineServiceDecorator<IEnvironmentService, IWorkbenchEnvironmentService>(IEnvironmentService);
12 >
13 > /**
14 > * A workbench specific environment service that is only present in workbench
15 > * layer.
16 > */
17 > export interface IWorkbenchEnvironmentService extends IEnvironmentService {
18 >
19 > // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20 > // NOTE: KEEP THIS INTERFACE AS SMALL AS POSSIBLE. AS SUCH:
21 > // PUT NON-WEB PROPERTIES INTO THE NATIVE WORKBENCH
22 > // ENVIRONMENT SERVICE
23 > // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
24 >
25 > // --- Paths
26 > readonly logFile: URI;
27 > readonly windowLogsPath: URI;
28 > readonly extHostLogsPath: URI;
29 >
30 > // --- Extensions
31 > readonly extensionEnabledProposedApi?: string[];
32 >
33 > // --- Config
34 > readonly remoteAuthority?: string;
35 > readonly skipReleaseNotes: boolean;
36 > readonly skipWelcome: boolean;
37 > readonly disableWorkspaceTrust: boolean;
38 > readonly isSessionsWindow: boolean;
39 > readonly webviewExternalEndpoint: string;
40 >
41 > // --- Development
42 > readonly debugRenderer: boolean;
43 > readonly logExtensionHostCommunication?: boolean;
44 > readonly enableSmokeTestDriver?: boolean;
45 > readonly profDurationMarkers?: string[];
46 >
47 > // --- Editors to open
48 > readonly filesToOpenOrCreate?: IPath[] | undefined;
49 > readonly filesToDiff?: IPath[] | undefined;
50 > readonly filesToMerge?: IPath[] | undefined;
51 >
52 > // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
53 > // NOTE: KEEP THIS INTERFACE AS SMALL AS POSSIBLE. AS SUCH:
54 > // - PUT NON-WEB PROPERTIES INTO NATIVE WB ENV SERVICE
55 > // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
56 > }