eclipse-cdt-cloud / cdt-gdb-vscode

CDT GDB Visual Studio Code Extension
Eclipse Public License 2.0
21 stars 24 forks source link

Provide proper console auto-completion with `cdt-gdb-vscode` #75

Open planger opened 2 years ago

planger commented 2 years ago

Feature Description:

Currently the auto-completion in the console of a cdt-gdb-vscode debug console is just listing found words: image

For other language this auto-completion supports variables of the actual scope.

Probably this is a cdt-gdb-vscode? @jonahgraham

jonahgraham commented 2 years ago

Yes - I will transfer issue there. I think that Ericsson did some work on this, at least in Linux, so that it works well with GDB CLI which has good completion support.

paul-marechal commented 2 years ago

I think that Ericsson did some work on this, at least in Linux, so that it works well with GDB CLI which has good completion support.

The exact scope of that work is to enable opening an extra terminal within clients that's hooked to GDB's command line interface for humans while at the same time interfacing with the same GDB instance over MI in the background when handling DAP messages.

Unfortunately this work doesn't apply to the Debug Console opened by clients while debugging :/