IntelliSense正在锁定VS C ++。NET Express [英] IntelliSense is locking VS C++.NET Express

查看:46
本文介绍了IntelliSense正在锁定VS C ++。NET Express的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在过去3周左右的时间内创建了我的应用程序。然后,从今天早上开始,智能感知似乎有问题。这是一个锁定的更新智能感知......。模式。当发生这种情况时,它需要关闭VS C ++ .NET,这只能通过Windows任务管理器完成。


我尝试修复C ++。它确实似乎有所帮助,但问题又回来了几个小时后。我将尝试创建一个新项目,复制源文件,并且

看看它是否以某种方式损坏了项目文件。


顺便说一下,最后一个它有一个问题的时候是我在一个派生自TreeView类的

自定义类中添加一行。 lne以

''ImageList''开头。这既是天生TreeView属性的名称,也是

它是什么!所以我想知道这种混淆的智能感知是否是某种方式。

之后,在我完成该行之前它无法知道上下文(我可能已经参考了poroperty,或者可能创建了一个新的

ImageList)。我个人试着永远不要说出相同的名字。它可能会让人感到困惑......:)


有没有办法可以关闭IntelliSense?我真的很喜欢这个功能,

但是如果崩溃就没有...


[== P ==]

解决方案

作为更新,我创建了一个新项目,复制了源文件,

编译了应用程序,然后运行。它仍然锁定

IntelliSense更新...。


所以,我已经重新启动,修复,重新启动创造了,问题仍然存在。

有什么想法吗?这使得编码超出SLOOOOWWWWW,因为我必须经常恢复
...


[== P ==]

Peteroid < PE ************ @ msn.com>在消息中写道

news:uX *************** @ TK2MSFTNGP12.phx.gbl ...

我正在创建我的申请在过去3周左右就好了。然后,从今天早上开始,IntelliSense似乎遇到了问题。它变成了一个锁定的更新智能感......。模式。当这发生时,关闭VS C ++ .NET,这只能通过Windows任务管理器来完成。

我试过修复C ++。它确实似乎有所帮助,但问题又回来了几个小时。我将尝试创建一个新项目,复制源文件,
并查看它是否以某种方式损坏了项目文件。

顺便说一下,上次遇到问题的时候是我正在向一个派生自TreeView类的自定义类添加一行。 lne以
''ImageList''开头。这既是先天TreeView属性的名称,也是它的本质!所以我想知道这种混淆的智能感知是否存在。
毕竟,在我完成这条线之前它不知道上下文(我可能已经引用了poroperty,或者可能创建了一个新的
ImageList实例)。我个人试着永远不要用相同的名字命名。
它也可能让人混淆......:)

有没有办法可以关闭IntelliSense?我真的很喜欢
功能,但如果它崩溃了就不行了......

[== P ==]



< blockquote>我好像修好了。如果我是对的,罪魁祸首是一个损坏的

应用程序标题(.h)文件。头文件包含我创建的

类的定义。我通过复制标题

文件的内容,删除标题文件,创建一个具有相同名称的新标题文件来解决问题,

将旧源粘贴到新创建的标题中文件。


从那时起,我的项目已经编译并且没有被锁定。但是如何将文本

文件损坏?标题(.h)文件不是严格的TEXT格式吗?


[== P ==]


" Peteroid" < PE ************ @ msn.com>在消息中写道

新闻:%2 ****************** @ tk2msftngp13.phx.gbl ...

作为更新,我创建了一个新项目,复制了源文件,编译了应用程序,然后运行。它仍然锁定了IntelliSense更新...。

因此,我已经重新启动,修复,重新创建,但问题仍然存在。
任何想法?由于我必须经常恢复,所以这使得编码超出了SLOOOOWWWWW ...

[== P ==]

Peteroid < PE ************ @ msn.com>在消息中写道
新闻:uX *************** @ TK2MSFTNGP12.phx.gbl ...

我正在创建我的应用程序就好了过去3周左右。然后,从今天早上开始,IntelliSense似乎遇到了问题。它变成了一个锁定的更新智能感......。模式。当这发生时,关闭VS C ++ .NET,这只能通过Windows任务管理器来完成。

我试过修复C ++。它确实似乎有所帮助,但问题又回来了几个小时。我将尝试创建一个新项目,复制源文件,
并查看它是否以某种方式损坏了项目文件。

顺便说一下,上次遇到问题的时候是我正在向一个派生自TreeView类的自定义类添加一行。 lne以
''ImageList''开头。这既是先天TreeView属性的名称,也是它的本质!所以我想知道这种混淆的智能感知是否存在。
毕竟,在我完成这条线之前它不知道上下文(我可能已经引用了poroperty,或者可能创建了一个新的
ImageList实例)。我个人试着永远不要说出相同的东西。它也可能让人感到困惑......:)

有没有办法可以关闭IntelliSense?我非常喜欢
功能,但如果崩溃则不行......

[== P ==]






