Fix default for Carbon Path (#4705)

The extension.ts tries to provide a default, but it's not working the
way I expect. So in addition, provide it in properties, which seems to
work better.
This commit is contained in:
Jon Ross-Perkins
2024-12-18 17:43:47 +00:00
committed by GitHub
parent c1590f886a
commit a651ce1961
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "carbon-vscode",
"version": "0.0.3",
"version": "0.0.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "carbon-vscode",
"version": "0.0.3",
"version": "0.0.4",
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
+3 -2
View File
@@ -1,7 +1,7 @@
{
"name": "carbon-vscode",
"displayName": "Carbon Language",
"version": "0.0.3",
"version": "0.0.4",
"publisher": "carbon-lang",
"description": "Carbon language support for Visual Studio Code.",
"repository": {
@@ -42,7 +42,8 @@
"properties": {
"carbon.carbonPath": {
"type": "string",
"description": "The path to the 'carbon' binary."
"description": "The path to the 'carbon' binary.",
"default": "./bazel-bin/toolchain/install/run_carbon"
}
}
}