Presentation is loading. Please wait.

Presentation is loading. Please wait.

FeatureShortcutContext Smart CopyCtrl+C or Ctrl+InsertNo selection, caret on token Smart CutCtrl+X or Shift+DeleteNo selection, caret on token Intelligent.

Similar presentations


Presentation on theme: "FeatureShortcutContext Smart CopyCtrl+C or Ctrl+InsertNo selection, caret on token Smart CutCtrl+X or Shift+DeleteNo selection, caret on token Intelligent."— Presentation transcript:

1 FeatureShortcutContext Smart CopyCtrl+C or Ctrl+InsertNo selection, caret on token Smart CutCtrl+X or Shift+DeleteNo selection, caret on token Intelligent PasteCtrl+V or Shift+InsertEditor has focus Clipboard HistoryCtrl+Shift+InsertEditor has focus Replace WordCtrl+Alt+V or Ctrl+BCaret on token Clipboard FeatureShortcutContext Highlight ReferencesCtrl+Alt+UCaret on identifier Show All ReferencesShift+F12Caret on identifier Tab to Next ReferenceTabCaret inside identifier Tab to Next XML Doc FieldTabCaret inside doc comment field Quick Nav (Go to Symbol)Ctrl+Shift+QEditor has focus Quick File NavCtrl+Alt+FAvailable anywhere Browse Recent FilesCtrl+Alt+.Available anywhere Drop MarkerAlt+HomeEditor has focus Collect MarkerEscapeEditor has focus, marker dropped Collect Marker and PasteShift+EscapeEditor has focus, marker dropped Swap MarkersAlt+Shift+HomeEditor has focus, marker dropped Toggle BookmarkCtrl+Alt+{Number}Editor has focus Go to BookmarkAlt+{Number}Editor has focus Go to Previous BookmarkCtrl+Alt+LeftEditor has focus Go to Next BookmarkCtrl+Alt+RightEditor has focus Toggle RegionSpaceCaret on Region keyword Camel Case Nav LeftAlt+LeftCaret on CamelCase token Camel Case Nav RightAlt+RightCaret on CamelCase token Navigation FeatureShortcutContext Selection IncreaseNum+ or Ctrl+WEditor has focus Selection DecreaseNum- or Ctrl+Shift+WEditor has focus Select CamelCase LeftAlt+Shift+LeftEditor has focus Select CamelCase RightAlt+Shift+RightEditor has focus Defining Selections FeatureShortcutContext Comment/Uncomment/ or ' (VB)Multi-line selection Block begin/endb or Shift+[Multi-line selection try/catchCMulti-line selection try/finallyFMulti-line selection try/catch/finallyTMulti-line selection lock/SyncLockLMulti-line selection usingUMulti-line selection Convert to stringShift+'Multi-line selection WaitCursorWMulti-line selection ParensShift+0 or Shift+9Any selection Not ParensShift+1Any selection regionCtrl+3Multi-line selection Invert SelectionCtrl+Shift+IMulti-line selection Wrapping Selections FeatureShortcutContext Refactor/DeclareCtrl+`Editor has focus RenameF2Caret on symbol Expand TemplateSpace or Tab (settings)Caret after template Auto-create regionCtrl+3Caret inside a member Cycle Scope UpAlt+UpCaret inside a member Cycle Scope DownAlt+DownCaret inside a member Duplicate LineShift+EnterEditor has focus Declare variable based on type (C#) Ctrl+ACaret at right of type Code Generation & Refactoring ElementTemplate Classc Interfacei Structs Enume Abstract Classa Delegated Exceptionx Test Fixturet Test Methodt Create Constructorcc Creating Types CodeRush Shortcuts Want to change a shortcut? It’s easy. Open CodeRush Options dialog, then navigate to the IDE\Shortcuts page. CodeRush Templates ElementTemplate For loopsfr For Eachfe While loopw Do Whiledw Switchsw Selectse Throw new exceptiontne Using statementu Block begin/endb Flow ElementTemplate try/catchtc try/finallytf try/catch/finallytcf Try ElementTemplate If statementif If not …ifn Elsel Else If …lf If/else To create members and variables, use type mnemonics (see next page). Expand the templates listed here with the spacebar or the Tab key (depending on your settings). The User Guide shows how to create your own custom templates. Copyright © 2003-2013, DevExpress, Inc. Dock the CodeRush training window to see more templates and shortcuts! FeatureShortcutContext Run active testCtrl+T, RCaret inside test method Debug active testCtrl+T, DCaret inside test method Run all tests in fileCtrl+T, FCaret inside file containing a test class Show unit test runnerCtrl+T, TAvailable anywhere Step Into MemberCtrl+Shift+F12Debugging, caret on member reference Show Expression ExplorerAlt+DownDebugging, caret inside expression OptionsCtrl+Shift+OAvailable anywhere Toggle Structural HighlightingCtrl+Shift+Alt+HEditor has focus Test Runner, Debugging, and More

2 Follow with a “.” and then the shortcut for the type of the parameter. For example, “nl.i” creates a new List of integers. TypeShortcut Booleanb Byteby Charc DateTimed8 Decimalde Doubled EventArgsea Exceptionx Guidg Int16sh Int32i Int64l IntPtrip Objecto Singlesi Strings Typety UInt32u System TypeShortcut {Active Type}/ {Paste}\ GregorianCalendargc Regexrx StringBuildersb TypeShortcut DataRowdr DataRowViewdrv DataSetds DataTabledt DataViewdv System.Data Type Shortcuts TypeShortcut SqlClientPermissionqcp SqlCommandqc SqlCommandBuilderqcb SqlConnectionqn SqlDataAdapterqda SqlDataReaderqdr SqlParameterqp SqlParameterCollectionqpc SqlTransactionqt System.Data.SqlClient TypeShortcut SPContentTypespct SPContext.Current.Sitespcs SPContext.Current.Webspcw SPFieldspf SPListspl SPListItemspli SPSitesps SPWebspw Microsoft.SharePoint TypeShortcut ArrayLista Hashtableh NameValueCollectionnvc Queueq Stackk StringCollectionsc System.Collections TypeShortcut Bitmapbt Brushbr Colorcl Fontfn Graphicsgx Penpn Pointp PointFpf Rectangler RectangleFrf Sizez SizeFzf System.Drawing TypeShortcut FileWebRequestfwq FileWebResponsefwr HttpWebRequesthwq HttpWebResponsehwr WebRequestwq WebResponsewr System.Net TypeShortcut StreamReadersr StreamWritersw System.IO TypeShortcut ManualResetEventmre Monitormo Threadt ThreadStartts System.Threading TypeShortcut DependencyObjectdo DependencyPropertydp Pointp Rectr Sizez Thicknessth Vectorvi System.Windows TypeShortcut Brushbr Colorcl FontFamilyff GeometryDrawinggd GeometryGroupgg GradientBrushgb HitTestResulthtr LinearGradientBrushlgb Matrixmx MatrixTransformmt MediaPlayermp Penpn RotateTransformrt ScaleTransformsct SkewTransformskt TransformGrouptg TranslateTransformtt Visualvi VisualBrushvb System.Windows.Media TypeShortcut XmlAttributexa XmlCommentxc XmlDocumentxd XmlDocumentTypexdt XmlElementxe XmlExceptionxx XPathDocumentxpd XmlNodexn XmlSerializerxs XmlTextxt XmlTextReaderxtr XmlTextWriterxtw XmlWriterxw System.Xml TypeShortcut BindingListbl Collectionc Comparercmp EqualityComparerec ICollectionic IEnumerableie LinkedListll LinkedListNodelln Listl Queueq ReadOnlyCollectionroc Stackk XPCollectionxcl Generic Collections – one parameter TypeShortcut Dictionaryd KeyValuePairkvp SortedDictionarysd SortedListsl Generic Collections – two parameters Follow these shortcuts with a “.” and then the shortcuts for the types of the parameters separated by a comma. For example, “nd.s,i” creates a new Dictionary keyed by strings and holding integers. Other types ElementShortcut * Variable (parameter, local, field)V or v New InstanceN or n Read-only FieldsO or o MethodsM or m PropertiesP or p Read-onlyR or r Write-onlyW or w Auto-implementedA or a Type Referencet Constantsq Typecast (in code blocks)c Classc Members and Variables * Uppercase letters expand to static members. Follow the templates above with a Type shortcut. For example, on an empty line inside a class or method, “nb” followed by space bar creates a new initialized Boolean instance. m by itself creates a method with no return value. Are your types missing? It’s easy to create your own type mnemonic. Just right- click a type reference in the code, and choose “Use Type in Templates…” TypeShortcut AggregateOperandxao BetweenOperatorxbwo BinaryOperatorxbo FunctionOperatorxfo GroupOperatorxgo InOperatorxio UnitOfWorkxu Sessionxss UnaryOperatorxuo XPCollectionxcl XPO Tips Shift+Space suppresses template expansion t, f, & n for true, false & null. r, rt, rf, and rn return values. Inside methods, templates like fe, fri, c{TypeShortcut}, st, sf, and sn work intelligently with identifiers copied to the clipboard. Use {TypeShortcut}.e to get a.Empty reference for a struct (like s.e or p.e). Copyright © 2003-2013, DevExpress, Inc.


Download ppt "FeatureShortcutContext Smart CopyCtrl+C or Ctrl+InsertNo selection, caret on token Smart CutCtrl+X or Shift+DeleteNo selection, caret on token Intelligent."

Similar presentations


Ads by Google