Instructions: Answer the following questions one at a time. After answering each question, check your answer (by clicking on the check-mark icon if it is available) before proceeding to the next question.
Getting Ready: Before going any further, you should:
eclipseskills.
eclipseskills
project, drag the file ColorFinder.java
into the default package (using the "Copy files"
option).
ColorFinder.java.
eclipseskills project, pull down
to Properties, expand "Java Code Style" and select
"Formatter" in the left-side pane, select "Enable project-specific
settings" choose "Eclipse", and click
on OK.
{. To change the behavior of the formatter, select the
"Braces" tab and choose "Next Line" for everything but "Array initializer".
ColorFinder.java.
eclipseskills project, pull down
to Properties, expand "Java Code Style" and select
"Formatter" in the left-side pane, select "Lab Style" and click
on Edit....
lab_formatter.xml.
profiles which contains a
a single profile which, in turns, contains
one setting element for each option in the profile.
setting
element with an id of
"org.eclipse.jdt.core.formatter.lineSplit" and change
its value to "100".
eclipseskills project, pull down
to Properties, expand "Java Code Style" and select
"Formatter" in the left-side pane, select "Lab Style" as the
"Active profile", click on Import, navigate
to lab_formatter.xml, select "Overwrite the existing
profile" click on OK, and click on OK.
ColorFinder.java.
eclipseskills project, pull down to
Checkstyle and over to Create Formatter-Profile.
eclipseskills project, pull down to
Properties, expand Java Code Style,
select Formatter, choose the "Active profile"
named "eclipse-cs eclipseskills", click on Edit,
enter a profile name, click on Export,
navigate to an appropriate directory, enter a file name, click
Save, click OK, and click OK.
Copyright 2020