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

Fix issue with registerContributor API #177

Merged
merged 4 commits into from Aug 29, 2019
Merged

Conversation

JPinkney
Copy link
Contributor

This is a WIP PR that seeks to fix the issues with the registerContributor API. As far as I can see the only way we can trigger https://github.com/redhat-developer/yaml-language-server/blob/master/src/languageservice/services/schemaRequestHandler.ts#L68 from inside of the json language service is to call jsonLanguageService.configure() before we actually handle the hover and validation requests.

Hover and validation are the only requests that would need this as auto completion still uses code inside of the project, rather than delegating to the json language service, and document symbols does not need a schema.

@coveralls
Copy link

coveralls commented Aug 23, 2019

Coverage Status

Coverage decreased (-0.4%) to 66.589% when pulling 3513549 on fix-register-contributor-api into 75d031d on master.

@JPinkney JPinkney merged commit 14fc977 into master Aug 29, 2019
@JPinkney JPinkney changed the title WIP - Fixing issue with registerContributor API Fix issue with registerContributor API Aug 29, 2019
@evidolob evidolob deleted the fix-register-contributor-api branch August 11, 2020 13:18
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.

None yet

2 participants