Mark HurdMark Hurd

My feedback

  1. 1 vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      2 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      Mark HurdMark Hurd commented  · 

      I like the idea in general, but would you expect UpdatePhoneErrorResults.InvalidNumber == UpdateEmailErrorResults.InvalidEmail?

    • 34 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        1 comment  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
        Mark HurdMark Hurd supported this idea  · 
      • 155 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          4 comments  ·  Visual Studio IDE » Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
          Mark HurdMark Hurd supported this idea  · 
          Mark HurdMark Hurd commented  · 

          A further extension to the same idea:
          Suppose you had a Partial Class implementing the interface, then it could make sense to have:

          Public Sub MyClass.Bar() Implements IFace.Foo

          BTW I've copied the "Public" from the existing example. I'd guess the best option here would be nothing or Partial to signify Bar must or doesn't have to exist respectively. (I assume the former to be the case.)

        • 1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            1 comment  ·  Visual Studio IDE » Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
            Mark HurdMark Hurd commented  · 

            In the current IDE, you can set properties of multiple controls at once by Ctrl+Clicking them to select the multiple controls at once, then whatever properties you change will be changed for all selected controls, and unchanged properties will remain distinct.

          • 1 vote
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              1 comment  ·  Visual Studio IDE » User Interface  ·  Flag idea as inappropriate…  ·  Admin →
              Mark HurdMark Hurd commented  · 

              Before you delete the bracket, type Ctrl+[, but it doesn't work in #Ifed out code :-(. It does work in general text files though (good for editing lisp files in Visual Studio when you don't have a good lisp editor available).

            • 2 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                Mark HurdMark Hurd supported this idea  · 
              • 15 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  2 comments  ·  Visual Studio IDE » Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                  Hey Chris,

                  Excellent suggestion! When we introduced implicit line-continuation in VB2010 it was a very painful restriction that we had to leave in due to technical and schedule constrains that comments weren’t allowed after them. Happily, thanks to the improved parser architecture we use in Roslyn (a future version of VB/C#) we will be able to support it one day. In fact, in the Roslyn compilers comments are already supported after implicit line-continuation so I can write this:

                  ’ Comment here

                  Private _SomeField As String

                  After we got that working it seemed reasonable to lift the restriction on normal, explicit line-continuation as well though we haven’t yet done so.

                  While we do not currently have plans to address this issue in the next release of Visual Studio, we are reviewing suggestions now for future versions of VB in and beyond the Roslyn time-frame. We have not determined when that will…

                  Mark HurdMark Hurd supported this idea  · 
                • 342 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    14 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                    Mark HurdMark Hurd supported this idea  · 
                    Mark HurdMark Hurd commented  · 

                    I think this is a good idea, but it must separately allow/deny single line comments, multi-line comments, XML comments, and, importantly, #IFed out code.

                  Feedback and Knowledge Base