eclipse-theia/theia

Suggestions within logpoints not working as expected

Open

#8,825 opened on Dec 4, 2020

View on GitHub
 (1 comment) (1 reaction) (0 assignees)TypeScript (2,478 forks)batch import
bugdebughelp wantedvscode

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Bug Description:

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

  • Suggestions are shown without the interpolated scope ( { } )
  • When trying to add interpolation suggestions are only shown after 3 characters
  • Trying to autocomplete a found suggestion with enter does add it to the already typed characters, e.g: {myVaria}-> auto completes to {myVariamyVariable}
  • suggestions sometimes don't make sense in the scope currently working, expected suggestions don't show up

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

  • Operating System: Win10 (Ms Edge 87.0.664.52)
  • Theia Version: Can be reproduced with the gitpod sample applications

Contributor guide