-
Notifications
You must be signed in to change notification settings - Fork 57
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
Inlay Hints: add 'copy inferred type' action #761
base: main
Are you sure you want to change the base?
Conversation
@@ -24,6 +24,7 @@ | |||
<DependentUpon>Strings.resx</DependentUpon> | |||
<DesignTime>True</DesignTime> | |||
</Compile> | |||
<Compile Include="Common\ActionUtils.fs" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not src
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possibly by mistake
open JetBrains.ReSharper.Resources.Shell | ||
open JetBrains.TextControl.DocumentMarkup | ||
|
||
let copyToClipboard text (highlighter: IHighlighter) = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some existing daemon or highlighting related util?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, didn't find anything suitable for us
c0c0ad2
to
ed6d0f9
Compare
It also fixes the problem with the tooltip
Inferred type copied to clipboard
anchor since previously there was used a wrong highlighter key forGetFilteredHighlighters
. Now it shows a tooltip with the correct offset.