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

Bug 434776

Summary: Content assist recognizes prefix, but not name
Product: [ECD] Orion Reporter: Ethan Groves <egroves>
Component: JS ToolsAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, Michael_Rennie
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Ethan Groves CLA 2014-05-13 11:30:23 EDT
To recreate:

Go to any javascript file and type 'pg'
Hit ctrl + space to invoke content assist
You should see a list of 'postgres' templates

Now, go back to the file (close content assist) and type 'postgres'
Hit ctrl + space to invoke content assist
This time content assist does nothing

NOTE!
If you invoke content assist BEFORE you start typing, the inverse is true.  Now, content assist only recognizes 'postgres' and NOT 'pg'.
Comment 1 Michael Rennie CLA 2014-09-02 15:24:29 EDT
(In reply to Ethan Groves from comment #0)
> To recreate:
> 
> Go to any javascript file and type 'pg'
> Hit ctrl + space to invoke content assist
> You should see a list of 'postgres' templates

In Orion 7.0 if I type 'pg' I get no proposals, only once I start typing 'postgres' do I see the templates.

The name and prefix of the templates is defined like:

prefix: "postgres", //$NON-NLS-0$
name: "postgres client", //$NON-NLS-0$

So don't see how this could have ever happened using 'pg'


I'm going to close this as worksforme.