How to refresh Sublime Text 3 workspace color schemes?

前端 未结 3 2030
清酒与你
清酒与你 2021-02-14 17:09

When you save a project, Sublime Text will create a .sublime-workspace file. In this file, there is an array of buffers, and for each buffer there is a color_scheme property. Th

3条回答
  •  广开言路
    2021-02-14 17:54

    The only way I found to reset tabs to user's chosen color scheme is to enter this in the console :

    view.settings().erase("color_scheme")
    

    This will reset the color scheme of the selected tab - unfortunately you'll have to do it for each tab. But it's still quicker than closing and reopening the tab.

    I only have this issue with Sublime Text 3 on Mac OS X.

    Source : https://www.sublimetext.com/forum/viewtopic.php?f=3&t=19310

    P.S. : If you've just updated your color scheme file, you'll sometimes have to execute this command twice. Just type the up arrow in the console to write the last command again.

提交回复
热议问题