Reputation: 79
By default when I open file it looks as follows:
And I want always unfold when I open a file
Is there any keybinding exist that can unfold everything automatically not require any command from keyboar ? Thank you !
Upvotes: 0
Views: 537
Reputation: 102892
If you last saved a file while it was folded, Sublime will remember that. Select Edit -> Code Folding -> Unfold All
, make a small change like adding then deleting a space, then resave the file. It will open unfolded next time.
Also, as a point of style, please use 4 spaces for indentation. Using 1 space, it's almost impossible to differentiate the various indentation levels. 2 spaces is almost as bad. With a Python file open, select Preferences -> Settings-More -> Syntax-Specific - User
and add the following:
{
"tab_size": 4,
"translate_tabs_to_spaces": true
}
Upvotes: 1