Eclipse CD5405 Manuel d'utilisateur Page 3

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 23
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 2
The Eclipse window above shows the Java perspective. It consists of a package explorer
panel on the left, a panel where error messages (and other informational messages) will be
displayed at the bottom. The main area on the top right is where your code will appear.
There is a lot of functionality to Eclipse, so it may take some time to master it, but the
basics are mostly intuitive.
One feature of Eclipse is that it checks your code as you enter it. When it finds an error, an
icon will appear in the left margin of the code area. The icon will either be a red X or a
red X with a light bulb . In either case, an error message will appear in the bottom
panel. If a light bulb is present and you single-click on the light bulb, Eclipse will offer some
suggestions on how to correct the error. Often it has the solution in its list; you can then
double-click on the solution to have Eclipse perform the necessary edits for you.
Take your time when Eclipse reports errors. First, errors often occur simply because you are
in the middle of doing something and these errors go away when you complete the task. So,
it is generally a good idea to ignore the warnings that come up while you are editing.
Second, read the messages carefully. They often have good advice. (But not always!
Computers are not actually very smart!) Third, before selecting a change to be applied
automatically, make sure you understand Eclipse’s suggestion. If you don’t understand it,
it’s probably not the right thing to do! Ask for help if you are confused.
Don’t try to run your program if it has any red X’s.
Some helpful commands
Over the course of the summer, we will investigate some of the commands in Eclipse that
are very helpful in getting your programming tasks done efficiently. For now, I would like
you to get used to using a few of these commands:
Vue de la page 2
1 2 3 4 5 6 7 8 ... 22 23

Commentaires sur ces manuels

Pas de commentaire