8
On grounds of hadware
, I am the only one in my team that is using Sublime Text 3, the others are using Eclipse Luna or Mars, until there is nothing more.
However since the exchange I’ve had some problems in the commit
,
because my achievements have started to get divergent in several lines, and when I go to check what it is, it is only about the spacing tab
.
I have already checked the question of tab-size
, both this with 4, and the encoding
both are with UTF-8
.
There would be some other configuration that could cause this divergence?
I think if that were the case encode
should not cause error in the spacing of the whole aquifer instead of just a few fragments?
Editing
I was checking the commits again and then I found the option, ShowWhiteSpace Characters
in the eclipse.
And in the line in which errors are occurring there is this peculiarity :
As you can see at the end of the line there ¤
, Does anyone know what character this is? And what is it for? It is set when I give enter
in the eclipse.
Confirm if Eclipse is converting spaces to tabs or if it is the sublime that is doing this.
– gmsantos
Prefer to always use spaces instead of
\t
, avoids this kind of problem.– Luis Henrique
Everyone there uses the same S.O?
– rray
@Luishenrique disagree, what has q be done is an alignment of the pattern, regardless of what it is, eclipse for example uses by default tabulation, already the sublime uses by default spaces, so instead of everyone who uses tabulation switching to space it would be interesting to configure the sublime to use tabulation, since it is the only one to use sublime.
– Erlon Charles
@gmsantos no Eclipse
Preferences->General->Editors->Text Editors
the optioninsert space for tabs
this cleared, and inPreferences->PHP->Code Style->Formatter
I’m usingPHP convention
in whichtab policity
=Tab
. In the sublimetranslate_tabs_to_spaces
=false
.– Guilherme Lautert
@Guilhermelautert I do not use either, I only commented conceptually what the problem may be.
– gmsantos