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

Inlay Hints: add 'copy inferred type' action #761

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

DedSec256
Copy link
Contributor

image

It also fixes the problem with the tooltip Inferred type copied to clipboard anchor since previously there was used a wrong highlighter key for GetFilteredHighlighters. Now it shows a tooltip with the correct offset.

image

@DedSec256 DedSec256 marked this pull request as draft November 13, 2024 19:50
@DedSec256 DedSec256 marked this pull request as ready for review November 13, 2024 19:59
@@ -24,6 +24,7 @@
<DependentUpon>Strings.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="Common\ActionUtils.fs" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not src?

Copy link
Contributor Author

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) =
Copy link
Member

@auduchinok auduchinok Dec 4, 2024

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?

Copy link
Contributor Author

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

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.

2 participants