Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes schema type attr completion is wrong #1745

Open
He1pa opened this issue Nov 8, 2024 · 0 comments
Open

Sometimes schema type attr completion is wrong #1745

He1pa opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request lsp

Comments

@He1pa
Copy link
Contributor

He1pa commented Nov 8, 2024

Enhancement

complete external pkg schema name, pkg name sometimes wrong
c.k

schema C:
    c: str = "c"

b.k

import ccc

schema B:
    c: ccc.C

a.k

import bbb

a = bbb.B{
    c: [expect complete item] # got ccc.C{}, but not import ccc so ccc is undefined
}

image
image

@Peefy Peefy added lsp enhancement New feature or request labels Nov 8, 2024
@Peefy Peefy added this to the v0.11.0 Release milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lsp
Projects
None yet
Development

No branches or pull requests

2 participants