Bug 14634 - No completion for numeric literals
Summary: No completion for numeric literals
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-09-11 04:07 UTC by Lopatkin Ilja
Modified: 2014-01-23 10:25 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 Lopatkin Ilja 2013-09-11 04:07:53 UTC
namespace Foo {
    public static class FooExtensions {
        static int ObjectExtension(this object value) {
            return 0;
        }

        static int IntExtension(this int value) {
            return 0;
        }
    }

    public class Client {
        public void Method() {
            0. <------- Here
        }
    }
}

I guess completion should be triggered after typing "0." because I have some extensions methods which are perfectly valid to call in this context.
Comment 1 Mike Krüger 2013-09-12 04:03:52 UTC
implemented.

The original idea was not to turn completion on double literals - but we've suggestion mode for such cases now.
Comment 2 Lopatkin Ilja 2013-09-12 04:13:59 UTC
Hm, didn't thought of doubles. :)
Thanks.
Comment 3 Sadik Ali 2014-01-23 10:25:28 UTC
I have checked this issue, I am getting completion is triggered after typing '0.', 
Refer screencast: http://www.screencast.com/t/zGaagaEPz4IQ

Environment info:
Xamarin Studio
Version 4.2.3 (build 154)
Build Information
Release ID: 402030154
Git revision: 4dca4a28d7ecc2c4df8a4d58e74b8902d0283b53
Xamarin addins: cc120a6f639fa6649aa4d23a0f0e7c5701134047

XA 4.13.0.36

Xamarin.iOS
Version: 7.0.7.64 
Hash: 094bb4e