Open
Description
I'm on day one of using OmniSharp but once I got it running in Spacemacs (via omnisharp-emacs), the result of a refactor (omnisharp-run-code-action-refactoring
) was not what I was expecting.
Given this:
public class MyType
{
public string Name { get; set; }
}
var a = new MyType
{
Name = "Talula",
NewField = 1234 // <- Refactor create property
};
I was expecting:
public class MyType
{
public string Name { get; set; }
int NewField { get; set; }
}
var a = new MyType
{
Name = "Talula",
NewField = 1234
};
But what I got was:
public class MyType
{
public string Name { get; set; }
}
int NewField
{
get;
set;
}
var a = new MyType
{
Name = "Talula",
NewField = 1234
};
Metadata
Metadata
Assignees
Labels
No labels
Activity