[VS Code] Code generation not triggered for js file when pressing space after comment
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page) - Extension version: v4.8.0
-
I'm using the latest VS Code version (find the latest version here) - VS Code version: Version: 1.87.2
-
I'm using a supported version of GitLab (see README for the supported version) - GitLab version: "happens on
gitlab.com
"
- GitLab version: "happens on
Summary
Raising on behalf of a customer who expected code generation after pressing space after a comment in javascript
file.
With java
the code generation occurs.
Tried this in the Web IDE for comparison and the generation occurs in all languages when pressing space after a comment.
This may be expected, but it is different behaviour for java/python
to js
. I have recommended to the customer to press enter
.
Steps to reproduce
- Open
js
file in vscode - in the editor add
// generate a http server
- press
space
What is the current bug behavior?
No code suggestion, no logs
What is the expected correct behavior?
Code generation occurs
Relevant logs and/or screenshots
js
in vscode (after pressing space):
java
in vscode (after pressing space):
js
in WebIDE (after pressing space):
Possible fixes
relevant slack discussion https://gitlab.slack.com/archives/C013QJ9NEPL/p1712626104026779
Workaround is to press enter