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
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
schema BaseConfig:
name: str
schema Config(BaseConfig):
count: int
schema Name:
config: Config
n = Name{
config: {
name = ""
<cursor> # cannot complete for `count`
}
}
But the following two situations are work
schema BaseConfig:
name: str
schema Config(BaseConfig):
count: int
schema Name:
config: Config
n = Name{
config: Config { # specify the schema name
name = ""
<cursor>
}
}
and
schema BaseConfig:
name: str
schema Config(BaseConfig):
count: int
schema Name:
config: Config
n = Name{
config: {
count = ""
<cursor> # `count` is attr of Config, `name` is inherited from BaseConfig, lsp can still complete the `name` here
}
}
2. What did you expect to see? (Required)
The lsp works fine.
3. What did you see instead (Required)
4. What is your KCL components version? (Required)
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
But the following two situations are work
and
2. What did you expect to see? (Required)
The lsp works fine.
3. What did you see instead (Required)
4. What is your KCL components version? (Required)
The text was updated successfully, but these errors were encountered: