Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/jellycan/public_html/_code.jellycan.com/framework/initialize.php on line 33

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/jellycan/public_html/_code.jellycan.com/framework/initialize.php:33) in /home/jellycan/public_html/_code.jellycan.com/framework/initialize.php on line 57

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jellycan/public_html/_code.jellycan.com/framework/initialize.php:33) in /home/jellycan/public_html/_code.jellycan.com/framework/initialize.php on line 57
Jellycan Code - Visual Studio

Visual Studio things that I use personally. They are here just to ensure that I don't lose them.

autoexp.dat

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger\autoexp.dat

; Mozilla nsRect=x=<x,d> y=<y,d> width=<width,d> height=<height,d> nsIAtom=<mString,su> nsCOMPtr<*>=<mRawPtr,x> nsAutoString=<mData,su> nsString=<mData,su> nsSubstring=<mData,su> nsAString=<mData,su> nsCAutoString=<mData,s> nsCString=<mData,s> nsCSubstring=<mData,s> nsACString=<mData,s> ; ICU icu::UnicodeString=len=<fLength> str=<fArray,su> icu_3_6::UnicodeString=len=<fLength> str=<fArray,su> ; Cross cl::WideString=len=<mStr.fLength> str=<mStr.fArray,su> See VirtualDub blog for information about Visual Studio 2005 visualizers.

Macros

ColMove
These macros replicate a rudimentary version of the Textpad behaviour where up/down line movements return the cursor to the column where the last edit started. This is a great feature. I would love to see it in Visual Studio.
CommentOut
The built-in comment out macro doesn't work. This does.

Macro bindings that I use are:

Alt + DownColMoveSet
Alt + UpColMoveSet
Ctrl + DownColMoveDown
Ctrl + UpColMoveUp
Shift + Ctrl + CCommentOut
Imports EnvDTE Imports System.Diagnostics Public Module Personal Public g_nLineCharOffset As Integer Sub ColMoveSet() Dim sel As TextSelection sel = ActiveDocument().Selection g_nLineCharOffset = sel.ActivePoint().LineCharOffset() End Sub Sub ColMoveDown() Dim sel As TextSelection sel = ActiveDocument().Selection sel.MoveToLineAndOffset(sel.ActivePoint.Line(), g_nLineCharOffset) sel.LineDown() End Sub Sub ColMoveUp() Dim sel As TextSelection sel = ActiveDocument().Selection sel.MoveToLineAndOffset(sel.ActivePoint.Line(), g_nLineCharOffset) sel.LineUp() End Sub Sub CommentOut() Dim sel As TextSelection sel = ActiveDocument().Selection sel.Text = "/*" & sel.Text & "*/" End Sub End Module
Stats
Powered by Website Baker