Bug 15808 - Completion ignores label syntax
Summary: Completion ignores label syntax
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: Low enhancement
Target Milestone: (C7)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-10-30 04:57 UTC by Marek Safar
Modified: 2016-05-18 17:19 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Marek Safar 2013-10-30 04:57:24 UTC
Completion ignores C# label syntax (cannot be typed easily) and offers no completion for them

http://screencast.com/t/70XtFwh23Oh
Comment 1 Mike Krüger 2013-10-30 05:58:10 UTC
I fixed that the goto label context provides senseless completion.

However ':' is a legitimate completion closing char in too many locations (therefore removing that as closing char will cause more harm than good).

The current completion engine can only parse up to the caret position - changing that isn't trivial. (And goto completion isn't that much important - but giving wrong completion is - but that part is fixed)
Comment 2 Mike Krüger 2015-05-18 03:45:58 UTC
In roslyn the labels are now included in the completion list after goto.
Comment 3 Abhishek 2016-05-18 17:19:07 UTC
I have checked this issue with latest C7 build:
XamarinStudio-6.0.0.5156_6bb41168165682b4ed22a94364bf0cf24e6b1d5c. 

Now this issue is working fine. Here is the screencast for the same: http://www.screencast.com/t/hq88N0AbGg

Hence closing this issue.

Thanks!