Search Unity

Visual Studio private autocompletes to SerializePrivateVariables when i hit space

Discussion in 'General Discussion' started by Hayden-S, Nov 20, 2018.

  1. Hayden-S

    Hayden-S

    Joined:
    Jun 13, 2013
    Posts:
    3
    I have just started using Visual Studio for the first time, after using Monodevelop for a while. I just want to be able to type 'private' without it always autocorrecting to SerializePrivateVariables. Any ideas? Is there a library I can add to or change?

    Please help!
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,779
    If you start typing PRI then it should automatically suggest private, as it is starting with this letters.
    Then hit Enter, not arrow down.
    upload_2018-11-20_12-39-25.png
     
  3. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    5,358
    he is probably inside a scope were private is not valid, for example a method
     
    Antypodish likes this.