Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime text 3 increase tab height

Tags:

sublimetext3

enter image description here

Does anyone know how to increase the tab height on sublime text 3? Im using the dark soda theme. Was able to do this on sublime text 2 in one of the themes files but can't seem to work it out on 3. Any ideas?

like image 256
Adam Avatar asked Mar 29 '14 01:03

Adam


People also ask

How do I change the tab size in Sublime Text 3?

To configure the tab width in Sublime Text 3, click on “View” in the top bar, then click on “Indentation” in the drop-down list. Next, in the second level of the drop-down list select the width you want a tab to take up. Sublime Text 3 defaults to tabs being four spaces wide.

How do you change the indentation in Sublime Text 3?

Just Ctrl+Shift+P (or Command+Shift+P on MacOS) to open the tools pallet, type reindent , and pick Indentation: Reindent Lines . It should reindent all the file you are in, just remember to save before running the command, or it may not appear.

What are the indentation options available in the sublime text editor?

Changing default indentation settingstranslateTabsToSpaces: set to either 'true' or 'false'. If true, then when tab is pressed, an equivalent number of spaces will be inserted into the buffer instead. Defaults to false. tabSize: controls the visual width of tabs.


2 Answers

In the Default.sublime-theme file do a search for height. You will find a field that displays "tab_height": 35, and change that value to your desired tab height.

In Sublime Text 3, the easiest way to find the file is use Package Control and install the Package​Resource​Viewer plugin to search for the Default.sublime-theme file.

Actual format to be used:

[
    {
        // Tabs
        "class": "tabset_control",
        "tab_height": 35,
    },
]
like image 118
wigging Avatar answered Nov 16 '22 03:11

wigging


Adding more details here:

You can add this to your Default.sublime-theme or {customtheme}.sublime-theme file

[
    {
        // Tabs
        "class": "tabset_control",
        "tab_height": 80,
    },
]
like image 30
Alireza Avatar answered Nov 16 '22 02:11

Alireza