context.InputElements
.OfType<GeneratorDeclaredElement>()
.Where(element => element.DeclaredElement is IOverridableMember)
Caret is inside Where(), I want to select ".Where(..)" to remove it. With extension methods this is critical. It should also be able to select not just tail, but any chain element inside.
I think order should be as follows:
1. Argument list selected
2. Method name + argument list selected
3. Tail method chain selected
4. Entire chain selected
Items 2 and 3 are missing currently.
Description
context.InputElements
.OfType<GeneratorDeclaredElement>()
.Where(element => element.DeclaredElement is IOverridableMember)
Caret is inside Where(), I want to select ".Where(..)" to remove it. With extension methods this is critical. It should also be able to select not just tail, but any chain element inside.
I think order should be as follows:
1. Argument list selected
2. Method name + argument list selected
3. Tail method chain selected
4. Entire chain selected
Items 2 and 3 are missing currently.
right-to-left and left-to-right selections cannot coexist simultaneously