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

Prevent error on empty name symbol. #462

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

angelozerr
Copy link
Contributor

fix : prevent from empty name symbol

Given this microprofile-config.properties file which have 2 dots in property:

a..b=

vscode crashes because symbol name must be never empty.

This PR prevent from non empty name symbol.

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr self-assigned this Sep 20, 2024
@angelozerr angelozerr added the bug Something isn't working label Sep 20, 2024
@angelozerr angelozerr added this to the 0.13.0 milestone Sep 20, 2024
@angelozerr
Copy link
Contributor Author

angelozerr commented Oct 8, 2024

@datho7561 if you have time, could you review this PR please.

It is very annoying because if you write a..b= you have popup error.

@datho7561 datho7561 self-requested a review October 8, 2024 13:43
Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and prevents the error. Thanks, Angelo!

@datho7561
Copy link
Contributor

Trying to see if the test failure is legitimate.

@datho7561
Copy link
Contributor

It seems it's related to gradle on the microprofile.jdt side, which this PR doesn't change, so I think it's good to merge this PR.

@datho7561 datho7561 merged commit e14cc68 into eclipse-lsp4mp:master Oct 8, 2024
1 of 2 checks passed
@angelozerr
Copy link
Contributor Author

Thanks @datho7561 !

@angelozerr angelozerr changed the title fix : prevent from empty name symbol Prevent error on empty name symbol. Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants