Off Topic Disabling automatic tab in Sublime Text 3 Disabling automatic tab in Sublime Text 3
4 replies Currently, I am using using Sublime Text 3 editor tool to code mostly simple scripts in Lua and I notice whenever I press Enter to go in the new line it tabs by itself. I'd rather want to tab the code by myself instead to do it automatically.
I've searched some things about it in Google, though not best results for me. Any thoughts? Sublime Text 3 will automatically tab the code according to the language you are using. Sublime Text 3 is not an IDE, but tries to deliver as much as it can of what a normal IDE does. If you don't like the tabbing Sublime Text 3 does, well something is wrong with your code as it will never be tabbed wrong with the default languages Sublime Text 3 comes with.
Now, this for the Lua plugin is sadly not correct. Sublime Text 3 fails to deliver when it comes to Lua. So sadly we have to disable the autocomplete for everything just because the plugin author did something wrong. To do that, open your user settings and put the following into the table and save it:
Note, this will disable auto complete for everything. So if you're working with a php file and you want Sublime Text 3 to auto complete, do tabs and stuff like that, you'll have to set auto_complete to true manually. There is no quick key code to do this, but it is possible to assign custom functions to keys in Sublime Text 3. But you can puzzle that out yourself @ Yates: That does not disable auto-indent, only auto-complete for functions and keywords.
To disable auto-indent, you have to go into Preferences -> Settings (User) and add this line:
As soon as you save the file, the changes will take effect. Dang it. When I was searching about it, there was a little documentation named "Indentation Settings" or such. Still couldn't understand what's exactly all about. Anyways thank you for the help now I got the point. @ EngiN33R: Oe! Must have missed that when going through the docs My bad.