Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Finally, the following is the hover framefork, plus some refactoring that helped me to solve a couple of problems with my hovers and I am sure will enhance CCW modularity. This feature adds the ability of contributing and configuring ITextHover* instances to Counterclockwise.
The extension point is ccw.core.cljEditorTextHovers whereas the schema (a cousin of Jdt's) is
contained in schema/cljEditorTextHovers.exsd. Moreover, I basically created a layer of mixins for IClojureEditor and (the new) IClojureSourceViewer.
From the first to the last, I will list the comments, highlighting the most important commits:
refactor(ccw.core): Add some preference function that was around back to eclipse.clj
feat(ccw.core): add pluggable ITextHover, configurable through their preference page*
refactoring(ccw.core): Split IClojureEditor in IClojureAwarePart, IReplAwarePart, IClojurePart
feat(ccw.core-hovers): added support for ITextHoverExtension2 to docstring_hover
refactor(ccw.core-repl): promote getSafeToolingConnection to IReplAwarePart
I refactored on my taste, but of course I am available for any discussion on the topic 👍
I hope I have decently cleaned up my patches.
-ar