SlideServe
Menu
Préférences
© SlideServe · v2026

Getting Started with Eclipse: A Guide for New Programmers

cairo-booker avatar
16 diapositives · 323 Views · Nov 19, 2014

This guide introduces Eclipse, a powerful language-neutral integrated development environment (IDE) for programming in Java, HTML, C, C++, and more. Learn how to access Eclipse using your McGill University login, create a workspace to organize your projects, and discover essential features like code completion and on-the-fly error checking. Follow the step-by-step instructions to set up your first Java project and practice programming effectively. Embrace the simplification of coding and debugging, and let’s become great programmers together!

Getting Started with Eclipse: A Guide for New Programmers - slide 1
01 / 16Getting Started with Eclipse: A Guide for New Programmers
1 / 17

Télécharger la présentation

Getting Started with Eclipse: A Guide for New Programmers
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Getting started with Eclipse By Alexander Butyaev

  2. Eclipse • Language-neutral (Java, HTML, C/C++ etc) • IDE – integrated development environment • Facilitate seamless tool integration (add new tools to existing installed products)

  3. To run eclipse… • Use your CS login and password (e.g. Alexader Butyaev = abutya) • OR • Login to McGill Computer using your McGill email and McGill password (usually it is the same as your password in McGill Minerva system) - !!!TEMPORARY SPACE!!! • go to https://newuser.cs.mcgill.ca/ to create new user, it will ask you to enter McGill ID, First name, Second Name.

  4. To run eclipse… • Run Eclipse  (use double click / Enter button / ask neighbor). Use dashboard – type “Eclipse” • Create/open workspace – directory, where Eclipse will store almost all your code, resources, projects etc.

  5. Let’s be awesome programmers! • Following slides are taken from www.eclipse.org/eclipse/presentation/eclipse-slides.ppt

  6. Menu bar Text editor Perspective and Fast View bar Resource Navigator view Bookmarks view Properties view Message area Editor Status area Stacked views Tasks view Workbench Terminology

  7. Java Perspective • Java-centric view of files in Java projects • Java elements meaningful for Java programmers Javaproject package class field method Javaeditor

  8. Java Editor • Hovering over identifier shows Javadoc spec

  9. List of plausible methods Doc for method Java Editor • Method completion in Java editor

  10. Preview Quickfixes Java Editor • On-the-fly spell check catches errors early Click to see fixes Problem

  11. Statementtemplate Preview Java Editor • Code templates help with drudgery

  12. And so on… And so on… And so on… More features: here: www.eclipse.org/eclipse/presentation/eclipse-slides.ppt

  13. Why we really need this? • Simplification of writing code. All attention - to the idea • Helps to write good readable Java code (Formatting, Refactoring) • Simplification of running, debugging process • Because COMP250 instructors advise to use this IDE 

  14. Let’s Do Practice • Create your own project: • File  New  Project Java Project • Download both files from http://cs.mcgill.ca/~blanchem/250/tutorial/ • Put files in your workspace/Project_Name/src • They will automatically appeared in default package under src folder (Project Explorer). • Have a look at Example00.java • Looks good? Let’s run (“Play” button). What’s wrong?! • Have a look at Example01.java • Doesn’t look good? Point on the red underlining. What’s wrong?!

  15. Questions?

  16. Do something useful [Optional] • Use Eclipse as “cool” as possible. • Create any Class. • Create main method. (type “main” and use Ctrl+space). That’s it. • Want output something on the screen (Type “syso” and Ctrl+space). • And blablabla… So – you can type “if”, “while”, “for”, “switch” • But remember – computer is still stupid 