CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/11/2004 4:30:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
SonuKapoor
Asp.Net User
Intellisense / Intellitasks4/11/2004 4:30:23 PM

0/0

Hi Guys,

I just installed VS2005 Alpha. I have heared a lot about the new intellisense extended features in this version, however I cant get them to work for me. I have created a MFC VC++ project and when I type code like this: "AfxMessageBox(" then I accept that it shows me the required parameters in the function. However it does not ! Does somebody know how to get this work for me or is that feature not fully implemented in Alpha ?

The other question is that I also read about the NEW feature Intellitasks. Where can I set them ? Where can I see them ? I cant find them in VS 2005 !

Please help

Thanks!
Sonu Kapoor [MVP]
DotNetSlackers.com
Feel free to ask me any .NET question
Fredrik N
Asp.Net User
Re: Intellisense / Intellitasks4/11/2004 4:57:15 PM

0/0

IntelliTasks will help you by reducing the typing you need to do, for example it will help you to easy apply standard code snippets, such as, for, while and if...else etc for you in the code editor. VS.Net 2005 will have more than 200 specific IntelliTask code snippets out of the box. You can also add your own code templates to IntelliTask.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
SonuKapoor
Asp.Net User
Re: Intellisense / Intellitasks4/11/2004 9:39:37 PM

0/0

I already know this, but where I can find them in Visual Studio ? Under which menu ?

Thanks
Sonu Kapoor [MVP]
DotNetSlackers.com
Feel free to ask me any .NET question
Fredrik N
Asp.Net User
Re: Intellisense / Intellitasks4/11/2004 10:08:48 PM

0/0

Go to the Tools menu and select "Code snippets manager".


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
SonuKapoor
Asp.Net User
Re: Intellisense / Intellitasks4/11/2004 10:35:07 PM

0/0

Ok...I found the feature in the menu. Thanks for that! Now I am trying to add it to my code. Is that supposed to be added via the "Refactor: Surrond with" or is there also an another way ?
Can I say that the "Refactor: Surround with" is the same as the Intellitask feature ?

Thanks again ! I really appreciate the help.
Sonu Kapoor [MVP]
DotNetSlackers.com
Feel free to ask me any .NET question
Fredrik N
Asp.Net User
Re: Intellisense / Intellitasks4/11/2004 11:31:25 PM

0/0

When you type class and hit tab twice in the code editor, the specified code snippet for the shortcut will be added to your code. To add "for", your simply write for and hit the tab key twice.

If you want to add your own snippet to the IntelliTask feature, you can do it through the Code snippet manager. You define your own snippet within an XML file. If you haven't seen a defined snippet before, here is the Class snippet:


<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippet Format="1.0.0">
<Header>
<Title>class</Title>
<Shortcut>class</Shortcut>
<Description>Expansion snippet for class</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal default="true">
<ID>name</ID>
<ToolTip>Class name</ToolTip>
<Default>MyClass</Default>
</Literal>
</Declarations>
<Code Language="csharp" Format="CData"><![CDATA[class $name$
{
$selected$$end$
}]]>

</Snippet>
</CodeSnippet
</code>

If you look in the template I have added to this post. You can se the <SnippetType> element, with this element you specify which type the snippet is, it could belongs to several of types. If the type is specified as Expansion, you could add the code snippet in the code editor, by pressing the tab key twice after you type in the name you have specified for the shortcut element in the template.

The Insert Expansion and Surround with menu option is part of the IntelliTask, please correct my, if I?m wrong.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
SonuKapoor
Asp.Net User
Re: Intellisense / Intellitasks4/12/2004 12:33:12 AM

0/0

Thanks Frederik. That was what I needed. Can you tell me where you find this information ? I searched a lot on the net, but could not find anything.

Thanks again.
Sonu Kapoor [MVP]
DotNetSlackers.com
Feel free to ask me any .NET question
Fredrik N
Asp.Net User
Re: Intellisense / Intellitasks4/12/2004 7:11:39 AM

0/0

