Bug 559929

Summary: Properties of source folders should consistently allow configuring the same things as Java Build Path
Product: [Eclipse Project] JDT Reporter: Stephan Herrmann <stephan.herrmann>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.15   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stephan Herrmann CLA 2020-02-07 13:12:08 EST
In the package explorer, when you open the properties of a source folder, you see a lonely option:
  Java Compiler > [ ] Ignore optional compile problems

This property is just one (random) element from the list of things you can configure via Java Build Path > Source

This was observed by a colleague trying to set the "Contains test source" property.

I'm aware that right-click > Build Path ... > Configure Build Path brings up the full dialog (Project Properties) focused on the selected source folder, but I'd argue that > Properties is far better known than > Build Path.

Given we already have that one buildpath related option, wouldn't it be nice if the actual "Java Build Path > Source" tab be included in the source folder's properties? (with content restricted to the selected element).

Similar considerations would apply to other IPackageFragmentRoot.