vscodium
vscodium copied to clipboard
Add fixes for github copilot in product.json "extensionEnabledApiProposals"
Fixes based on https://github.com/VSCodium/vscodium/issues/1546#issuecomment-1793619431. With these fixes GitHub copilot and copilot chat work on the latest stable build.
"extensionEnabledApiProposals": {
"GitHub.copilot": [
"inlineCompletionsAdditions",
"interactive",
"interactiveUserActions",
"terminalDataWriteEvent",
"chatParticipant"
],
"GitHub.copilot-nightly": [
"inlineCompletionsAdditions",
"interactive",
"interactiveUserActions",
"terminalDataWriteEvent",
"chatParticipant"
],
"GitHub.copilot-chat": [
"handleIssueUri",
"interactive",
"interactiveUserActions",
"terminalDataWriteEvent",
"terminalExecuteCommandEvent",
"terminalSelection",
"terminalQuickFixProvider",
"chatProvider",
"chatVariables",
"chatAgents",
"chatAgents2",
"chatAgents2Additions",
"defaultChatAgent",
"readonlyMessage",
"mappedEditsProvider",
"aiRelatedInformation",
"codeActionAI",
"findTextInFiles",
"textSearchProvider",
"chatVariableResolver",
"newSymbolNamesProvider",
"aiTextSearchProvider",
"contribSourceControlInputBoxMenu",
"testObserver",
"findFiles2",
"chatParticipant",
"createAgent",
"scmInputBoxValueProvider"
],
Maybe create a PR instead?
Will do, should I leave the new lines or put them on one line?
I believe they have it all on a single line.. So I would stay with that. At least the arrays are on a single line.
VSCodium is using the same extensionEnabledApiProposals
as Visual Studio Code. I've checked.
Here the script doing it https://github.com/VSCodium/vscodium/blob/master/build/update_api.sh
Those Apis depend on the version of the editor and of the extension. Your needs seem like an older version
This is the current product.json
, as you can see missing quite a lot:
"GitHub.copilot": [
"inlineCompletionsAdditions"
],
"GitHub.copilot-nightly": [
"inlineCompletionsAdditions"
],
"GitHub.copilot-chat": [
"handleIssueUri",
"interactive",
"terminalDataWriteEvent",
"terminalExecuteCommandEvent",
"terminalSelection",
"terminalQuickFixProvider",
"chatParticipant",
"chatParticipantAdditions",
"defaultChatParticipant",
"chatVariableResolver",
"chatProvider",
"mappedEditsProvider",
"aiRelatedInformation",
"codeActionAI",
"findTextInFiles",
"textSearchProvider",
"contribSourceControlInputBoxMenu",
"newSymbolNamesProvider",
"findFiles2",
"extensionsAny",
"authLearnMore",
"testObserver"
],
VSCodium is using the same extensionEnabledApiProposals as Visual Studio Code.
Is it possible that those APIs are not experimental in VSCode?