Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343590

Summary: [xbase] add parameter tooltips
Product: [Modeling] TMF Reporter: Niko Stotz <eclipse>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, moritz.eysholdt, sebastian.zarnekow
Version: 2.0.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Niko Stotz CLA 2011-04-21 12:55:59 EDT
Build Identifier: I20110310-1119

In Java, if I press Ctrl+Shift+Space within a method call I get a tooltip showing information about the required parameters or a dropdown to select one of the overloaded variants. This is not available in xbase.

Reproducible: Always

Steps to Reproduce:
parameter information:
in Tutorials.xbase, type ( | showing cursor position):
var str = "this is a string".codePointCount(|          )
in Java editor, I get a tooltip displaying the type, name and current (bold) argument. 

Overloaded variant selection:
in Tutorials.xbase, type ( | showing cursor position):
var substr = "this is a string".substring(|     )
in Java editor, I get a list of all possible overloaded variants.
Comment 1 Sebastian Zarnekow CLA 2012-01-23 17:38:53 EST
Startet to implement parameter tooltips for content proposals and overloaded variants.
Comment 2 Sebastian Zarnekow CLA 2012-04-02 16:31:53 EDT
We should probably add a shortcut that brings this parameters hints up without invoking CA.
Comment 3 Christian Dietrich CLA 2016-05-04 09:22:17 EDT
this feature is there (ParameterContextInformationProvider) but the impl seems broken