eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
20.04k stars 2.5k forks source link

Suggestions within logpoints not working as expected #8825

Open engelhardtda opened 3 years ago

engelhardtda commented 3 years ago

Bug Description:

Autocomplete suggestions within a log message when creating a logpoint have unexpected behavior.

Steps to Reproduce:

  1. Open workspace on gitpod.io
  2. Add logpoint with type log message
  3. Without scope trigger suggestions (ctrl space) results in suggestions to show up
  4. Add interpolation via {} trigger suggentions again results in no suggestions

logmessage_suggest

Additional Information

vince-fugnitto commented 3 years ago

For anyone interested in implementing the feature, I found the following commit from vscode which looks to hook up completion items to the debug widget (ex: logpoint breakpoints):

It should be enough to add the code to the @theia/debug extension (provided a CQ is prepared for the copied code).


Edit: It looks like the code is in place to handle suggesting completion items during a log breakpoint so it may just be a bug.