Boo
  1. Boo
  2. BOO-322

Attack of the missing members in code completion!

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: #develop addin
    • Labels:
      None
    • Number of attachments :
      0

      Description

      BooBinding appears not to correctly parse and display certain members of primitives.

      The following code-slice produces identical output as if z were an object rather than an integer.

      (1 as int). <---code completion invoked.

      Standard members such as int.parse, int.MaxValue, int.MinValue, the typical stuff, are missing.

      So far I have only noticed this behavior exhibited in primitive types like int, decimel, etc.

        Activity

        Hide
        Daniel Grunwald added a comment -

        int.Parse, int.MaxValue, int.MinValue are static; so they shouldn't be called on 'instances' of int.
        Instance members of int (CompareTo) work fine for me.

        Show
        Daniel Grunwald added a comment - int.Parse, int.MaxValue, int.MinValue are static; so they shouldn't be called on 'instances' of int. Instance members of int (CompareTo) work fine for me.
        Hide
        Arron Washington added a comment -

        The irony is, I used to know that sort of thing off the top of my head.

        Entirely my fault; thanks.

        Show
        Arron Washington added a comment - The irony is, I used to know that sort of thing off the top of my head. Entirely my fault; thanks.
        Hide
        Rodrigo B. de Oliveira added a comment -

        Another related issue is that "as" should only be used with reference types.

        Show
        Rodrigo B. de Oliveira added a comment - Another related issue is that "as" should only be used with reference types.
        Hide
        Arron Washington added a comment -

        I know.

        I only did it for instant code completion - using (var as object) brings up instanteous code completion, where as if I do something like,

        var = 1
        var. ....

        code completion won't activate if I just typed those lines a few moments ago, so its often used as a technique to quickly get the members of a varaible type.

        Crucify me why don't you.

        Show
        Arron Washington added a comment - I know. I only did it for instant code completion - using (var as object) brings up instanteous code completion, where as if I do something like, var = 1 var. .... code completion won't activate if I just typed those lines a few moments ago, so its often used as a technique to quickly get the members of a varaible type. Crucify me why don't you.

          People

          • Assignee:
            Unassigned
            Reporter:
            Arron Washington
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: