Content by Category
.NET 1.x
.NET 2.0
.NET 3.0
.NET 3.5
.NET 4.0
.NET 4.5
.NET Assemblies
.NET Framework
.NET Getting Started
Accessibility
ADO.NET
Advertorials
Agile Development
AJAX
Amazon Web Services
Analysis Services
Android
Architecture
Arduino
ASP .NET Web API
ASP.NET
ASP.NET MVC
ASP.NET WebForms
Azure
B2B (Business Integration)
BDD
Big Data
Bing
BizTalk
Book Excerpts
Build and Deploy
Business Intelligence
C#
C++
ClickOnce
Cloud Computing
Code Contracts
CODE Framework Info - non Technical
CODE on the Road!
COM+
Community
Conferences
Continuous Integration
Crystal Reports
CSLA.NET
CSS
Data
Debugger
Design Patterns
Development Process
Display Technologies
Distributed Computing
Document Database
DotNetNuke
DSL
Dynamic Languages
Dynamic Programming
Editorials
Enterprise Services ("COM+")
Entity Framework
Events
Expression Blend
F#
Fox to Fox
Frameworks
Functional Programming
Git
Graphics
HTML 5
Internet Explorer 8.0
Interviews
IOS
iPhone
Iron Ruby
Java
Java Script
JavaScript
jQuery
JSON
Lightswitch
LINQ
Linux
LUA
Mac OS X
MDX
Messaging
Metro
Microsoft Application Blocks
Microsoft Business Rules Framework
Microsoft Dynamics
Microsoft Expression
Microsoft Office
Mobile Development
Mobile PC
Mono
MsBuild
MVVM
MySQL
Network
NHibernate
node.js
NOSQL
Nuget
Object Oriented Development
Objective C
Odata
OLAP
Open Source
Opinion
Opinions
Oracle
ORM
Other Languages
Parallel Programming
Patterns
PHP
Podcasts
Post Mortem
PowerPoint
Print/Output
Prism
Product News
Product Reviews
Project Management
Prolog
Python
Q&A
Rails
Rake
Razor
Reporting Services
REST
RIA Services
Ruby
Ruby on Rails
Scheme
Search
Security
Services
SharePoint
SignalR
Silverlight
SOA
Social Networks
Software & Law
Software Business
Source Control
Speech-Enabled Applications
SQL Server
SQL Server 2000
SQL Server 2005
SQL Server 2008
SQL Server 2012
SQL Server CE/AnyWhere/Mobile/Compact
SSIS
Subversion
Sync Framework
Tablet PC
TDD
Team System
Techniques
Testing and Quality Control
TFS
Tips
TypeScript
UI Design
UML
User Groups
VB Script
VB.NET
Version Control
VFP and .NET
VFP and SQL Server
Virtual Earth
Vista
Visual Basic
Visual Basic 6 (and older)
Visual FoxPro
Visual Studio .NET
Visual Studio 11
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Visual Studio 2011
Visual Studio 2012
Visual Studio Tools for Office
VSX
WCF
Web Development (general)
Web Services
WebMatrix
WF
Whitepapers
Windows 7
Windows 8
Windows Azure
Windows Live
Windows Phone 7
Windows Phone SDK
Windows Server
Windows Vista
WinForms
WinRT
Workflow
WPF
XAML
Xiine Documentation
XML
XNA
XSLT



LearnNow


XAMALOT
 


SSWUG

Reader rating:
Article source: CoDe (2011 Jul/Aug)

Using Visual Studio 2010 New IntelliSense Features

The one feature we use more than just about anything else in Visual Studio is IntelliSense. It has been our friend for many years. The IntelliSense features in Visual Studio 2010 represent a major departure from the old style of using this feature. I will discuss two of the biggest changes.

Using Keywords

Let’s take a closer look at prior versions of IntelliSense. Notice what happens when you type “Console.Key” in Figure 1.

Click for a larger version of this image.

Figure 1: Prior versions of Intell

It does what you would expect it to do and highlights the first (in this case - only) item that begins with the word “Key” in a huge alphabetical list of item names. That’s great, but what if you don’t know what you are looking for but you do know that it has the word “Key” somewhere in it? Figure 2 shows the same thing using Visual Studio 2010.

iSense show you a large alphabetical list.

Click for a larger version of this image.

Figure 2: Visual Studio 2010 shows entries that contain the keyword.

IntelliSense only shows those items that have the word “Key” in them and doesn’t care where the word is in the name of the member. A significantly smaller list of items is shown and results in an easier way to find entries.

Pascal Case

Ever been in a situation where you wanted to use IntelliSense to get a method but you’re faced with a ton of entries that start with the same word, meaning that you have to type almost the entire method name? Figure 3 shows an example of this scenario.

Click for a larger version of this image.

Figure 3: List of methods with similar names.

Well, those days are over. Let’s say you want the SetWindowSize method, but you really, really don’t want to type it out or even scroll down to get the method. IntelliSense now supports Pascal Case. All you have to do is type SWS as shown in Figure 4.

Click for a larger version of this image.

Figure 4: Using Pascal Case with IntelliSense.

What if you don’t remember all the upper-case letters in a name? No problem. Just type what you know (they don’t even have to be in the correct order), and IntelliSense narrows the list down for you as seen in Figure 5.

Click for a larger version of this image.

Figure 5: Using Pascal Case to narrow down IntelliSense choices.

The New IntelliSense Is Very Cool!

Clearly IntelliSense has taken a huge leap forward in Visual Studio 2010. The ability to use keywords and Pascal Case to narrow down choices is a huge time saver when writing code. Spend some time getting acquainted with the new approach and see the benefits for yourself.

Mr. Zain Naboulsi Jr

&

By: Mr. Zain Naboulsi Jr

Zain Naboulsi is a Senior Developer Evangelist for Microsoft. He is the co-author of the new Microsoft Press book entitled Coding Faster: Getting More Productive with Microsoft Visual Studio 2005, 2008, and 2010.

For over 15 years Zain has been working with the latest Microsoft technologies. He’s been a consultant and trainer since 1995. Also, he created Online Community Evangelism; which is an effort to build communities in virtual places like LinkedIn, Facebook, and elsewhere. He is not only a proponent of the community aspect of online environments but also is a supporter of the myriad business applications that these new mediums offer. He is a frequent speaker on Visual Studio at events worldwide.

zainnab@microsoft.com


Summary Information

Keyboard Shortcut: CTRL + J

Menu: Edit | IntelliSense | List Members

Command: Edit.ListMembers

Versions: 2010, 2010 SP1

Languages: VB, C#


IntelliSense History

Since 1996, IntelliSense has been a part of development products. Microsoft first introduced IntelliSense into Visual Basic 5.0 and it has become very popular over its 15-year history. IntelliSense is now included in all major Microsoft development products. Numerous non-Microsoft development products have some form of this concept included in them.



How would you rate the quality of this article?
1 2 3 4 5
Poor      Outstanding

Tell us why you rated the content this way. (optional)

Average rating:
3.5 out of 5

4 people have rated this article.

Instantly Search Terabytes Of Text
“Lightning Fast”
– Redmond Mag
“Covers all data
sources” – eWeek
25+ fielded & full-text search options
dtSearch’s own document filters highlight hits in popular file types
Web Spider supports static & dynamic data
APIs for .NET, Java, C++, SQL, etc.
Win / Linux (64-bit & 32-bit)
www.dtSearch.com
 

      Sharepoint TechCon

 

SSWUG