• Jan : 31 : 2011 - Forbin pretium quam quis lacus eleifend ultricies
  • Jan : 31 : 2011 - Aenean vehicula congue nisi rhoncus tempor neque interdum vitae
  • Jan : 31 : 2011 - Integer nec libero urnanisl sed vestibulum
  • Jan : 31 : 2011 - Suspendisse cursus hendrerit metus et luctu
  • Jan : 31 : 2011 - Nam ullamcorper iaculis erat eget suscipit.

Featured articles

Etiam tincidunt lobortis massa et tincidunt. Vivamus commodo feugiat turpis, in pulvinar felis elementum vel. Vivamus mollis tempus odio, ac imperdiet enim adipiscing non. Nunc Read More ...

Proin ac leo eget nibh interdum egestas? Aliquam vel dolor vitae dui tempor sollicitudin! Integer sollicitudin, justo non posuere condimentum, mauris libero imperdiet urna, a Read More ...

Etiam ultrices felis sed ante tincidunt pharetra. Morbi sit amet orci at lorem tincidunt viverra. Donec varius posuere leo et iaculis. Pellentesque ultricies, ante at Read More ...

Showing posts with label VS. Show all posts
Showing posts with label VS. Show all posts

Do you hate editing text or code in Visual Studio's default text editor?  I know I do.  I was looking for a way to use Sublime Text 2 inside of VS2013 and, while I couldn't find a way to do that, I did find a way to open a file from VS in Sublime with the same cursor location in both editors.


This is something my buddy, Jason Meisel, showed me:
Visual Studio 2013's External Tools Dialog [Tools->External Tools...]


The last step after this was adding a keyboard shortcut, to quickly launch my external tool (Open in Sublime):


Visual Studio 2013's Keyboard Options Dialog [Options...->Environment->Keyboard]

The Tools.ExternalCommand# corresponds to the External Tools menu contents dialog and can be configured to launch on a keyboard shortcut.

Now, whenever I'm coding in Visual Studio--using their amazing intellisence--and need to do some mass text editing, I press Shift+Space to open up a Sublime Text 2 window at the same location I was editing in Visual Studio.

Pretty neat!

Resources:

Sublime Text - Command Line: http://www.sublimetext.com/docs/command-line
Managing External Tools in VS: http://msdn.microsoft.com/en-us/library/76712d27.aspx
Arguments for External Tools in VS: http://msdn.microsoft.com/en-us/library/ekbzk5f8.aspx