Sublime Forum

How to stop ST4 inserting extra tabs?

#1

I need to stop ST4 inserting extra tabs.
Example:
a. Initial state:
image
b. After TAB is pressed one time: actual result:
image
c. After TAB is pressed one time: expected result:
image

The core question: how to stop ST4 inserting extra tabs?
How to disable all the logic of inserting extra tabs?

0 Likes

#2

If you open the console and use sublime.log_command(), what gets logged when you press Tab?

0 Likes

#3

Isn’t it because opening {?

0 Likes

#4
>>> sublime.log_command()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'sublime' has no attribute 'log_command'
0 Likes

#5

He mean sublime.log_commands(True).

0 Likes

#6

Yes, apologies; should be pluralized. Sorry about that.

1 Like