Skip to content

Incorrect completion for non-imported standard libraries #25

@rudolf101

Description

@rudolf101

Description

Incorrect completion for non-imported standard libraries.

To Reproduce

Steps to reproduce the behavior:

  1. Run Visual Studio Code extension.
  2. 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
image
After autocomplete
image

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions