facebook

Open Type (CTRL+SHIF+T) is slow

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #299582 Reply

    loteq
    Member

    Hi, I have not had this issue previously with the same set of projects.

    I recenly upgraded to the Myeclipse 7.5M1 because of the excrutiating performance problems in 7.1, and i have a problem when looking up types. I usually open my classes by invoking CTRL+SHIF+T where i can type a pattern in the filer. This now has a delay of several seconds, as everytime i invoke the dialog and start typing my patttern the tip indexing… is displayed with a percentage.

    Is there a fix for this?

    #299602

    Scott Anderson
    Participant

    loteq,

    Unfortunately, the delay will be related to the size of the workspace and the number of types in it. Other factors that could come into play are whether or not you leave Project > Build Automatically turned on (you should, for best performance), and how much memory you have configured/available (see MyEclipse > Utilities > Show Heap Status). You might want to see what your heap does as you invoke type lookup.

    #299635

    loteq
    Member

    “Unfortunately”, if I thought it was related to the size of my project I wouold not have wasted my time and yours posting a question here. The same set of projects worked (in respect to the type and resource lookup) in 7.1. Automatic build is of course turned on. Before you ask, the workspace was created from scratch and the projects reimported, I find it very strange that every time i invoke the type dialog the indexing restarts from scratch. This sure looks like a bug to me.

    #299650

    Scott Anderson
    Participant

    loteq,

    I tried to replicate the indexing behavior you’re reporting by doing the following:
    1) Installed MyEclipse 7.5
    2) Opened the CVS perspective and imported all the Example projects into the workspace
    3) Allowed the workspace to build
    4) Invoked Ctrl+Shift+T to bring up the types dialog
    5) Noted that the dialog showed a status of “Indexing…” with a percentage completed for several seconds
    6) Began typing in a type name and noted that the dialog showed a status of “Searching…” with a percentage complete, but did so very quickly and then completed.
    7) Closed the dialog
    8) Invoked Ctrl+Shift+T to bring up the types dialog
    9) Noted that no status was shown until I began typing and then “Searching…” was briefly shown as the status.
    10) Did this several more times and never saw the indexing message again.

    Please note that during this test no changes to the workspace was performed so there was no reason to re-index and no re-index is seen. Can you try this case “no changes between invocation” testing on your workspace and see if it behaves similarly?

    If you’re noticing a change of behavior between MyEclipse 7.1 and 7.5 it could also be due to a side-effect to one of the fixes to “Open Type” made by the Eclipse JDT team between the 3.4.1 and 3.4.2 releases. MyEclipse 7.1 was based on Eclipse 3.4.1 and MyEclipse 7.5 is based on Eclipse 3.4.2 and would have picked up any of their modifications as well.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Open Type (CTRL+SHIF+T) is slow

You must be logged in to post in the forum log in