vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.43k stars 237 forks source link

Use language-overridable scope for configuration settings #945

Closed adam-fowler closed 1 year ago

adam-fowler commented 1 year ago

Have you considered using scope language-overridable for some of the configuration settings? Given #927 I wanted to add a configuration default for the swift extension

"[swift]": {
  "lldb.launch.expressions": "native"
},

But apparently I can't because the setting scope does not allow it.

vadimcn commented 1 year ago

Not sure this will achieve what you want: the expression type is determined at the start of the debug session, and in this case, it would depend on what file you had active in the editor at that moment. Hardly intuitive behavior...

adam-fowler commented 1 year ago

make sense