History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-5532
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Maxim Mossienko
Reporter: Sascha Weinreuter
Votes: 23
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Language API: Allow custom Ctrl-Mouse popups

Created: 29 Jul 05 14:16   Updated: 31 Jul 06 20:52
Component/s: Plugin Support. API
Fix Version/s: Demetra 5231

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Depend
This issue depends on:
IDEADEV-3180 Provide Open API Normal Open
 

Build: 3,429
Fixed in build: 5,227
Severity: Medium


 Description  « Hide
There should be an easy way to display some popup information when hovering over a symbol when the ctrl-key is pressed

 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 11 Apr 06 20:09
Language.getDocumentationProvider().getQuickNavigateInfo()
Pluggable XML documentation provider should be separate request

Sascha Weinreuter - 29 Jul 06 15:30
Has anyone successfully used this yet? My Language's getDocumentationProvider() is never called, no matter where I move the mouse when having the Ctrl-key pressed. Please advise how this is supposed to be used and how it works.

Maxim Mossienko - 31 Jul 06 20:10
Reference is retrived under mouse pointer and its resolve result is used for quick navigate info.
Some tricky issue may be present when more than one ref at place.

Sascha Weinreuter - 31 Jul 06 20:49
OK, thanks. I got it working now, with a reference that resolves to something else than its containing element. I think it should work for self-references as well. And there should be some documentation for this stuff, most importantly for the fact that this needs a reference to work on and that it doesn't work for arbitrary PsiElements under the mouse-cursor. The name "DocumentationProvider" really doesn't imply how it works...

Maxim Mossienko - 31 Jul 06 20:52
ID references (resolved to self) are indead skipped when more than one ref at place