Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367902 - [Xtend] Editor freezes for 10+ secs if hovered class/fn doesn't have source code
Summary: [Xtend] Editor freezes for 10+ secs if hovered class/fn doesn't have source code
Status: CLOSED FIXED
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: M6   Edit
Assignee: Holger Schill CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 17:22 EST by Aykut Kilic CLA
Modified: 2017-09-19 17:09 EDT (History)
4 users (show)

See Also:
sven.efftinge: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aykut Kilic CLA 2012-01-04 17:22:06 EST
There's a problem I encounter when using the xtend editor. When I hover on a type name with mouse it typically pops up a window with javadoc in it. That's normal if the type has source code. But if it doesn't, the editor (and eclipse) freezes for 10+ seconds and then nothing pops up and the editor resumes working.
Comment 1 Dennis Huebner CLA 2012-02-02 02:48:37 EST
Are you really use Xtext 2.2.0?
Could you please post Xtext build id or full version qualifier?
Comment 2 McKinley CLA 2012-02-02 10:44:15 EST
I'm seeing this problem with Xtend 2.3M5 and Juno 3.8M5 but I haven't paid attention to its interaction with Javadocs and source attachments. I only know that it is slow and churns through many resources. Here is a screencast of the delay: http://vimeo.com/36008963
Comment 3 Holger Schill CLA 2012-03-07 07:35:48 EST
Now the hover computation is done only ones and within a seperated thread. Thanks for the report. 
Pushed to master.
Comment 4 Karsten Thoms CLA 2017-09-19 16:58:23 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:09:36 EDT
Closing all bugs that were set to RESOLVED before Neon.0