Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debugging, formatting, workspace, and code assist questions
Debugging, formatting, workspace, and code assist questions [message #38573] Sun, 25 May 2003 15:23 Go to next message
Eclipse UserFriend
1) When creating a new project, the default is to put the files in a
subdirectory of the workspace dir. I know I can change the workspace
via the -data command line option, but this means the .metadata
directory is put there too. Can I change the default project directory
to something other than the workspace dir?

2) The code assist only seems to know about changes in files once
they're saved. For example, if I add a method to one class and then use
it in another, it will tell me it doesn't exist until I save the first
one. How do I get Eclipse to use the edited but not saved version?
Auto-saving whenever I switch files would be acceptable too.

3) When my app or applet terminates, Eclipse stays in the debug
perspective. Can I get it to automatically switch back to the Java
perspective?

4) Format (ctrl+shift+F), which the description says formats the
selected text, selects the entire file before formatting. Is this
normal? Ideally it would format the line I'm on or the selected lines
if any.

I'm running Eclipse 2.1 with JDK 1.4 on Windows XP.

I was just told on IRC that #3 is intentional and #4 is a known bug, but
I thought I'd keep them here in case anyone knows a workaround.

-Mark
Re: Debugging, formatting, workspace, and code assist questions [message #39564 is a reply to message #38573] Mon, 26 May 2003 09:57 Go to previous messageGo to next message
Eclipse UserFriend
> 1) When creating a new project, the default is to put the files in a
> subdirectory of the workspace dir. I know I can change the workspace
> via the -data command line option, but this means the .metadata
> directory is put there too. Can I change the default project directory
> to something other than the workspace dir?
Uncheck 'Use default' in the New Java project wizard.

> 2) The code assist only seems to know about changes in files once
> they're saved. For example, if I add a method to one class and then use
> it in another, it will tell me it doesn't exist until I save the first
> one. How do I get Eclipse to use the edited but not saved version?
> Auto-saving whenever I switch files would be acceptable too.
This is not currently possible, but we're working on this. See bug 36888.

Jerome
Re: Debugging, formatting, workspace, and code assist questions [message #40766 is a reply to message #38573] Tue, 27 May 2003 11:53 Go to previous message
Eclipse UserFriend
> 3) When my app or applet terminates, Eclipse stays in the debug
> perspective. Can I get it to automatically switch back to the Java
> perspective?

This is not currently supported. You could file a feature request with the
debugger.

Darin
Previous Topic:File navigation question
Next Topic:How to open multi-console simultaneously?
Goto Forum:
  


Current Time: Tue Jul 08 14:29:01 EDT 2025

Powered by FUDForum. Page generated in 0.34049 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top