Sublime Forum

PHP tab creating odd characters

#1

Version 3.1.1, Build 3176. A tab before -> inserts a hyphen and underscore, instead of a tab. It doesn’t matter if tabs are spaces or not. This never happened in any previous version.

Example:

$result = $obj
[TAB]->method();

Results in:

$result = $obj
-_->method();

0 Likes

#2

this isn’t new AFAIK, pressing Tab at the start of a line, by default does a “insert best completion”, instead of “indent”, but it’s possible to fix it:


0 Likes