LisaF
| Forum | Thread | Replies | Latest activity |
|---|---|---|---|
| Tech Off | VS 2008 - writing code is hella slow? | 10 | Feb 12, 2008 at 2:59 PM |
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
| Forum | Thread | Replies | Latest activity |
|---|---|---|---|
| Tech Off | VS 2008 - writing code is hella slow? | 10 | Feb 12, 2008 at 2:59 PM |
Visual Basic Intellisense Improvements in VS 2008
Oct 02, 2007 at 4:59 PMHi there,
Option Infer is the option that controls whether or not a type is inferred. Option Strict is independent. Here's a chart to describe how the following line will behave given the various Option combinations:
Dim x = 10
Option Strict Off, Type Inference On -> x is an Integer
Option Strict Off, Type Inference Off -> x is an Object
Option Strict On, Type Inference On -> x is an Integer
Option Strict On, Type Inference Off-> Error: "Option Strict On requires all variable declarations to have an 'As' clause."
Thanks,
Lisa
Visual Basic Intellisense Improvements in VS 2008
Oct 02, 2007 at 4:38 PMI agree that some keywords are more useful to show in intelliSense than others. So this is a question we certainly had to consider. However, in the end it felt better to be consistent and show the keywords wherever they could be used. That way there wouldn't be any guessing about when intelliSense should show and when it should not...
When an intelliSense list appears at the beginning of the line, we also follow the principle that wherever an intelliSense list shows, all available options should be included in the list. 'Dim' might not be as useful to get from intelliSense, but 'Console' might be. So we show both.
Please feel free to provide more feedback about how the experience feels once you get a chance to play around with the bits!
Thanks,
Lisa
Visual Basic Intellisense Improvements in VS 2008
Oct 02, 2007 at 4:32 PMHi VBCoder,
Thanks for contributing your feedback. Can you please provide more info about what exactly made you unhappy?
Thanks!
Visual Basic Intellisense Improvements in VS 2008
Oct 02, 2007 at 4:30 PMHi Secret Software,
Thanks for the suggestion. I agree with the principles. We will continue thinking about more ways we can bring "Help" into the IDE. (But in a non-obtrusive way so that those who don't want it, won't get bogged down...)
~ Lisa
Visual Basic Intellisense Improvements in VS 2008
Oct 02, 2007 at 4:26 PMHowever, the changes in 2008 are more than just the fact that intelliSense now comes up automatically. For one, previous to 2008, intelliSense lists (even when invoked via Ctrl+Space) did not contain keywords. Now they do! ReadOnly, Select, MustInherit, From, SyncLock, etc.
Secondly, 2008 also added more contextual lists. For example, part of the video showed intelliSense at work while typing declarations. For example, typing within an Enum, after the word 'MustInherit', etc. In each of these cases, 2008 shows a filtered list based on what is possible to type at that location according to the VB grammar. Ctrl+Space in previous versions, in comparison, will show you "the world" in all of these contexts.
Thanks,
Lisa
Lisa Feigenbaum - Code Snippets in Visual Studio
Nov 08, 2005 at 2:38 AMHere are some links for the sites mentioned in the video:
Code Snippets FAQ: Learn a lot of good information in this FAQ.
VB IDE Forum: Post your own questions about snippets here!
VB IDE blog: For tips & tricks about snippets.
MSDN download page: Additional snippets will later be posted here.
Most Wanted Page: Go request a snippet you'd like to see!
The Snippet Editor: A tool to help edit and create your own code snippets.
http://www.gotdotnet.com/workspaces/workspace.aspx?id=6b1aceda-e613-4dac-beeb-0cd8ad8f2d41">Community Power Toys: Tools to help turn your .snippet file into a .vsi (so that it can be downloaded with the standard Visual Studio Installer). Also contains a template to help create your own snippet hosting site.
Current Snippet Hosting Sites: Go post your snippets on one of these sites, so that they can be shared with the community...
http://www.projectdistributor.net/">http://www.projectdistributor.net
http://www.gotdotnet.com/">http://www.gotdotnet.com
http://dotnetjunkies.com/">http://dotnetjunkies.com
http://www.gotcodesnippets.com/">http://www.gotcodesnippets.com
Lisa Feigenbaum - Code Snippets in Visual Studio
Oct 19, 2005 at 2:35 PMIt is true that there are some VS.NET 2003 add-ins that help provide code for various tasks. However, these 2003 code snippets do not contain the same functionality as the feature in VS2005. I demonstrated a few of these enhancements in the video: replacement fields with intellisense and tooltip instructions, automatic imports statements, and automatic references.
Lisa Feigenbaum - Code Snippets in Visual Studio
Oct 19, 2005 at 1:50 PMHi XiXora,
"Feigenbaum" is correct.
Thanks,
Lisa
Lisa Feigenbaum - Code Snippets in Visual Studio
Oct 19, 2005 at 1:48 PMTools -> Code Snippets Manager is a good place to look, to find out where any of your registered snippet directories are located. It is true that the snippet files installed with the product are located in Program Files. The directory we provide for creating your own is located at My Documents\Visual Studio 2005\Code Snippets\Visual Basic\My Code Snippets.
However, there is no restriction on where a snippet directory must lie in order to use it. You can always use the Add/Remove buttons in the Code Snippets Manager to control which folders show up in the IDE.