April 21, 2015

Breakpoint on AutoProperty


Using Visual Studio 2008, 2010, 2012, 2013:
  1. Go to the Breakpoint window
  2. New->Break at Function…
  3. For the get, type: ClassName.get_Counter()
   For the set, type: ClassName.set_Counter(int)
You'll get a "No Source Available" when the breakpoint is hit, but you'll get the calling location in the call stack.

Source: 

April 4, 2015

ReSharper default keymap for IntelliJ IDEA


I'm familiar with default ReSharper keymap in Visual Studio. There is no default possibility to use this keymap in IntelliJ Idea. There is Visual Studio keymap, but it is default Visual Studio settings keymap. Luckily I'm not the first who is looking for this so here is the solution:

  1. Download keymap from Github 
  2. Choose File/Import settings

And, voila Ctrl + T, Ctrl + Alt + F, Shift + F12 work as expected.

July 17, 2014

Fix Incorrect Clock Settings in Windows When Dual-Booting with OS X or Linux

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v "RealTimeIsUniversal" /t "REG_DWORD" /d "1"

Credit: Fix Incorrect Clock Settings in Windows When Dual-Booting with OS X or Linux

Disable display scaling on high DPI settings for Visual Studio 2013

reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" /t REG_SZ /d "~ HIGHDPIAWARE"

Credit: Ian Boyd
Source: Superuser