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

Bug 467721

Summary: [tern] [assist] Polish the presentation of cross-file names in content assist headings
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: curtis.windatt.public, emoffatt
Version: 6.0   
Target Milestone: 9.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2015-05-20 10:43:36 EDT
With the new cross-file assist, proposals from outside the current file context are separated by headers with the name of the file they come from. This is all well and good, except that the name of the file is the full server path to the file, so you only see something like:

/file/OrionHome/fooreponame/etc/etc

in the assist popup.

We should remove a few (or all) of the preceding path elements and only show the name (or the name plus a few paths for context). Otherwise maybe we could show the 'required' name they belong to (but that might be even more confusing for the user).