473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IntelliSense Question.

I have been using VB.NET for some time and have recently taken over several
C#.NET apps. My only frustration with it is that IntelliSense does not seem
to work as well with C#. It seems the best way to get it to check for errors
is to re-compile where as for VB it shows errors right away. Am I missing
something?
Apr 5 '07 #1
7 1325
Good tip, thanks!!! Any idea why they are so different between VB and C# in
VS?

"Samuel R. Neff" <sa********@nomail.comwrote in message
news:0f********************************@4ax.com...
>
I'd strongly suggest purchasing ReSharper from JetBrains. It improves
VS.NET IDE in many ways including intellisense and immediate warnings
and compilation errors (tons of extra warnings).

http://www.jetbrains.com/resharper/

There are other plugins that do similar thigns but I think ReSharper
is the best. The next version (currently in early-access aka alpha)
adds support for VB.NET.

Best regards,

Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.

On Thu, 5 Apr 2007 09:08:49 -0400, "Shawn" <sh**********@ccci.org>
wrote:
>>I have been using VB.NET for some time and have recently taken over
several
C#.NET apps. My only frustration with it is that IntelliSense does not
seem
to work as well with C#. It seems the best way to get it to check for
errors
is to re-compile where as for VB it shows errors right away. Am I missing
something?

Apr 5 '07 #2
On Apr 5, 9:08 am, "Shawn" <shawn.cam...@ccci.orgwrote:
I have been using VB.NET for some time and have recently taken over several
C#.NET apps. My only frustration with it is that IntelliSense does not seem
to work as well with C#. It seems the best way to get it to check for errors
is to re-compile where as for VB it shows errors right away. Am I missing
something?
Yes, C# does not do background compilation, so compilation errors
won't be known until you actually compile.

Apr 5 '07 #3

I'd strongly suggest purchasing ReSharper from JetBrains. It improves
VS.NET IDE in many ways including intellisense and immediate warnings
and compilation errors (tons of extra warnings).

http://www.jetbrains.com/resharper/

There are other plugins that do similar thigns but I think ReSharper
is the best. The next version (currently in early-access aka alpha)
adds support for VB.NET.

Best regards,

Sam
------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.

On Thu, 5 Apr 2007 09:08:49 -0400, "Shawn" <sh**********@ccci.org>
wrote:
>I have been using VB.NET for some time and have recently taken over several
C#.NET apps. My only frustration with it is that IntelliSense does not seem
to work as well with C#. It seems the best way to get it to check for errors
is to re-compile where as for VB it shows errors right away. Am I missing
something?
Apr 5 '07 #4

I think it's simply the fact that there are two different development
teams (VB.NET and C#) and they both wrote their parts fo the IDE and
they have slightly different focuses. If they had the exact same
requirements and focus we wouldn't need two languages. Over time
features from one will spill into the other, but there will always be
some differentiation.

Sam

------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.
On Thu, 5 Apr 2007 09:16:18 -0400, "Shawn" <sh**********@ccci.org>
wrote:
>Good tip, thanks!!! Any idea why they are so different between VB and C# in
VS?

"Samuel R. Neff" <sa********@nomail.comwrote in message
news:0f********************************@4ax.com.. .
>>
I'd strongly suggest purchasing ReSharper from JetBrains. It improves
VS.NET IDE in many ways including intellisense and immediate warnings
and compilation errors (tons of extra warnings).

http://www.jetbrains.com/resharper/

There are other plugins that do similar thigns but I think ReSharper
is the best. The next version (currently in early-access aka alpha)
adds support for VB.NET.

Best regards,

Sam

Apr 5 '07 #5
Hi Shawn,

In the C# IDE the code is not compiled in the background, so many of the errors you see in VB.Net will not be shown in C# until you manually compile. There was a reason for not doing behind-the-scenes-compiling in C#, but I fail to remember why at the moment.

--
Happy coding!
Morten Wennevik [C# MVP]
Apr 5 '07 #6
Hmm, another feature of Reshaper I hadn't know about; thanks for the
tip.

Apr 5 '07 #7
Background parsing (I'm not sure if it's true compilation) is one of the
best features of ReSharper. Besides giving you constant Intellisense, it
also tells you about errors while you're typing.

///ark
Apr 9 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick Kafenzakis | last post by:
Hi, I am thinking about creating some custom server controls in Visual Studio .NET 2003 using VB.NET. One thing I am wondering about is how I can get the control to show up in the IDE....for...
1
by: dan | last post by:
I am working in C#. I want to know how I can get the extras to show up on the intellisense mouseovers. I get a name and type of the property like private string textbox.font But I do not get...
1
by: Greg McIntire | last post by:
Hello all, I have, what I hope, is a relatively quick question. I've made a shared add-in in VS.NET 2003 to be used in Excel XP. The add-in exposes an optimization process that can be...
0
by: cody | last post by:
if i have an enum say Color and i type Color:: intellisense pops up with a list of the members of this enum. but the problem is when i write Color::Red for example i get an error. is this a bug in...
9
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net...
6
by: MattB | last post by:
Hi all, not exactly a asp.net question, but I'm sure you people know this one. I'm just not sure what to look for in help, because it's sure to be in there too. I'm creating a reusable class...
3
by: =?Utf-8?B?SmltIFJvZGdlcnM=?= | last post by:
It's perhaps not the end of the World, but I find it annoying that I lose IntelliSense when I reference Subs and Functions I have moved to an #Included file. Does anyone know of a reasonable way...
5
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the...
4
by: Robot | last post by:
Hi all, My IntelliSense in VS2005 hasn't been working with WTL 8 classes. The project compiles fine but whenever I type SomeWTLClass. or SomeWTLClass-it does not work. The status bar...
11
by: kimiraikkonen | last post by:
Hi there, I needed to use MouseOver event on Webbrowser which is NOT provided by webbrowser control natively(what a disappointment), so i decided to go with another route to simulate this like: ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.