Archive for category Productivity

ConEmu – split setup for Node.js

I’m a big fan of ConEmu. I’ve recently starting making use of the split console capability, as shown below

ConEmu Split Screen

Getting the split screen is easy, you just have to select the option in the new console window dialog

ConEmu New Console Dialog

Here’s the triple split that I typically use for Node.js development:

ConEmu Triple Split

What I really want though is my split screen setup in one easy step. Fortunately that’s possible with little effort through some additional commands in ConEmu’s Tasks option. What I did was created a new task called Node.js with the following options:

ConEmu Task Setup

Explanation:

  • Node.js – this is just the task name
  • Commands
    • The > before powershell.exe means that I want this console to be the active one when I start the task
    • powershell.exe is listed three times, delimited by empty lines, this means I want powershell to open 3 times
    • The second powershell.exe has the option -cur_console:as30H, meaning that I want it to be a horizontal split at the size of 30%
    • The third powershell.exe has the option -cur_console:as30V, meaning that I want it to be a vertical split at the size of 30%. Since this comes after the second command, it will be split under the second console, as shown in the screenshot above
    • Additional option: -noexit -command “$host.UI.RawUI.WindowTitle=’NodeJS'” means that I want to set the title of the tab to NodeJS

Now I can get my triple split setup just by selecting the new task:

ConEmu New Console Dialog - NodeJS

Hopefully this is useful to someone else. 🙂

 

1 Comment

My Visual Studio 2010 Theme

Based upon WekeRoad from http://studiostyles.info/schemes/wekeroad-ink, but with some modifications because there where some color selections that made the text difficult to read.

Download the theme:  codereflection-vs2010-theme

Leave a comment

Minimizing friction in Visual Studio

Something that is very important to me is minimizing friction so that I can code as fast or slow as I can think think about a problem.  A big part of this is having a decent computer, but there are also things that you can do with a vanilla Visual Studio install to help minimize the friction you’ll face while writing code.

1) Turn off all the toolbars

2) Disable the HTML designer

3) Install TestDriven.NET

4) Re-map F5 to launch a file in Notepad that simply says "What the hell are you doing?!"  F5 is just slowing you down

5) Turn off window animations

6) Closing the XAML preview

7) Closing all windows except Solution Explorer, Output, and Errors

8) CodeRush / Refactor Pro – turn off all GUI improvements

Leave a comment