You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocompletion occasionally deletes the following character.
Environment
Operating System: macOS High Sierra 10.13.6 and Ubuntu 19.10 (probably also Windows 10)
JDK version: Oracle 13.0.1 and Oracle 12.0.2
Visual Studio Code version: 1.39.2
Java extension version: 0.52
Steps To Reproduce
I am unable to reproduce this problem consistently. But apparently it happens when I write an if or a for and I use the autocompletion inside the round brackets.
To try to reproduce the issues I suggest you to:
Create a new method
Insert an if
Use the autocompletion to write this keyword
Use autocompletion to refer to an instance field
Repeat until the issue occurs (statistically it happens to me once every 5)
Here you can see an example:
As you can see after autocompleting this the right parenthesis is gone.
@jackroi could you try to reproduce the issue without the Visual Studio IntelliCode extension?
I've tried with Visual Studio IntelliCode extension disabled and I've never been able to reproduce the issue, while reactivating the extension it appeared again. I've tried from both macOS 10.13.6 and Ubuntu 19.10.
At this point the problem seems to be related to IntelliCode, somehow the two extensions interfere with each other. What do you think?
As a side note, the issue apparently occurs more frequently on macOS than on Ubuntu.
PS: I've updated the title of the issue, since autocompletion deletes, more generally, the following character, regardless of whether it is a parenthesis or not.
jackroi
changed the title
Autocompletion deletes parenthesis
Autocompletion deletes the following character
Nov 6, 2019
Autocompletion occasionally deletes the following character.
Environment
Steps To Reproduce
I am unable to reproduce this problem consistently. But apparently it happens when I write an
if
or afor
and I use the autocompletion inside the round brackets.To try to reproduce the issues I suggest you to:
if
this
keywordHere you can see an example:
As you can see after autocompleting
this
the right parenthesis is gone.Log files:
vscode-java logs.log
Java Language Server's workspace logs.log
Current Result
The right parenthesis disappears (occasionally).
Expected Result
The right parenthesis should remain.
Additional Informations
Seems related to #352
The text was updated successfully, but these errors were encountered: