Java keywords are purple;
plain comments appear in green; javadoc-style comments appear in a pale blue; strings are
colored blue; and normal code is black. This is all quite customizable to your liking as well.
The right side of Eclipse displays another feature common among IDEs: a class browser. Class
browsers enable developers to see the structure of their programs from the point of view of the
code modules that make up the program rather than as mere files in a directory. This feature is
not terribly useful for a small program such as HelloWorld.java, but larger programs that
760
Programming in Linux Part VI
consist of dozens of classes or code modules are much easier to navigate using a code or class
browser.
The bottom of the screen shows various information and status windows. For example, the
Problems view shows problems that might have occurred while compiling the program. Eclipse,
like many other IDEs, allows you to double-click on an error in the Problems view to jump right to
the error in the associated code file (see Figure 28-2).
FIGURE 28-2
Eclipse??™s Problems view
The Javadoc view, which is unique to the Eclipse Java development plug-in, enables you to view
the output of Javadoc, a tool that creates documentation from specially formatted Java source code
comments.
Pages:
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386