You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
If I type following expression: new[] { 1 }.First(s
and then press =, button, I see following: new[] { 1 }.First(sbyte=
while in Visual Studio I see
'new[] { 1 }.First(s='
this is because after typing s, item in completion list is selected (in blue), while in VS it is just highlighted with blue border.
Is it something that is possible to fix? Or should be reported to avalon edit?
The text was updated successfully, but these errors were encountered:
Thanks for the feedback. The auto-completion feature of DotNetPad is not that sophisticated than the one of Visual Studio. I know of more similar issues like this one.
Improving the auto-completion feature is much effort so it won't happen soon.
And did you already think how to improve it? Can this be done without changing AvalonEdit? If I know more or less what to do, I can try to do it myself and make PR.
Please note that I do not accept contributions (e.g. PR.) at this time. See CONTRIBUTING.md.
I'm not yet sure how to improve it. But my best guess would be to review the Roslyn API calls.
Ok, in case you want to fix it in the future, this is what I've found:
you need to check if CompletionList.SuggestionModeItem is not null, and switch to "suggestion" mode in this case.
Hello.
If I type following expression:
new[] { 1 }.First(s
and then press =, button, I see following:
new[] { 1 }.First(sbyte=
while in Visual Studio I see
'new[] { 1 }.First(s='
this is because after typing s, item in completion list is selected (in blue), while in VS it is just highlighted with blue border.
Is it something that is possible to fix? Or should be reported to avalon edit?
The text was updated successfully, but these errors were encountered: