Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Orion Code Editor contentassist hint ordering

Unfortunately, I do not think this is possible currently.  The order of services in the service registry is undefined. It depends on how plugins are loaded.
 
Usually there is only one content assist provider per content-type. What is the content-type you are trying to add hints? 
 
We could add a "ranking" property to the services to enforce some ordering (similar to the orion.core.file service). I suggest opening a bug report to get this enhancement investigated
 
Silenio
 
----- Original message -----
From: David Lee <dlee@xxxxxxxxxxxxxxxxxx>
Sent by: orion-dev-bounces@xxxxxxxxxxx
To: "orion-dev@xxxxxxxxxxx" <orion-dev@xxxxxxxxxxx>
Cc:
Subject: [orion-dev] Orion Code Editor contentassist hint ordering
Date: Wed, Aug 31, 2016 9:18 PM
 

Hi there,

Is there a way to change ordering of hint categories?

I made my own hints and I would like to put it on the top of the list.

I have to do the service registry last so it is showing at the end.

 

I been trying to get this to work with Vue.js and realized I could not do new orion.codeEdit multiple times and it got to be a singleton or it would not work.

 

 

I got the hints to be able to change but the main problem is the hints I made is at the bottom because the editor been created already and it got the tern hints already.

 

Anyone have a solution to make the hints in a different order?

 

I even tried splicing the _entries and that just caused errors.

 

Thank you,

David Lee

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
 


Back to the top