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

Hover doesn't work when there is now symbol after property #382

Merged

Conversation

p-spacek
Copy link
Contributor

What does this PR do?

Fix jsonParser when objects is null and doesn't continue with any symbol in yaml file.

What issues does this PR fix or reference?

no issue reference
problem:

nullPropHover

Hover doesn't work when there is now symbol after property.
On this example no hover will be displayed on objProperty

obj:
  objProperty:

Is it tested? How?

hover.test.ts: 'Hover on null property'

@coveralls
Copy link

coveralls commented Dec 22, 2020

Coverage Status

Coverage increased (+0.1%) to 80.853% when pulling fe9d96a on p-spacek:fix/validate-the-last-yaml-null-prop into d896e46 on redhat-developer:master.

@p-spacek p-spacek changed the title Fix/validate the last yaml null prop Hover doesn't work when there is now symbol after property Dec 22, 2020
Copy link
Contributor

@JPinkney JPinkney left a comment

Choose a reason for hiding this comment

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

Just tested it out and it works great! Thanks for the PR

@evidolob evidolob merged commit 8412e43 into redhat-developer:master Dec 23, 2020
@p-spacek p-spacek deleted the fix/validate-the-last-yaml-null-prop branch December 23, 2020 11:48
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.

4 participants