---
title: "Turn off auto indentation in Cloud IDE"
date: "2022-01-28T00:27:56+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92796-turn-auto-indentation-cloud-ide"
id: "b5f9d56b-eefc-4e64-9080-1ce5fb896926"
---

Table of contents will be added

​**Issue**
----------

When using Cloud IDE, you'll face issue when editing PHP files because of the auto-formatting that occurs when you begin writing PHP code. The auto-formatting will often indent lines and break up PHP code further down in the file and cause issues, and you have to undo these changes.

**Resolution**
--------------

You can turn-off this auto indentation feature under **Settings** > **Preferences** > **Editor** > **Auto Indent**.   
  

![Settings menu for a code editor, highlighting the "Auto Indent" option set to "none" in a dropdown menu.](https://acquia.widen.net/content/24509a2f-44ff-4b19-94b2-966e267a9232/web/ka06g000001tvcP00N6g00000VCdgi0EM6g000002W0qv.png)

  
 

Set it to none and then save your changes, using the method based on your operating system:

> macOS: Press Command+S.  
> Windows: Press Control+S.  
> Linux: Press Control+S.

The preferences are usually apparent immediately. If not, then please close the IDE and start it again.

​Resources
----------

*   [Settings and preferences](/node/55972)