Visual Studio IDE

Announcement: Last fall, we migrated this forum to Visual Studio Developer Community to provide you one convenient and responsive system for all feedback. As the final step in the migration, this forum will be closed off completely on June 1st, 2019. We encourage you to visit Visual Studio Developer Community where you can now suggest new ideas, browse and vote on existing ideas, and engage with Visual Studio teams.

We’d like your suggestions and ideas to help us continuously improve future releases of Visual Studio, so we’ve partnered with UserVoice, a third-party service, to collect your feedback. Please do not send any novel or patentable ideas, copyrighted materials, samples or demos for which you do not want to grant a license to Microsoft.

This site is for feature suggestions; if you need to file a bug, you can visit our Developer Community website to get started.

Note: your use of the portal and your submission is subject to the UserVoice Terms of Service & Privacy Policy and license terms.

We look forward to hearing from you!
- The Visual Studio Team

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Solve the IF snippet problem in VB.Net

    If you are writting your code and have this:

    If property = 1

    And press Tab key, the snippet writes this:

    If property = 1 Then
    [focus here]
    End If
    Then

    As you can see the snippet writes another Then O_o

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
    - The Visual Studio Team

  2. Remove Wend, Variant, Endif, Gosub from the list of VB reserved words.

    Now that these statements are no longer supported, the case for them continuing to clutter the list of reserved words is weak. It's at least possible that someone might like to use "variant" or "wend" as a variable name.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  3. Add a way to "inherit" sealed classes

    At this moment we can extend classes using:
    - inheritance (only unsealed classes)
    - extension methods

    But for sealed classes we cannot add fields or properties, and we can not shadow existing methods (I know that it is not possible to override methods in a sealed class).

    So it should be nice to have a "shadow" inheritance to make it possible to extend a sealed class.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  4. Have a different type of comment that "strikes out" code (puts a line through it).

    Have a different type of comment that "strikes out" code or comments (puts a line through it). We could use the backtick instead of the apostrophe.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we havenÕt acted on it. Looking at the VS Ò15Ó plans, weÕre not going to take action on this item, so weÕre going to close it. If the suggestion is still relevant, please either take a look to see if thereÕs another suggestion thatÕs similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  5. Make End *** optional

    It would be great to make End *** (i.e. End Sub, End For, etc) optional. VB would be using the indenting to determine the end of a scope like F#. This would probably require to set a new option for backward compatibility (like "Option UseIndentForScope") but it would make the syntax so much lighter.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  6. Populating an array in a simple way with a single value

    Probably there is already a way to do what I'm asking for. But I've not found!

    Actual style:

    Dim myVector(10) As Int32

    For aa = 0 To myVector.Length - 1
    myVector(aa) = -1
    Next

    Proposed style:
    myVector(all) = -1

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  7. Introduce new keyword for declaring a variable within scope.

    I would like to see a new keyword in VB.Net that declares an variable within a scop. It should be available only to types that implement the IDisposable interface, and shoul behave the same way as then Using statetment.

    Something like this.

    Public Sub Foo
    Scope Bar as New SomeThingThatIsIDisposable

    If Something
    Scope Fizz as New SomethingElseThatIsIDisposabble

    'Dispose on Fizz will be called here.
    End If

    'Dispose on Bar will be called her.
    End Sub

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  8. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  9. 3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  10. Make a managed class containing all APIs declarations

    Instead of "Pinvoking" each time the functions

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  11. Add Range and Between trinary operators

    After my C# idea, I would like to suggest similar Range and Between ternary operators for the VB.net also:
    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2591768-add-range-operator
    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2591770-add-between-operator

    Using of Range and Between operators:
    Dim b As Boolean
    b = 5 In 5 To 9 'True
    b = 5 In 5 >< 9 'False

    Why would useful these ternary operators?
    The Range and Between operations are used very often but their present usage is not safe:
    b = X >= 5 And X <= 9
    b = X > 5 And X < 9

    In both cases, the variable X is used twice what is not safe. …

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  12. Add a Try Again into the try catch structure. Try <some code> Catch (ex as exception) (the code to fix the error if possible Try Again) Fin

    Add a Try Again into the try catch structure.
    Try
    <some code>
    Catch (ex as exception)
    if exception = bad file name then get new filename
    try again
    finally
    close the file
    end try

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  13. Return Value within IIF (IIF(x =0, Return True, Return False)

    Would be nice, when it would be possible to write a single line, instead of a multiline Code.
    Example:

    Public ReadOnly Property HasErrors As Boolean
    Get
    If myErrorList.Count = 0 Then
    Return False
    Else
    Return True
    End If

    End Get
    End Property

    Would be more readalbe, when it Comes to:

    Public ReadOnly Property HasErrors As Boolean
    Get
    IIf(myErrorList.Count = 0, Return True, Return False)
    End Get
    End Property

    THX

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
  14. Visual Studio Lightswitch Cosmopolitan Theme

    It would be really nice to create Cosmopolitan theme for Lightswitch in Visual Basic

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
    - The Visual Studio Team

  15. VB slices support

    I agree with the idea of Chris M. from C#:
    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2213037-c-slices-support

    Dim List() As Integer = {1, 3, 3, 7, 8, 9}
    Dim Slice() = List(1 To 3)

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  16. textbox control with all the facility like it accept enter key , only number , only character , only date, auto select

    textbox control with all the facility like it accept enter key , only number , only character , only date, auto select

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.

    - The Visual Studio Team

  17. Parallel block statement

    Parallel
        Task
            myLongTimeFunc1()
        Task
            myLongTimeFunc2()
        Task
            myLongTimeFunc3()
    End Parallel
    MessageBox.Show("All tasks are executed.")

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
    - The Visual Studio Team

  18. Add F# style pipelining to VB

    Dim F as new List(of Integer)
    F => function(u) u.ToString() => Join(vbNewLine)

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
    - The Visual Studio Team

  19. Double click on a control should show code from event handlers already written for that control (possibly in alphabetical order)

    Example: if I double-click on a DataGridView I always get a Sub for handling the CellContentClick even if I didn't write code for that event and maybe I have 10 subs for handling other DataGridView events for the same DataGridView

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
    - The Visual Studio Team

  20. Enable/Disable Unchecked Integer Arithmetic within the same Assembly

    Right now, the only option in VB is to go all-or-nothing via the advanced compiler option "Remove integer overflow checks".

    One way to achieve this could be to add an Option statement,

    Option Unchecked [On/Off]

    If the Option is present, follow its setting, otherwise default to the compiler setting (/removeintchecks). The Option applies only within its own *.vb file (like any other Option).

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

Feedback and Knowledge Base