Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Code Recommenders » Setting Snipmatch repositories programmatically
Setting Snipmatch repositories programmatically [message #1702961] Mon, 27 July 2015 15:08 Go to next message
Matthias Nicklisch is currently offline Matthias NicklischFriend
Messages: 20
Registered: July 2015
Junior Member
Hey there,

I am deep diving into Eclipse Oomph and I want to setup Snipmatch with my oomph setup. I know what I have to do, the problem is, I cannot record the needed preferences, so I don't know which preference I have to set.

I need a key which looks something like this:

/instance/org.eclipse.core.resources/refresh.lightweight.enabled
/instance/org.eclipse.ui.editors/lineNumberRuler

I think there could be something like this in snipmatch, too, or is there a config file in which everything is stored.

I hope you can help me.

Thanks in advance.
Re: Setting Snipmatch repositories programmatically [message #1702982 is a reply to message #1702961] Mon, 27 July 2015 16:53 Go to previous messageGo to next message
Marcel Bruch is currently offline Marcel BruchFriend
Messages: 285
Registered: July 2009
Senior Member

The repository configurations are not stored as preferences. They are stored in separate EMF files.

See ${workspace}/.recommenders/snipmatch/repositories.config to get your current configuration.

To get an overview about which preferences exist, I'd recommend installing a preference browser like [1].

HTH,
Marcel


[1] http://codeandme.blogspot.de/2013/08/preferences-browser-plug-in.html

[Updated on: Mon, 27 July 2015 16:54]

Report message to a moderator

Re: Setting Snipmatch repositories programmatically [message #1703035 is a reply to message #1702982] Tue, 28 July 2015 07:41 Go to previous message
Matthias Nicklisch is currently offline Matthias NicklischFriend
Messages: 20
Registered: July 2015
Junior Member
Hey,

thanks, that helped =)
Previous Topic:[AERI] Server source code
Next Topic:Code completion code style
Goto Forum:
  


Current Time: Mon Dec 11 19:25:03 GMT 2017

Powered by FUDForum. Page generated in 0.01525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software