MonoDevelop.MSBuildEditor icon indicating copy to clipboard operation
MonoDevelop.MSBuildEditor copied to clipboard

Completion behavior if the word is already in the editor

Open KirillOsenkov opened this issue 2 years ago • 1 comments

If the caret is not at the end of the word, it completes the remainder of the word (unlike C#): image

Not sure if this is the desired behavior.

Maybe if there's a single completion, and the word in the editor around the trigger point matches the completion exactly, the completion shouldn't show but the caret should move to the end of the word? This is how C# works.

KirillOsenkov avatar May 07 '24 19:05 KirillOsenkov

Yes, the trigger logic for MSBuild expressions doesn't yet readahead to calculate the full extent of the trigger location.

mhutch avatar May 07 '24 19:05 mhutch