Results 1 to 2 of 2

Thread: Changing from V2013 Automatic Formatting

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2011
    Posts
    76

    Angry Changing from V2013 Automatic Formatting

    I have just bought a new laptop (Dell XPS 17 at huge expense - no quicker than my 7 year old HP Envy which sadly is losing its mind) and decided to change from V2013 to V2019.

    After the initial 189 warnings (yes really) I finally got it all working but was horrified to see that my entire layout had been reformatted - very annoying

    Anyway after the usual searching I solved the problem and now decide the layout rather than somebody 3,000 miles away

    Tools --> Options --> Text Editor --> Basic --> Advanced --> Editor Help (on the RHS) --> Pretty Listing TURN IT OFF

    [Edit: You can stop it forcing you to use compound structures eg intT *= 100 instead of intT = intT * 100 by using the suggested solutions and choosing to change the rule]

    And I really do NOT want to edit the .editorconfig file ... not that I would know how to or even where it is ...

    [Edit Again: Well, to stop it insisting I use Upper case titles I finally had to edit ".editorconfig" which sits in the directory that your project resides in. Open it with Notepad (or a non formatting equivalent) and add the final couple of lines

    Code:
    # IDE0054: Use compound assignment
    dotnet_diagnostic.IDE0054.severity = none
    
    # IDE1006: Naming rule violation
    dotnet_diagnostic.IDE1006.severity = none
    
    # Defining the `first_word_upper_case_style` naming style
    dotnet_naming_style.first_word_upper_case_style.capitalization = none
    This has solved my problem, thank goodness


    Hope this helps somebody
    Bob
    .
    Last edited by wavering; Apr 28th, 2021 at 05:39 AM.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    23,971

    Re: Changing from V2013 Automatic Formatting

    This belongs in a specialist forum. It's not a VB General question

    I've notified a moderator, who will move this thread

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width