Skip to main content



      Home
Home » Eclipse Projects » Oomph » setup content assist
setup content assist [message #1839933] Thu, 01 April 2021 08:31 Go to next message
Eclipse UserFriend
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 09:09 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: setup content assist [message #1839940 is a reply to message #1839938] Thu, 01 April 2021 10:47 Go to previous messageGo to next message
Eclipse UserFriend
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 13:15 Go to previous message
Eclipse UserFriend
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.
Previous Topic:filter and variable inside a macro
Next Topic:JRE Task Default VM Arguments
Goto Forum:
  


Current Time: Fri Jul 04 15:07:54 EDT 2025

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

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

Back to the top