" Peteroid" < PE ************ @ msn.com> skrev i meddelandet

新闻:Os **************** @ TK2MSFTNGP12.phx.gbl ...

我好像修好了。如果我是对的,罪魁祸首是一个损坏的应用程序标题(.h)文件。头文件包含我创建的类的定义。我通过复制头文件的内容,删除头文件,创建一个具有相同名称的新头文件来修复问题,将旧源粘贴到新创建的头文件中。 />
从那以后,我的项目已经编译并且没有被锁定。但是
文本文件怎么会被破坏?标题(.h)文件不是严格的TEXT
格式吗?


当然存在问题随机发生的风险。

更改几乎所有内容可能会修复它现在...


我看到了完全相同的问题,但无法重新创建

触发情况。这就是我昨晚做的事情


全新安装的VC ++ Express。创建一个新项目,静态库

顺便说一句,并开始添加现有的源文件。之前尝试过这个,

我一次添加一个,试图找出哪个有

问题。添加6个文件后,正在更新智能感知出现了,并且VS

挂起。


所以我重启,创建一个新项目。这一次从文件开始

数字6.工作正常,当然。 :-)


我再次添加前5个文件。现在我有一个相同的项目,但这次它似乎工作了
。编译好,Intellisense更新确定。

好​​吗?


所以我再添加两个文件,然后我们再去! 更新

Intellisense在98%的CPU使用率下,永远持续下去。


MS仍然声称这是他们为2005年发布的b / b
修复的错误之一。 :-)


所以,我放弃了。

Bo Persson

[== P ==]

Peteroid < PE ************ @ msn.com>在消息中写道
新闻:%2 ****************** @ tk2msftngp13.phx.gbl ...

作为更新,我创建了一个新项目,复制了源文件,编译了应用程序,然后运行。它仍然锁定了IntelliSense Updating ......。

所以,我重新启动,修复,重新创建,仍然是问题所在/>坚持下去。有任何想法吗?由于我必须经常恢复,所以这使得编码非常简单......

[== P ==]

Peteroid < PE ************ @ msn.com>在消息中写道
新闻:uX *************** @ TK2MSFTNGP12.phx.gbl ...

我正在创建我的应用程序就好了过去3周左右。
然后,从今天早上开始,IntelliSense似乎遇到了问题。它进入锁定的更新智能感知......模式。
当发生这种情况时,关闭VS C ++ .NET,只能通过Windows任务管理器完成。

我尝试修复C ++。它似乎有所帮助,但问题是几个小时后回来了。我将尝试创建一个新项目,复制源文件,看看它是否是一个损坏的项目文件。

顺便说一下,它最后一次有一个问题是当我向一个派生自TreeView类的自定义类添加
行时。 lne
以''ImageList''开头。这既是先天的TreeView属性的名称,也是它的本质!所以我想知道这是否会以某种方式混淆IntelliSense。毕竟,在我完成
之前,它无法知道上下文(我可能已经引用了poroperty,或者可能创建了一个新的ImageList实例)。
我个人尽量不要以同样的方式命名。它也可能让人感到困惑......:)

有没有办法可以关闭IntelliSense?我真的很喜欢
这个功能,但如果它崩溃了就不行了......

[== P ==]





I was creating my application just fine for the last 3 weeks or so. Then,
starting this morning, IntelliSense seems to be having problems. It goes
into a locked ''Updating IntelliSense..." mode. When this happens its time to
close VS C++.NET, which can only be done via the Windows Task Manager.

I tried repairing C++. It did seem to help, but the problem is back a few
hours later. I will try creating a new project, copy over source files, and
see if it is somehow a corrupted project file.

By the way, the last time it had a problem was when I was adding a line to a
custom class which derives from TreeView class. The lne started with
''ImageList''. This is both the name of the innate TreeView property and also
what it is! So I''m wondering if this confused IntelliSense somehow. After
all, before I finished the line it couldn''t know the context (I might have
been refering to the poroperty, or possibly creating a new instance of
ImageList). I personally try to never name things identically. It can be
confusing to humans too... : )

Is there a way to possibly turn off IntelliSense? I really love the feature,
but not if it crashes...

[==P==]

解决方案

As an update, I created a new project, copied over the source files,
compiled the application, and it runs. And it still locks up with
"IntelliSense Updating...".

So, I''ve re-booted, repaired, re-created, and still the problem persists.
Any ideas? This is making coding excedingly SLOOOOWWWWW since I have to
recover so often...

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:uX***************@TK2MSFTNGP12.phx.gbl...

I was creating my application just fine for the last 3 weeks or so. Then,
starting this morning, IntelliSense seems to be having problems. It goes
into a locked ''Updating IntelliSense..." mode. When this happens its time
to close VS C++.NET, which can only be done via the Windows Task Manager.

I tried repairing C++. It did seem to help, but the problem is back a few
hours later. I will try creating a new project, copy over source files,
and see if it is somehow a corrupted project file.

