fix: update api proposals (#1187)

This commit is contained in:
Baptiste Augrain 2022-08-09 15:21:59 +02:00 committed by GitHub
parent 383b7ef4f8
commit f05272f2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 43 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
vscode vscode
VS*/* VS*/*
VSCode*
.DS_Store .DS_Store
build/linux/appimage/out build/linux/appimage/out
build/linux/appimage/pkg2appimage.AppDir build/linux/appimage/pkg2appimage.AppDir

20
build/update_api.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
URL=`curl -s "https://update.code.visualstudio.com/api/update/win32-x64-archive/stable/VERSION" | jq -c '.url' | sed -E 's/.*"([^"]+)".*/\1/'`
# echo "url: ${URL}"
FILE=`echo "${URL}" | sed -E 's|.*/([^/]+\.zip)$|\1|'`
# echo "file: ${FILE}"
DIRECTORY=`echo "${URL}" | sed -E 's|.*/([^/]+)\.zip$|\1|'`
# echo "directory: ${DIRECTORY}"
if [[ ! -f "${FILE}" ]]; then
wget "${URL}"
fi
if [[ ! -d "${DIRECTORY}" ]]; then
unzip "${FILE}" -d "${DIRECTORY}"
fi
APIS=`cat ${DIRECTORY}/resources/app/product.json | jq -r '.extensionEnabledApiProposals'`
cat <<< $(jq --argjson v "${APIS}" 'setpath(["extensionEnabledApiProposals"]; $v)' product.json) > product.json

View File

@ -51,7 +51,8 @@
"testObserver" "testObserver"
], ],
"VisualStudioExptTeam.vscodeintellicode-completions": [ "VisualStudioExptTeam.vscodeintellicode-completions": [
"inlineCompletions" "inlineCompletionsNew",
"inlineCompletionsAdditions"
], ],
"ms-vsliveshare.vsliveshare": [ "ms-vsliveshare.vsliveshare": [
"contribMenuBarHome", "contribMenuBarHome",
@ -61,13 +62,12 @@
"findTextInFiles", "findTextInFiles",
"notebookCellExecutionState", "notebookCellExecutionState",
"notebookContentProvider", "notebookContentProvider",
"notebookDocumentEvents",
"notebookEditor", "notebookEditor",
"notebookEditorEdit", "notebookEditorEdit",
"notebookLiveShare", "notebookLiveShare",
"notebookWorkspaceEdit",
"terminalDimensions", "terminalDimensions",
"terminalDataWriteEvent", "terminalDataWriteEvent",
"textDocumentNotebook",
"textSearchProvider" "textSearchProvider"
], ],
"ms-vscode.js-debug": [ "ms-vscode.js-debug": [
@ -82,25 +82,20 @@
], ],
"ms-python.python": [ "ms-python.python": [
"quickPickSortByLabel", "quickPickSortByLabel",
"testObserver", "testObserver"
"notebookEditor"
], ],
"ms-dotnettools.dotnet-interactive-vscode": [ "ms-dotnettools.dotnet-interactive-vscode": [
"notebookConcatTextDocument",
"notebookContentProvider",
"notebookCellExecutionState", "notebookCellExecutionState",
"notebookControllerKind", "notebookControllerKind",
"notebookDebugOptions", "notebookDebugOptions",
"notebookDeprecated",
"notebookEditor", "notebookEditor",
"notebookEditorDecorationType",
"notebookEditorEdit",
"notebookLiveShare", "notebookLiveShare",
"notebookMessaging", "notebookMessaging",
"notebookMime", "notebookMime",
"textDocumentNotebook" "notebookWorkspaceEdit"
], ],
"GitHub.codespaces": [ "GitHub.codespaces": [
"contribEditSessions",
"contribMenuBarHome", "contribMenuBarHome",
"contribRemoteHelp", "contribRemoteHelp",
"contribViewsRemote", "contribViewsRemote",
@ -112,10 +107,10 @@
"ms-vscode.azure-repos": [ "ms-vscode.azure-repos": [
"extensionRuntime", "extensionRuntime",
"fileSearchProvider", "fileSearchProvider",
"resolvers",
"textSearchProvider" "textSearchProvider"
], ],
"ms-vscode.remote-repositories": [ "ms-vscode.remote-repositories": [
"contribEditSessions",
"contribRemoteHelp", "contribRemoteHelp",
"contribMenuBarHome", "contribMenuBarHome",
"contribViewsRemote", "contribViewsRemote",
@ -128,14 +123,7 @@
"scmSelectedProvider", "scmSelectedProvider",
"scmValidation", "scmValidation",
"textSearchProvider", "textSearchProvider",
"timeline", "timeline"
"notebookEditor"
],
"ms-vscode.vscode-github-issue-notebooks": [
"notebookEditor"
],
"tanhakabir.rest-book": [
"notebookEditor"
], ],
"ms-vscode-remote.remote-wsl": [ "ms-vscode-remote.remote-wsl": [
"resolvers", "resolvers",
@ -148,6 +136,10 @@
"contribViewsRemote", "contribViewsRemote",
"telemetry" "telemetry"
], ],
"ms-vscode.remote-server": [
"resolvers",
"contribViewsRemote"
],
"ms-vscode-remote.remote-containers": [ "ms-vscode-remote.remote-containers": [
"resolvers", "resolvers",
"workspaceTrust", "workspaceTrust",
@ -164,15 +156,18 @@
"documentFiltersExclusive" "documentFiltersExclusive"
], ],
"GitHub.vscode-pull-request-github": [ "GitHub.vscode-pull-request-github": [
"tokenInformation" "tokenInformation",
"commentsResolvedState",
"badges",
"contribViewSize"
], ],
"GitHub.copilot": [ "GitHub.copilot": [
"inlineCompletions", "inlineCompletionsNew",
"textDocumentNotebook" "inlineCompletionsAdditions"
], ],
"GitHub.copilot-nightly": [ "GitHub.copilot-nightly": [
"inlineCompletions", "inlineCompletionsNew",
"textDocumentNotebook" "inlineCompletionsAdditions"
], ],
"GitHub.remotehub": [ "GitHub.remotehub": [
"contribRemoteHelp", "contribRemoteHelp",
@ -184,12 +179,10 @@
"fileSearchProvider", "fileSearchProvider",
"quickPickSortByLabel", "quickPickSortByLabel",
"workspaceTrust", "workspaceTrust",
"resolvers",
"scmSelectedProvider", "scmSelectedProvider",
"scmValidation", "scmValidation",
"textSearchProvider", "textSearchProvider",
"timeline", "timeline"
"notebookEditor"
], ],
"GitHub.remotehub-insiders": [ "GitHub.remotehub-insiders": [
"contribRemoteHelp", "contribRemoteHelp",
@ -201,42 +194,35 @@
"fileSearchProvider", "fileSearchProvider",
"quickPickSortByLabel", "quickPickSortByLabel",
"workspaceTrust", "workspaceTrust",
"resolvers",
"scmSelectedProvider", "scmSelectedProvider",
"scmValidation", "scmValidation",
"textSearchProvider", "textSearchProvider",
"timeline", "timeline"
"notebookEditor"
], ],
"ms-python.gather": [ "ms-python.gather": [
"notebookEditor",
"notebookCellExecutionState" "notebookCellExecutionState"
], ],
"ms-python.vscode-pylance": [ "ms-python.vscode-pylance": [
"notebookDocumentEvents",
"notebookEditor", "notebookEditor",
"notebookCellExecutionState" "notebookCellExecutionState"
], ],
"ms-toolsai.jupyter": [ "ms-toolsai.jupyter": [
"notebookConcatTextDocument",
"notebookControllerKind", "notebookControllerKind",
"notebookDebugOptions", "notebookDebugOptions",
"notebookDeprecated", "notebookDeprecated",
"notebookEditor", "notebookWorkspaceEdit",
"notebookDocumentEvents",
"notebookEditorDecorationType",
"notebookEditorEdit",
"notebookMessaging", "notebookMessaging",
"notebookMime", "notebookMime",
"notebookCellExecutionState", "notebookCellExecutionState",
"portsAttributes", "portsAttributes",
"textDocumentNotebook", "quickPickSortByLabel",
"quickPickSortByLabel" "notebookKernelSource",
"interactiveWindow"
],
"ms-toolsai.vscode-jupyter-powertoys": [
"notebookWorkspaceEdit"
], ],
"dbaeumer.vscode-eslint": [ "dbaeumer.vscode-eslint": [
"tabs",
"notebookDocumentEvents",
"notebookEditor",
"notebookCellExecutionState" "notebookCellExecutionState"
], ],
"ms-vscode.azure-sphere-tools-ui": [ "ms-vscode.azure-sphere-tools-ui": [
@ -244,6 +230,12 @@
], ],
"ms-azuretools.vscode-azureappservice": [ "ms-azuretools.vscode-azureappservice": [
"terminalDataWriteEvent" "terminalDataWriteEvent"
],
"ms-vscode.anycode": [
"extensionsAny"
],
"ms-vscode.cpptools": [
"terminalDataWriteEvent"
] ]
}, },
"extensionKind": { "extensionKind": {