Results 1 to 2 of 2

Thread: automatically add a close } when { is typed?

  1. #1
    .NET Framework
    .NET 3.0
    Join Date
    May 2018
    Posts
    3
    Rep Power
    0

    automatically add a close } when { is typed?

    So I'm creating a few properties such as:

    public string MyName
    {

    Why when I type that { isn't a } placed for me automatically? It's crazy that I have to enter enter } and then up arrow to code.

    Neal
    Administrator, C# Forums

  2. #2
    .NET Framework
    .NET 4.5
    Join Date
    Apr 2011
    Location
    Norway
    Posts
    426
    Rep Power
    108
    See that 'Automatic brace completion' is checked in Options > Text Editor > C# > General.
    [xcode=c#] code here [/xcode] - see bbcode list or use formatting buttons in posting editor.

    Visual Studio Community 2017

Similar Threads

  1. So close: how to add this child node to a treeview?
    By tryingtolearn in forum Windows Forms
    Replies: 2
    Last Post: 04-27-2018, 8:39 PM
  2. Question Make a batch close to real time
    By vandasdelca in forum C# General Discussion
    Replies: 0
    Last Post: 06-27-2016, 8:27 PM
  3. Add to ListView
    By inkedGFX in forum Listviews / Treeviews
    Replies: 3
    Last Post: 11-04-2013, 5:53 AM
  4. Question Why doesn't C# automatically add a close } when { is typed?
    By Neal in forum C# General Discussion
    Replies: 8
    Last Post: 01-25-2012, 3:34 AM
  5. Replies: 0
    Last Post: 10-25-2011, 9:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •