code-d
code-d copied to clipboard
"Arch Type" is empty on startup
I have the following .vscode/setting.json (notice: "archType": "$current")
{
"version": "2.0.0",
"tasks": [
{
"type": "dub",
"run": false,
"cwd": "${workspaceFolder}",
"compiler": "$current",
"archType": "$current",
"buildType": "$current",
"configuration": "$current",
"problemMatcher": [
"$dmd"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "dub: Build kc",
"detail": "dub build",
"presentation": {
"reveal": "always",
"revealProblems": "onProblem",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false
}
}
]
}
If I do "Terminal > Run Build Task..." with this setup I get:
* Executing task: 'dub' 'build' '--compiler=ldc2' '--arch=' '--build=debug' '--config=debug'
Error Error processing arguments: Missing value for argument --arch=.
Run 'dub help' for usage information.
* The terminal process "/usr/bin/bash '-c', ''dub' 'build' '--compiler=ldc2' '--arch=' '--build=debug' '--config=debug''" failed to launch (exit code: 1).
I think this "arch" setting should initialize to the current native target instead of being empty, similar to other settings (build type, config etc.)
are you using the stable serve-d or have you configured it to use beta or nightly? If not, try out setting d.servedReleaseChannel to beta or nightly and reload the window.
@WebFreak001 I'm using nightly.
Agree, a i have same trouble. Nightly, 12/26/2023 12:16 UTC