Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » setup content assist
setup content assist [message #1839933] Thu, 01 April 2021 12:31 Go to next message
Helge Wiemann is currently offline Helge WiemannFriend
Messages: 3
Registered: July 2019
Junior Member
I am using the oomph installer with a custom setup file to install an Eclipse 2020 12R.

Now my problem is that the checkboxes in my preferences

Java -> Editor -> Content Assist -> Advanced -> Java Non-Type Proposals
Java -> Editor -> Content Assist -> Advanced -> Java Type Proposals

are not set after the installation.

How could I enhance my setup file that these checkboxes will be set with the install?

Re: setup content assist [message #1839938 is a reply to message #1839933] Thu, 01 April 2021 13:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32109
Registered: July 2009
Senior Member
Have you tried recording the change to it into your setup resource (from the toolbar button while the editor is open). I see that this is recorded
<?xml version="1.0" encoding="UTF-8"?>
<setup:PreferenceTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    key="/instance/org.eclipse.jdt.ui/content_assist_disabled_computers"
    value="org.eclipse.jdt.ui.javaChainProposalCategory${0x0}org.eclipse.jdt.ui.textProposalCategory${0x0}org.eclipse.jdt.ui.javaPostfixProposalCategory${0x0}"/>
That seems to perform properly for me.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: setup content assist [message #1839940 is a reply to message #1839938] Thu, 01 April 2021 14:47 Go to previous messageGo to next message
Helge Wiemann is currently offline Helge WiemannFriend
Messages: 3
Registered: July 2019
Junior Member
Well I want to have it like you see in my screenshot.

I had seen your post with disable_computers.
But I think that I would need enable_computers
Re: setup content assist [message #1839945 is a reply to message #1839940] Thu, 01 April 2021 17:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32109
Registered: July 2009
Senior Member
I'd have to investigate in detail how this is all represented in the preference tree. But recording the changes when I change it to what you show is like this:
<?xml version="1.0" encoding="UTF-8"?>
<setup:PreferenceTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    key="/instance/org.eclipse.jdt.ui/content_assist_disabled_computers"
    value="org.eclipse.jdt.ui.textProposalCategory${0x0}"/>
Did you actually try this?

Note that another functionality is the "Capture Preference" dialog. There you can create preference task based on the current settings of the preferences. If I filter all the preference to content_assist_ then I don't see anything like what you want. So my sense is that everything not explicitly disabled is therefore enabled.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:filter and variable inside a macro
Next Topic:JRE Task Default VM Arguments
Goto Forum:
  


Current Time: Wed Dec 01 04:25:04 GMT 2021

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

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

Back to the top