You can read little about IntelliTask in the following sites:

http://www.asp.net/whidbey/whitepapers/VSWhidbeyOverview.aspx?tabindex=0&tabid=1

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/webdevinwhidbey.asp

But it's not much information about it.

You can find the code snippet template in this directory:

C:\Program Files\Microsoft Visual Studio 8\VC#\Expansions\1033\Expansions


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
SonuKapoor
Asp.Net User
Re: Intellisense / Intellitasks4/12/2004 12:35:30 PM

0/0

Both links contains basically the same contents. Besides that it is hard to find something on the net, which is really useful. Your statement to both of my questions helped me a lot. I searched a lot on the net and could not find these information.

Thanks
Sonu Kapoor [MVP]
DotNetSlackers.com
Feel free to ask me any .NET question
9 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
New features in Visual Studio 2005 "Whidbey" Articles, samples and ... Intellisense/Intellitasks I heard a lot of hype about the extended features of Intellisense in Visual Studio 2005, but unfortunately I could not get them to ...
What's New in Visual Studio .NET "Whidbey" Going beyond IntelliSense, you get IntelliTask. Simply put, IntelliTask tries to simplify common tasks. There are a number of tasks that are done the same ...
ASP.NET QuickStart Tutorial In addition, Visual Web Developer also supports Intellisense for ASP. ... ship with more than 200 web specific Intellitask code snippets out of the box. ...
CodeGuru: Price of Visual Studio 2005 Announced Mar 22, 2005 ... by cutting down the amount of code necessary to create programs, by improving the help features (Intellisense/Intellitask), and more. ...
ASP.Net Interview Question,Interview Question,.Net,Question,Answer ... In addition, Visual Web Developer also supports Intellisense for ASP. ... Intellitask is like a super smart clipboard designed for working with code. ...
Barclays Capital Achieves Guaranteed Reliability and Performance ... IntelliSense predicts the variables on offer while writing code, thus helping developers save time. A new feature of IntelliSense is IntelliTasks, ...
Microsoft Visual Studio released, .Net Visual studio 2005 release ... Nov 10, 2005 ... Visual Studio “Whidbey” also provides Intellisense for all sections ... Visual Studio 2005 has Intellitask with 200 code snippets shipped ...
Visual Studio 2005 - ASP.NET Forums Intellisense / Intellitasks by SonuKapoor. No Status. Re: Intellisense... by SonuKapoor. 04-12-2004, 8:40 AM. 8, 2744 ...
CodeProject: ASP.NET 2.0 and Visual Web Developer Overview. Free ... Dec 6, 2005 ... In Visual Web Developer, Intellisense pops up everywhere. ... ship with more than 200 web specific Intellitask code snippets out of the box. ...
Prepare Yourself for Whidbey [ASP & .NET Tutorials] Mar 19, 2004 ... IntelliSense is smarter, refactoring is supported, and debugging is more intelligent with automatic watches. IntelliTasks auto-completes ...




Search This Site:










can't debug classes in app_code folder

multi language???

error in server.mappath

deploy to dev server on code check-in

visual studio not starting

function key?

vs.net 2005 create procedure

solution within a solution in vis studio 2005

detecting processes that are being used by the system in vs.net2005

how can i disable the in windows debugger?

can't actually "delete" files from source control

assembly naming in web site project build

design opinion

exporting to excel

table adapter configuration wizard error

vs checking datasource methods

how to create a simple ie toolbar button add-on with c#

smart client install/uninstall broken.

web deployment project and publish bug

404 after visual studio hang

observing a collection while debugging...

unable to read project file... you must install all of the following components...

how to control the icon on filename' left side at solution explorer?

validation (internet explorer 6): attribute is not a valid attribute

team system release date?

cross over page question?

iis by default

deployment scenario after publishing a website in visual studio

my search with beta vs2005 is stuck with two inappropriate (relate to some add-ins) filters. how to clear out the filter so everything is searched?

visual studio config: how do i set code styles?

  Privacy | Contact Us
All Times Are GMT