Skip to content

Fix type check of the kcl-language-server of missing required attributes #1928

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

liorfr-monday
Copy link

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

No

2. What is the scope of this PR (e.g. component or file name):

kcl/kclvm/tools/src/LSP/src/validator.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

Improve the type check when working from IDE.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

N

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test

Before:
Screenshot 2025-04-23 at 20 35 03

After

Screenshot 2025-04-23 at 20 24 18 Screenshot 2025-04-23 at 20 24 11

@liorfr-monday liorfr-monday force-pushed the main branch 4 times, most recently from 9af18fb to 856a452 Compare April 23, 2025 19:51
Signed-off-by: Lior Franko <liorfr@monday.com>
@Peefy
Copy link
Contributor

Peefy commented Apr 24, 2025

Thanks for the contribution.

The CI failed, and you can format all your rust code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants