"What if? Why not? Challenge the Convention! Let's do some incredible things!"
Pro Android 4
Our Android Books
Stuff I used to do
Download OSCON 2004 Presentation
Eclipse in 2017
This document is intended for a reasonably experienced Java programmer to start using eclipse effectively in a couple of hours. This is distilled information with the obious left unstated.
This document is an ongoing list of frequently attempted or needed eclipse taks. I will be updating this document as I find new ones.
call "%EXECUTABLE%" jpda run %1 %2 %3
When I double click on an item in a directory, eclipse opens the file using OS. How to tell it to lay off and use the default text editor
I can drag the file. but I would rather double click it
The problem is the source path. Particularly under tomcat. Under tomcat you place the dependency jar files under the web-inf/lib directory. As far as eclipse is concerned these are not jar files.
Because they are not jar files you can not open them and put a break point. You can do this if you move the jar files a level up and define them as a dependency to the webapp. If you do that more than one webapp might use the same jar files and thereby breaking the static variables.
The work around I have used is to define a new java project that just holds these jar files as build dependencies of that project. This project is constructed just as a holder of the jar files. Don't forget to define the jar files as build dependencies. This allows them to be shown up as expandable jar files in the file viewer allowing you to open the source file and put a break point.
In the remote debug configuration allow this project as one of the source paths.
Works like a maximize and restore
eclipse.exe -data drive:\yourworkspace
ctrl-shift-r: Look for a file
ctrl-shift-t: type search for a java source file
alt-shift-w: sync the file in navigator
ctrl-shift-m: import java type for the high lighted type name
ctrl-shift-o:import java types
ctrl-shift-f4: Close all opened files
ctrl-h: search for files in the workspace
ctrl-f: Search/replace with in a file
f5: Refresh any object project/package/file
Sort by Date
Sort by Name
My Web Logs
Made possible by