0121 31 45 374
Qoute Icon

Quick pro tip - Open File in Sublime from Visual Studio

Tim

sublime-text-2This is one of those really simple little gems that helps productivity ten-fold. Firstly, regardless of whether you're running a PC, Mac or Linux, if you've not already come across Sublime Text 2 you should go download it right now.

There are a ton of amazing features in Sublime (enough to warrant an talk by Dan Kendall no less), some of them are available in Visual Studio but none are quite as rich. Things like the multi-selection/multi-cursor feature are just awesome for quickly making the same changes in multiple places, not to mention the "select this word throughout the document" shortcut which has saved me hours already.

So what's my quick tip?

Rather than copying/pasting the path in the open dialog each time you want to edit the file, Dan pointed out to me the other day that you can easily wire it up as an external tool and then add a shortcut so you can open the current file in a flash.

Here's a step-by-step guide:

7B3A4FE1-C8AB-43AC-96D3-353B3A6753AE

DCE35C2C-D18D-4498-BA4A-B76B1F8299E9

Optional Additional Enhancement

You can wire up a keyboard shortcut for extra speed, again under the "Tools" menu, go to "Options" and then "Keyboard" (under "Environment"):

ED2789BC-6B50-4AFA-A477-3C27AEDD576D

ED2789BC-6B50-4AFA-A477-3C27AEDD576D-sm

2DEAB140-EA74-4FA9-BD80-21970F22CAF5

Thanks Dan for the heads up on this one.

Liked this post? Got a suggestion? Leave a comment