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

Add Hover provider, with rest api contents. #146

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Add Hover provider, with rest api contents. #146

merged 1 commit into from
Oct 14, 2019

Conversation

Confectrician
Copy link
Collaborator

This will ad a hover provider, that presents Item Informations in the editor.
restApi is needed for this.

We should also think about a better handling in the future, to prevent the extension from requesting the rest api each time a text gets hovered.
This could be done with some kind of item caching through rest api on startup.
The hovered texts could then be compared to existing items, before making a rest api call.

Single Item Hover:
vscodeHoverSingleItem

Group Item Hover:
vscodeHoverGroupItem

Signed-off-by: Jerome Luckenbach github@luckenba.ch

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
@Confectrician Confectrician changed the title Add Hover provider, with rest api contents. Closes #69 Add Hover provider, with rest api contents. Oct 12, 2019
@Confectrician Confectrician merged commit ce3c2f1 into openhab:master Oct 14, 2019
@Confectrician Confectrician deleted the add-hover-provider branch October 24, 2019 19:17
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.

1 participant