Z
Z
Zakharov Alexander2016-09-15 12:15:14
visual studio
Zakharov Alexander, 2016-09-15 12:15:14

Visual Studio 2015 Extension VSIX. Need to display LightBulb in the source code at the cursor position, not to the left of the line.?

Hello.
Wanted to write a small extension for Visual Studio (2015) with an extra hint in the source text. It is required that when setting the cursor in the text, LightBulb pops up at the cursor position. I took an example from LightBulb as a basis: https://msdn.microsoft.com/en-us/library/dn903708....
In the example, a beautiful screenshot:
6c72af4969154e5a8f344cc0466a6a55.png
But not everything is so simple. After starting the project, LightBulb appears not at all at the cursor position, but ONLY to the left of the line:
12c55fe8803f490eabc6dade690f23a6.png
WTF??? How to set it to the cursor position? (couldn't find such a property)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question