Home > Code Generation > Code Templates – Using/Imports directives

Code Templates – Using/Imports directives

May 11th, 2011

Here is the list of CodeRush using (C#)/Imports (VB) specific code templates. The templates below generate namespace reference declarations. Templates start with the letter “u” (the equivalent templates start with the letter “i” in VB). To add a namespace, just enter a “u” followed by the uppercase letters of the namespace. For example, to add a reference to “System.IO”, use “usio”.

These templates can be found on the Editor | Templates options page in the Options Dialog. Expansions containing several values in parenthesis will be enumerated using the CodeRush Intellassist feature: pressing the Tab/Shift+Tab keys will switch to another value.

CSharp templates:

using using «Caret»;
using using «Marker»;
umc using Microsoft.CSharp;
umcs using Microsoft.CSharp;
umj using Microsoft.JScript;
umjs using Microsoft.JScript;
umsp using Microsoft.SharePoint;
umvb using Microsoft.VisualBasic;
umv using Microsoft.Vsa;
umw using Microsoft.Win32;
us using System;
uw using System;
using System.Drawing;
using System.Windows.Forms;
uscd using System.CodeDom;
uscdc using System.CodeDom.Compiler;
usc using System.Collections; (System.Configuration)
uscg using System.Collections.Generic;
usco using System.Collections.ObjectModel;
uscom using System.Collections.ObjectModel;
uscs using System.Collections.Specialized;
uscm using System.ComponentModel;
uscmds using System.ComponentModel.Design.Serialization;
uscmd using System.ComponentModel.Design;
usca using System.Configuration.Assemblies;
usci using System.Configuration.Install;
usd using System.Data; (System.Diagnostics, System.Drawing)
usdc using System.Data.Common;
usdo using System.Data.Odbc;
usdod using System.Data.OleDb;
usdodb using System.Data.OleDb;
usdoc using System.Data.OracleClient;
usdsc using System.Data.SqlClient;
usdssce using System.Data.SqlServerCE;
usdst using System.Data.SqlTypes;
usdg using System.Diagnostics;
usds using System.Diagnostics.SymbolStore;
usdss using System.Diagnostics.SymbolStore;
us2d using System.Drawing.Drawing2D;
usd2d using System.Drawing.Drawing2D;
usdd2d using System.Drawing.Drawing2D;
u2d using System.Drawing.Drawing2D; (System.Drawing.Design)
usdd using System.Drawing.Drawing2D; (System.Drawing.Design)
usdi using System.Drawing.Imaging;
usdp using System.Drawing.Printing;
usdt using System.Drawing.Text;
use using System.EnterpriseServices;
uses using System.EnterpriseServices;
usec using System.EnterpriseServices.CompensatingResourceManager;
usescrm using System.EnterpriseServices.CompensatingResourceManager;
usei using System.EnterpriseServices.Internal;
usesi using System.EnterpriseServices.Internal;
usg using System.Globalization;
usi using System.IO;
usio using System.IO;
usii using System.IO.IsolatedStorage;
usiois using System.IO.IsolatedStorage;
usmi using System.Management.Instrumentation;
usm using System.Messaging; (System.Management)
usn using System.Net;
usns using System.Net.Sockets;
usre using System.Reflection.Emit;
usr using System.Resources; (System.Reflection)
usrc using System.Runtime.CompilerServices;
usrcs using System.Runtime.CompilerServices;
usri using System.Runtime.InteropServices;
usris using System.Runtime.InteropServices;
usric using System.Runtime.InteropServices.CustomMarshalers;
usriscm using System.Runtime.InteropServices.CustomMarshalers;
usrie using System.Runtime.InteropServices.Expando;
usrise using System.Runtime.InteropServices.Expando;
usrr using System.Runtime.Remoting;
usrra using System.Runtime.Remoting.Activation;
usrrch using System.Runtime.Remoting.Channels.Http;
usrrct using System.Runtime.Remoting.Channels.Tcp;
usrrc using System.Runtime.Remoting.Channels; (System.Runtime.Remoting.Contexts)
usrrl using System.Runtime.Remoting.Lifetime;
usrrm using System.Runtime.Remoting.Messaging; (System.Runtime.Remoting.Metadata)
usrrmw using System.Runtime.Remoting.Metadata.W3cXsd2001;
uw3 using System.Runtime.Remoting.Metadata.W3cXsd2001;
usrrms using System.Runtime.Remoting.MetadataServices;
usrrp using System.Runtime.Remoting.Proxies;
usrrs using System.Runtime.Remoting.Services;
usrs using System.Runtime.Serialization;
usrsf using System.Runtime.Serialization.Formatters;
usrsfb using System.Runtime.Serialization.Formatters.Binary;
usrsfs using System.Runtime.Serialization.Formatters.Soap;
uss using System.Security;
ussc using System.Security.Cryptography;
usscx using System.Security.Cryptography.Xml; (System.Security.Cryptography.X509Certificates)
ussp using System.Security.Permissions; (System.Security.Policy, System.Security.Principal, System.ServiceProcess)
ussm using System.ServiceModel;
ustr using System.Text.RegularExpressions;
ustre using System.Text.RegularExpressions;
ustrx using System.Text.RegularExpressions;
ust using System.Text; (System.Threading, System.Timers)
usw using System.Web;
uswc using System.Web.Configuration; (System.Web.Caching)
uswh using System.Web.Hosting;
uswm using System.Web.Mail; (System.Web.Mobile, System.Windows.Media, System.Windows.Markup)
uswm using System.Web.Mail; (System.Web.Mobile, System.Windows.Media, System.Windows.Markup)
usws using System.Web.Services; (System.Web.Security)
uswsc using System.Web.Services.Configuration;
uswsd using System.Web.Services.Description; (System.Web.Services.Discovery)
uswsp using System.Web.Services.Protocols;
uswss using System.Web.SessionState;
uswu using System.Web.UI;
uswui using System.Web.UI;
uswud using System.Web.UI.Design;
uswuid using System.Web.UI.Design;
uswudw using System.Web.UI.Design.WebControls;
uswuidwc using System.Web.UI.Design.WebControls;
uswuh using System.Web.UI.HtmlControls;
uswuihc using System.Web.UI.HtmlControls;
uswuimc using System.Web.UI.MobileControls;
uswum using System.Web.UI.MobileControls;
uswuimca using System.Web.UI.MobileControls.Adapters;
uswuma using System.Web.UI.MobileControls.Adapters;
uswuiwc using System.Web.UI.WebControls;
uswuw using System.Web.UI.WebControls;
uswfd using System.Windows.Forms.Design;
uswf using System.Windows.Forms;
usx using System.Xml;
usxs using System.Xml.Serialization; (System.Xml.Schema)
usxxp using System.Xml.XPath;
usxx using System.Xml.Xsl; (System.Xml.XPath)

Show Visual Basic templates… »

Visual Basic templates:

imc Imports Microsoft.CSharp
imcs Imports Microsoft.CSharp
imj Imports Microsoft.JScript
imjs Imports Microsoft.JScript
imvb Imports Microsoft.VisualBasic
imv Imports Microsoft.Vsa
imw Imports Microsoft.Win32
is Imports System
iw Imports System
Imports System.Drawing
Imports System.Windows.Forms
iscd Imports System.CodeDom
iscdc Imports System.CodeDom.Compiler
isc Imports System.Collections (System.Configuration)
iscg Imports System.Collections.Generic
isco Imports System.Collections.ObjectModel
iscs Imports System.Collections.Specialized
iscm Imports System.ComponentModel
iscmd Imports System.ComponentModel.Design
iscmds Imports System.ComponentModel.Design.Serialization
isca Imports System.Configuration.Assemblies
isci Imports System.Configuration.Install
isd Imports System.Data (System.Diagnostics, System.Drawing)
isdc Imports System.Data.Common
isdo Imports System.Data.Odbc
isdod Imports System.Data.OleDb
isdodb Imports System.Data.OleDb
isdoc Imports System.Data.OracleClient
isdsc Imports System.Data.SqlClient
isdssce Imports System.Data.SqlServerCE
isdst Imports System.Data.SqlTypes
isdg Imports System.Diagnostics
isds Imports System.Diagnostics.SymbolStore
isdss Imports System.Diagnostics.SymbolStore
isdd2d Imports System.Drawing.Drawing2D
i2d Imports System.Drawing.Drawing2D (System.Drawing.Design)
isd2d Imports System.Drawing.Drawing2D (System.Drawing.Design)
isdd Imports System.Drawing.Drawing2D (System.Drawing.Design)
isdi Imports System.Drawing.Imaging
isdp Imports System.Drawing.Printing
isdt Imports System.Drawing.Text
ise Imports System.EnterpriseServices
ises Imports System.EnterpriseServices
isec Imports System.EnterpriseServices.CompensatingResourceManager
isescrm Imports System.EnterpriseServices.CompensatingResourceManager
isei Imports System.EnterpriseServices.Internal
isesi Imports System.EnterpriseServices.Internal
isg Imports System.Globalization
isi Imports System.IO
isio Imports System.IO
isii Imports System.IO.IsolatedStorage
isiois Imports System.IO.IsolatedStorage
ismi Imports System.Management.Instrumentation
ism Imports System.Messaging (System.Management)
isn Imports System.Net
isns Imports System.Net.Sockets
isre Imports System.Reflection.Emit
isr Imports System.Resources (System.Reflection)
isrc Imports System.Runtime.CompilerServices
isrcs Imports System.Runtime.CompilerServices
isri Imports System.Runtime.InteropServices
isris Imports System.Runtime.InteropServices
isric Imports System.Runtime.InteropServices.CustomMarshalers
isriscm Imports System.Runtime.InteropServices.CustomMarshalers
isrie Imports System.Runtime.InteropServices.Expando
isrise Imports System.Runtime.InteropServices.Expando
isrr Imports System.Runtime.Remoting
isrra Imports System.Runtime.Remoting.Activation
isrrc Imports System.Runtime.Remoting.Channels (System.Runtime.Remoting.Contexts)
isrrch Imports System.Runtime.Remoting.Channels.Http
isrrct Imports System.Runtime.Remoting.Channels.Tcp
isrrl Imports System.Runtime.Remoting.Lifetime
isrrm Imports System.Runtime.Remoting.Messaging (System.Runtime.Remoting.Metadata)
isrrmw Imports System.Runtime.Remoting.Metadata.W3cXsd2001
iw3 Imports System.Runtime.Remoting.Metadata.W3cXsd2001
isrrms Imports System.Runtime.Remoting.MetadataServices
isrrp Imports System.Runtime.Remoting.Proxies
isrrs Imports System.Runtime.Remoting.Services
isrs Imports System.Runtime.Serialization
isrsf Imports System.Runtime.Serialization.Formatters
isrsfb Imports System.Runtime.Serialization.Formatters.Binary
isrsfs Imports System.Runtime.Serialization.Formatters.Soap
iss Imports System.Security
issc Imports System.Security.Cryptography
isscx Imports System.Security.Cryptography.Xml (System.Security.Cryptography.X509Certificates)
issp Imports System.Security.Permissions (System.Security.Policy, System.Security.Principal, System.ServiceProcess)
ist Imports System.Text (System.Threading, System.Timers)
istr Imports System.Text.RegularExpressions
istre Imports System.Text.RegularExpressions
istrx Imports System.Text.RegularExpressions
isw Imports System.Web
iswc Imports System.Web.Configuration (System.Web.Caching)
iswh Imports System.Web.Hosting
iswm Imports System.Web.Mail (System.Web.Mobile, System.Windows.Media, System.Windows.Markup)
iswm Imports System.Web.Mail (System.Web.Mobile, System.Windows.Media, System.Windows.Markup)
isws Imports System.Web.Services (System.Web.Security)
iswsc Imports System.Web.Services.Configuration
iswsd Imports System.Web.Services.Description (System.Web.Services.Discovery)
iswsp Imports System.Web.Services.Protocols
iswss Imports System.Web.SessionState
iswu Imports System.Web.UI
iswui Imports System.Web.UI
iswud Imports System.Web.UI.Design
iswuid Imports System.Web.UI.Design
iswudw Imports System.Web.UI.Design.WebControls
iswuidwc Imports System.Web.UI.Design.WebControls
iswuh Imports System.Web.UI.HtmlControls
iswuihc Imports System.Web.UI.HtmlControls
iswuimc Imports System.Web.UI.MobileControls
iswum Imports System.Web.UI.MobileControls
iswuimca Imports System.Web.UI.MobileControls.Adapters
iswuma Imports System.Web.UI.MobileControls.Adapters
iswuiwc Imports System.Web.UI.WebControls
iswuw Imports System.Web.UI.WebControls
iswf Imports System.Windows.Forms
iswfd Imports System.Windows.Forms.Design
isx Imports System.Xml
isxs Imports System.Xml.Serialization (System.Xml.Schema)
isxxp Imports System.Xml.XPath
isxx Imports System.Xml.Xsl (System.Xml.XPath)
issm Imports System.ServiceModel
—–
Products: CodeRush Pro
Versions: 10.2 and up
VS IDEs: any
Updated: Oct/18/2011
ID: C096

Similar Posts: