This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
6 Replies Last post: Jul 28, 2010 6:20 PM by Anton Mostovoy  
Cristian Trohin Newbie 6 posts since
Jan 15, 2010
Currently Being Moderated

Feb 8, 2010 5:47 PM

Go to java type is slow

Hello,

 

I noticed that when you use the Go to java type (Ctrl+N) popup, it works very slow when the matching types are very large classes. I think this is because when you go trough the matched items with the up/down arrows, the structure of that file is displayed in the structure view. Can this behavior be disabled? If so, where do I find this option.

 

If no such option exists, is it hard to implement? This option could really speed up the development in the case of large projects with large source class source code. I even have classes that contain 8000 lines of code. In the latest EAP version, the editing of such classes is much faster than before. I also disabled most of the inspections in order to speed it up. It was still a little slow.

 

Another thing that could be beneficial, would be to have options for the inspections to only show them when inspecting the code using Analyze menu->Inspect code, and not when performing on the fly inspections. Disabling the inspections caused a speed gain more speed, but one would still want to see those inspections when performing a full code analysis.

 

Thanks,

 

Chris

Guest
Currently Being Moderated
Feb 9, 2010 5:16 PM in response to: Cristian Trohin
Re: Go to java type is slow

Hello Cristian,

it is possible to configure to use empty inspection profile for your editor

and still use your default profile to inspect via Analyze|Inspect Code

 

It is possible to Ctrl-Shift-N to find java files but it would be better

if you can provide us a snapshot as I am not sure what can be slow there.

 

Thank you

-


Anna Kozlova

JetBrains Inc.

http://www.intellij.com

"Develop with pleasure!"

 

Hello,

 

I noticed that when you use the Go to java type (Ctrl+N) popup, it

works very slow when the matching types are very large classes. I

think this is because when you go trough the matched items with the

up/down arrows, the structure of that file is displayed in the

structure view. Can this behavior be disabled? If so, where do I find

this option.

 

If no such option exists, is it hard to implement? This option could

really speed up the development in the case of large projects with

large source class source code. I even have classes that contain 8000

lines of code. In the latest EAP version, the editing of such classes

is much faster than before. I also disabled most of the inspections in

order to speed it up. It was still a little slow.

 

Another thing that could be beneficial, would be to have options for

the inspections to only show them when inspecting the code using

Analyze menu->Inspect code, and not when performing on the fly

inspections. Disabling the inspections caused a speed gain more speed,

but one would still want to see those inspections when performing a

full code analysis.

 

Thanks,

 

Chris

 

---

Original message URL:

http://www.jetbrains.net/devnet/message/5256187#5256187

 

 

 

Anton Mostovoy Newbie 10 posts since
Feb 2, 2006
Currently Being Moderated
Jul 28, 2010 1:35 AM in response to: Cristian Trohin
Re: Go to java type is slow

I have the same problem in 9.0.2 and 9.0.3 even when Structure window is closed.  Typing and selecting in the "go to class" popup is very painful.

I'll open a bug.

Anton Mostovoy Newbie 10 posts since
Feb 2, 2006
Currently Being Moderated
Jul 28, 2010 6:20 PM in response to: Anton Mostovoy
Re: Go to java type is slow
Alex  Apprentice 1,016 posts since
May 19, 2003
Currently Being Moderated
Jul 28, 2010 3:48 AM in response to: Cristian Trohin
Re: Go to java type is slow

Hm.. I don't have any problem with IDEA 9.0.3 on quad core workstation.

 

However, I noticed if I have Structure pane open and then invoke goto class ALT+SHIFT+G, as I press UP/DOWN in the Class selection popup list, the Structure pane is updating.

Is that supposed to be a feature?  Because, I think the Structure Pane should continue to show the structure of the current class in the editor pane, not the class you have highlighted in the Class selection popup list.  The structure pane should only update once you press ENTER to select the class.  That would fix Cristian's problem.

 

I'm wondering if the Goto Class always worked like this with Structure Pane, or was it changed at some point?  I don't know since I rarely open up the structure pane.  In any case, it looks like a bug to me.

 

-Alex

More Like This

  • Retrieving data ...