Support for VSCodium?
clin1234 opened this issue · 4 comments
While VSCodium does not have an Insiders build, it does support inline-completion (editor.inlineSuggest.enabled). However, attempting to run the extension results in an error:
[hieunc229.copilot-clone]: editor/inlineCompletions/actions is a proposed menu identifier and is only available when running out of dev or with the following command line switch: --enable-proposed-api hieunc229.copilot-clone
I tested it on VSCodium and it works.
But it needs to have --enable-proposed-api
argument. You can:
- Open the file
.vscode/launch.json
- Append
--enable-proposed-api
into "configurations.args" string array
It should looks something like this
{
...
"configurations": [{
...
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--enable-proposed-api"
],
...
}
]
}
And don't forget to enable inline completion.
Still got the above error, even with inline completion on.
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--enable-proposed-api hieunc229.copilot-clone"
],
}
]
}
That configuration is different from the one in this repository. You can have a look here: https://github.com/hieunc229/copilot-clone/blob/master/.vscode/launch.json
Below is what it should look like.
{
"version": "0.2.0",
"configurations": [{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--enable-proposed-api"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
What does that python
configure do?
Issue solved.