-
Notifications
You must be signed in to change notification settings - Fork 198
Copy diagnostic hover text #2618
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
94d7b66
Copy hover response content and diagnostics text from the hover popup
predragnikolic 17f0c5e
fix display of errors diagnostics
predragnikolic a57a692
prepend the source of the diagnostics when coping diagnostics
predragnikolic 6e524fb
allow copying text from the popup that appears with completions COOPE…
predragnikolic 7d4ade4
cover signature help
predragnikolic c0ba0a1
rename copy_text_html_element to copy_text_html
predragnikolic 75b3549
remove unused imports
predragnikolic 1d8a53a
set status message as the original copy command
predragnikolic 03c6702
fix flake8
predragnikolic 9765365
make copy_text not nullable
predragnikolic 5a77bf4
inherit the color instead of overriding it
predragnikolic 51417da
fix flake8
predragnikolic 0a25dab
don't expose _markup_to_string and only expose copy_text_html
predragnikolic bc2a060
split import
predragnikolic ce73520
sublime.command_url already does html.unescape
predragnikolic ab65e90
this is the reason why copying content from the signature help opened…
predragnikolic 95d0512
wrap both the diagnostic message and source in a block element
predragnikolic 18b26db
don't handle signature help for now
predragnikolic 8c5a999
Revert "don't handle signature help for now"
predragnikolic a6655ae
Signature help was actually working, but the tests needed to be updated
predragnikolic 8198c66
Update plugin/core/views.py
predragnikolic 6f52d0d
sort lines
predragnikolic 0e4ce02
if instead of elif
predragnikolic baed32c
remove .replace(' ', ' ') as I cannot seem to find the example hover …
predragnikolic 1eea3a8
move _markup_to_string after copy_text_html
predragnikolic 1ae508b
rename copy_text_html to wrap_in_copy_link and call markup_to_string …
predragnikolic 08ae8cb
Merge branch 'main' into feature/copy_hover_content
predragnikolic 7b327aa
add debug logs when on_navigate logic is not handled
predragnikolic aa4be0f
Add copy button for each diagnostic, but remove ability to copy text …
predragnikolic f05e74a
Revert test changes
predragnikolic d128f6d
remove wrap_in_copy_link
predragnikolic 5b6088e
Change the look of the copy button
predragnikolic 3b3839c
revert as it was
predragnikolic e02f3db
Reduce the padding
predragnikolic 7945e79
Merge branch 'main' into feature/copy_hover_content
predragnikolic efbdd30
Use an UTF char for the icon
predragnikolic d79f9a7
reduce the UTF icon(char) size
predragnikolic 199e68c
Use ⧉ and remove text
predragnikolic 3fbf73d
keep source at the end with parentheses
predragnikolic 4e6d21f
move inline style for color: inherit to popups.css
predragnikolic 89f3bab
use single quotes for consistency
predragnikolic 096d29f
use space instead of
predragnikolic 09113ba
revert unnecessary change
predragnikolic 6f9be2e
use pngs, they can be rendered successfully
predragnikolic 87cf18b
adjust based on feedback
predragnikolic b0393ba
Copy -> Copy to clipboard
predragnikolic 226e125
change LspCopyTextCommand to be a WindowCommand
predragnikolic ee173a7
change class names
predragnikolic c0957cb
adjust based on latest feedback
predragnikolic fa851c0
remove font-size: 1rem
predragnikolic 478f64c
remove span
predragnikolic fd2c7e0
add "on_navigate unhandled href"
predragnikolic 5726cd6
inline code
predragnikolic b2791ce
remove line at the end of popups.css
predragnikolic 13be4ea
replace OxaO with a space char
predragnikolic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.