By the way, the last time it had a problem was when I was adding a line to
a custom class which derives from TreeView class. The lne started with
''ImageList''. This is both the name of the innate TreeView property and
also what it is! So I''m wondering if this confused IntelliSense somehow.
After all, before I finished the line it couldn''t know the context (I
might have been refering to the poroperty, or possibly creating a new
instance of ImageList). I personally try to never name things identically.
It can be confusing to humans too... : )

Is there a way to possibly turn off IntelliSense? I really love the
feature, but not if it crashes...

[==P==]



I seem to have fixed it. If I''m right, the culprit was a corrupted
application header (.h) file. The header file contained the definition of a
class I created. I fixed the problem by copying the contents of the header
file, deleting the header file, creating a new header file with same name,
paste old source into newly created header file.

My project has compiled and not locked up ever since. But how can a text
file be corrupted? Are header (.h) file not strictly TEXT format?

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

As an update, I created a new project, copied over the source files,
compiled the application, and it runs. And it still locks up with
"IntelliSense Updating...".

So, I''ve re-booted, repaired, re-created, and still the problem persists.
Any ideas? This is making coding excedingly SLOOOOWWWWW since I have to
recover so often...

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:uX***************@TK2MSFTNGP12.phx.gbl...

I was creating my application just fine for the last 3 weeks or so. Then,
starting this morning, IntelliSense seems to be having problems. It goes
into a locked ''Updating IntelliSense..." mode. When this happens its time
to close VS C++.NET, which can only be done via the Windows Task Manager.

I tried repairing C++. It did seem to help, but the problem is back a few
hours later. I will try creating a new project, copy over source files,
and see if it is somehow a corrupted project file.

By the way, the last time it had a problem was when I was adding a line
to a custom class which derives from TreeView class. The lne started with
''ImageList''. This is both the name of the innate TreeView property and
also what it is! So I''m wondering if this confused IntelliSense somehow.
After all, before I finished the line it couldn''t know the context (I
might have been refering to the poroperty, or possibly creating a new
instance of ImageList). I personally try to never name things
identically. It can be confusing to humans too... : )

Is there a way to possibly turn off IntelliSense? I really love the
feature, but not if it crashes...

[==P==]





"Peteroid" <pe************@msn.com> skrev i meddelandet
news:Os****************@TK2MSFTNGP12.phx.gbl...

I seem to have fixed it. If I''m right, the culprit was a corrupted
application header (.h) file. The header file contained the
definition of a class I created. I fixed the problem by copying the
contents of the header file, deleting the header file, creating a new
header file with same name, paste old source into newly created
header file.

My project has compiled and not locked up ever since. But how can a
text file be corrupted? Are header (.h) file not strictly TEXT
format?
There is of course the risk that the problem occurs at random.
Changing just about everything might "fix" it for now...

I have seen exactly the same problem, but cannot recreate the
triggering situation. Here''s what I did last night

A fresh install of VC++Express. Create a new project, static library
btw, and start adding existing source files. Having tried this before,
I add them one at a time, to try to find out which one has the
problem. After adding 6 files, "Updating Intellisense" appears, and VS
hangs.

So I restart, create a new project. This time starting with file
number 6. Works fine, of course. :-)

I add the first 5 files again. Now I have an identical project, but
this time it seems to work. Compiles well, Intellisense updates ok.
Fine?

So I add another two files, and there we go again! "Updating
Intellisense" at 98% CPU usage, going on forever.

And MS still claims that this is one of the bugs they fixed for the
2005 release. :-)

So, I give up.
Bo Persson

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

As an update, I created a new project, copied over the source
files, compiled the application, and it runs. And it still locks up
with "IntelliSense Updating...".

So, I''ve re-booted, repaired, re-created, and still the problem
persists. Any ideas? This is making coding excedingly SLOOOOWWWWW
since I have to recover so often...

[==P==]

"Peteroid" <pe************@msn.com> wrote in message
news:uX***************@TK2MSFTNGP12.phx.gbl...

I was creating my application just fine for the last 3 weeks or so.
Then, starting this morning, IntelliSense seems to be having
problems. It goes into a locked ''Updating IntelliSense..." mode.
When this happens its time to close VS C++.NET, which can only be
done via the Windows Task Manager.

I tried repairing C++. It did seem to help, but the problem is
back a few hours later. I will try creating a new project, copy
over source files, and see if it is somehow a corrupted project
file.

By the way, the last time it had a problem was when I was adding a
line to a custom class which derives from TreeView class. The lne
started with ''ImageList''. This is both the name of the innate
TreeView property and also what it is! So I''m wondering if this
confused IntelliSense somehow. After all, before I finished the
line it couldn''t know the context (I might have been refering to
the poroperty, or possibly creating a new instance of ImageList).
I personally try to never name things identically. It can be
confusing to humans too... : )

Is there a way to possibly turn off IntelliSense? I really love
the feature, but not if it crashes...

[==P==]





这篇关于IntelliSense正在锁定VS C ++。NET Express的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