473,563 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Large source files and Syntax Color/Intellisense Problems in VS.Net

I seem to have problems when working with large Windows Forms files. What
happens is that hte editor looses its syntax color highlighting and
Intellisense capability on large files. The code works - it compiles and
runs fine, but the syntax color highlighting goes away. All formatting blows
up too and the editor no longer helps with indentations.

Needless to say this is frustrating.

If I recompile then color returns but as soon as I type somtehing it goes
bad again.

Anybody else seen this before?

Other:
I've also noticed that I run into problems with specific components (or so
it seems anyway). I'm using ActiveReports from DataDynamics and as soon as I
open a report and edit that the entire source editing environment behaves as
above. If I close the report exit and come back in everything works fine
again.

The base scenario though occurs frequently even if no third party
controls/tools are involved.
I suspect this has something to do with the auto-generated code
InitializeCompo nent, but if the code compiles there should be no reason that
the editing environment shuts down in this manner?

Any ideas appreciated...

+++ Rick ---
--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web

Nov 15 '05 #1
2 1442
I sometimes see what your talking about - the highlighting going missing. It
usually goes away if I close the file and open it again though.

It does seem that there is a bug in their somewhere. I'm still using VS 2002
though.

Simon
Nov 15 '05 #2

Well, I have one project where it's happening consistently even on
relatively small files. Opening and closing doesn't help - well, the
coloring returns but as soon as I type it goes away.

Shutting down the project and then reopening works for a while.

In further messing around with this it seems that this potentially has
something to do with external components loaded somehow. The problem always
manifests after editing a form that has a bunch of custom controls on it
(SharpUi, ActiveReports or custom controls) for example.

Problem is when the problem starts it effects all source files not just the
ones that potentially have some problems with controls on them.

It's more than a little frustrating because when the editor 'looses' it it
looses it bad as all indentation stops - it becomes just about unusable.

This is VS 1.1...

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"Simon Harvey" <sh856531@micro softs_free_emai l_service.com> wrote in message
news:eu******** *****@TK2MSFTNG P12.phx.gbl...
I sometimes see what your talking about - the highlighting going missing. It usually goes away if I close the file and open it again though.

It does seem that there is a bug in their somewhere. I'm still using VS 2002 though.

Simon

Nov 15 '05 #3

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

Similar topics

36
6337
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining...
1
1912
by: Christopher Benson-Manica | last post by:
We have a fairly large (1500 line) .js file that contains script that most of our pages use. My personal opinion is that this is not easy to maintain, but others are concerned that with the script placed in separate smaller files the web server will have to process several other requests for script files, which will impact the performance of...
5
1928
by: John Winterbottom | last post by:
Some time ago Steve Jorgenson, (I think it was he), wrote of possible problems using the intellisense-friendly "Form_" syntax to refer to forms and their controls. At the time I responded that I'd never seen any problems - which was true until today. Using Access XP on WinXP Pro with all service packs. My code checks to see if a form,...
2
2982
by: Joachim Krumnow | last post by:
Hi, I'm developing code using Oracles embedded sql in .pc-files. These files are pre-processed by the proc-tool, which generates a .cpp-file. Here are my problems - Syntax coloring - how can I make the visual studio editor to color the the source file (the .pc file)? In Visual Studio 6 it was a right-click in the editor window, choosing...
9
1618
by: Da~One | last post by:
This message has been posted to 2 groups, one to the VB.NET group, and the other to C#. I am trying to decide which language to commit to for a large scale project. I am looking for the input of people who have gone through this process before. I am currently leaning towards C# solely because I envision VB.NET slowing down exponentially...
14
2330
by: J.S. | last post by:
In a Windows Form application, which is the better method to concatenate large blocks of code? 1. Reading the text from text files. 2. Adding the text to the VB file itself? Thanks! J.S. --
30
3839
by: David T. Ashley | last post by:
I have a large project on a Linux box that may eventually have several hundred 'C' source files, which need to be compiled and linked into several executables. Not all of the executables will use all of the files (i.e. there would be no linker references to some symbols). The project will naturally be broken down into several or more...
4
2718
by: raidvvan | last post by:
Hi there, We have been looking for some time now for a database system that can fit a large distributed computing project, but we haven't been able to find one. I was hoping that someone can point us in the right direction or give us some advice. Here is what we need. Mind you, these are ideal requirements so we do not expect to find...
2
2626
myusernotyours
by: myusernotyours | last post by:
Hi everyone. I have a problem that I can't resolve. I am working on a c++ project that uses an oracle database. I am using the oracle proc precompiler and my source files therefore have a .pcp extension. I can get syntax coloring by telling vc to do so for .pcp extension in the tools -> options dialog. I expect to get intellisense just by doing...
0
7659
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7882
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8103
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7634
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7945
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6244
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5208
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2079
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1194
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.