nooogle / CDS.CSharpScripting

Drop-in user control for C# editing with intellisense and compilation. Script compilation and execution classes for GUI and console applications.
MIT License
9 stars 3 forks source link

Support code tips #19

Open nooogle opened 3 years ago

nooogle commented 3 years ago

Tip: all the VS2019 icons can be downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=35825

Tried adding this, so far by setting the Editor.ContextActionsIcon to the VS2019 lightbulb, but the menus that appear aren't the same as in VS2019 or Roslynpad.

image

Need to see how Roslynpad does ths. (https://github.com/aelij/RoslynPad)

Example of something that code tips should help with:

private int z;
public int Z
{
    get { return z; }
    set { z = value;}
}

Code tip should suggest and then perform auto-property:

public int Z { get; set; }

nooogle commented 3 years ago

The bulb help was really inconsistent in V1.0.13 and was commented out. Great to bring it back and make it work, along with the correct code actions support (see issue #26).