Quantcast
Channel: Planet Plone - Where Developers And Integrators Write
Viewing all articles
Browse latest Browse all 3535

Victor Fernandez de Alba: Refreshing folders in SublimeText2

$
0
0

Situation: You open a project in SublimeText2 with lots of files (e.g a buildout folder). At some point, ST2 stops showing you the contents of a folder (probably because of the lots of files it has to handle).

You’ve been there, I’ve been there. And it sucks.

The common solution is to use the “Project” menu “refresh folders” option or if you have the SideBarEnhancements plugin, use the “Refresh” option of the contextual menu.

Another option, you can set a new key binding to the refresh command like:


    [
    { "keys": ["super+shift+r"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
    { "keys": ["super+r"],
        "command": "refresh_folder_list" ,
        "args":{"paths":[], "type":"testing"}
    }
]

I’ve set the “super+r” to the binding as is the same when you refresh a browser, and remapping the original bind to other. Set it to your liking.


Viewing all articles
Browse latest Browse all 3535

Trending Articles