Incorrect completion for non-imported standard libraries
Opened this issue · 0 comments
rudolf101 commented
Description
Incorrect completion for non-imported standard libraries.
To Reproduce
Steps to reproduce the behavior:
- Run Visual Studio Code extension.
- Write this code:
math.
# Same with all non-imported standard libraries e.g. sys
Expected behavior
Completion should correctly insert the name of the selected method.
Completion should import standart library. [enhancement]
import math
math.cos()
Actual behavior
Completion duplicate library name.
Library is not imported.
Visual proofs (screenshots, logs, images)
Before autocomplete
After autocomplete
Environment
OS: Windows 11 Pro 21H2
JDK: Amazon Coretto 18.0.2
Intellij IDEA: Build #IU-221.5921.22
Visual Studio Code: v1.70.1