Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to disable Auto-indentation?

Discussion in 'Scripting' started by IchBinJager, Jan 26, 2015.

  1. IchBinJager

    IchBinJager

    Joined:
    Dec 23, 2014
    Posts:
    127
    How can I disable auto-indentations if it's possible? It keeps doing it every time and it's really annoying. I would rather just doing it myself manually than the machine doing it and making everything look crooked and all that.
     
  2. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Do you mean the auto indentation in MonoDevelop?
     
  3. IchBinJager

    IchBinJager

    Joined:
    Dec 23, 2014
    Posts:
    127
    I guess?
     
  4. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,498
    When Mono loses its mind (frequently) and over-indents entire functions or blocks, immediately after it does it, you can press Ctrl-Z and it will undo JUST the excessive indentation. I keep waiting for this bug to be fixed but it's been around well over a year now. :/
     
  6. AussieSwissDave

    AussieSwissDave

    Joined:
    Apr 20, 2013
    Posts:
    97
    This is what I used to do too, but now with Unity 5.3 the CTRL-Z undoes both the excessive indentation AND whatever you typed, leaving you back at square one.

    I find it literally impossible to use now. What incompetence to have such a feature.