Copy link to clipboard
Copied
Hello, I have noticed that the editor inserts a new line in a different way, depending if you are inisde the <?php ?> tags or not.
If you are inside PHP and you insert a new line pressing ENTER, and the above line is indented, the cursor gets below the first character of the previous line in both cases, but if you are in PHP, the indented spaces are tabs (1 jump every 4 spaces by default), while if you are in HTML or Javascript, it's just spaces all the way to the left border.
Does anyone know how to make it to behave like in PHP even when you are outside the PHP tags?
Copy link to clipboard
Copied
Thread moved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.
I don't think there is any way to change this. Indenting is handled rather inconsistently except in HTML and CSS.
Copy link to clipboard
Copied
Thanks for the reply.I don't understand why you moved the post to this forum
but i'm fine with it.
It's a pity there isn't any option to change this.. i find it very annoying having to delete all the spaces, i like the PHP-editor behaviour better. Ah well just a pet-peeve.
Copy link to clipboard
Copied
The thread was moved to the forum that deals with PHP issues. Posting in the right forum helps everyone. You are more likely to get a quick reply because it will be seen by people with knowledge of the subject. Others looking for answers to similar problems can find the answer more easily. The forum's search feature lets you restrict the search to a specific forum to make it easier to identify relevant answers.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now