Book Image

Eclipse Plug-in Development Beginner's Guide - Second Edition

By : Alex Blewitt
Book Image

Eclipse Plug-in Development Beginner's Guide - Second Edition

By: Alex Blewitt

Overview of this book

Eclipse is used by everyone from indie devs to NASA engineers. Its popularity is underpinned by its impressive plug-in ecosystem, which allows it to be extended to meet the needs of whoever is using it. This book shows you how to take full advantage of the Eclipse IDE by building your own useful plug-ins from start to finish. Taking you through the complete process of plug-in development, from packaging to automated testing and deployment, this book is a direct route to quicker, cleaner Java development. It may be for beginners, but we're confident that you'll develop new skills quickly. Pretty soon you'll feel like an expert, in complete control of your IDE. Don't let Eclipse define you - extend it with the plug-ins you need today for smarter, happier, and more effective development.
Table of Contents (24 chapters)
Eclipse Plug-in Development Beginner's Guide Second Edition
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – using the CSS Spy


To provide interactive debugging, Eclipse 4 has the CSS Spy, a dialog that can provide information about the user interface widget under the mouse. This can be invoked from the Quick Access search box, by typing css spy, or by pressing the Shift + Alt + F5 keys.

  1. Move the cursor to the Quick Access search box by pressing Cmd + 3 (on macOS) or Ctrl + 3 (on other platforms), or by clicking in the search box with the mouse.

  2. Enter spy in the quick access bar, and a list of Eclipse 4 spies will be shown, including the CSS Spy:

  3. Select the CSS Spy from the list, and the spy view will be shown. The user interface is represented as a tree structure, and by selecting individual elements of the user interface, a red highlight box will show where the selected element is located on screen:

  4. It is also possible to open the spy in its own window by pressing the Alt + Shift + F5 keys:

    Tip

    If the CSS spy is not shown in a floating window, reset the perspective with Window | Perspective...