Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » fabulous tool
fabulous tool [message #96923] Thu, 18 September 2003 17:48 Go to next message
Eclipse UserFriend
Originally posted by: paul.moore06.ca.com

Can I just say what a great tool eclipse is! So many cool little nice
things in it - I suspect it will be the vi of 21st century - everytime you
watch somebody use it you learn something new. Glad that there is a tips
and tricks section in the help

After having used it for a bit I have a few requests
- square cut copy and paste (alt drag in vs.net)
- a decent regex aware search and replace (like vs.net)
- a simple find in files (I cant understand the current search at all)
- file>open (the whole project based, dont worry about the file system
thing gets a lot of getting used to)
- shortcut key for last ant build
- quick fix (cool or what) on the right click menu when pointing at an
error

For the regex replace and 'find in files' I run with vs.net open as well
as eclipse
Re: fabulous tool [message #96939 is a reply to message #96923] Thu, 18 September 2003 19:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: faust.acm.org

> - square cut copy and paste (alt drag in vs.net)
Do you actually use this a lot? Are you using it for copying data values or
what? I'm an old slick edit user so I do understand it has its uses, but it
always seems so spreadsheet to me.

> - a simple find in files (I cant understand the current search at all)
There's always grep from the shell. What do you find confusing about it?
There's a semantically aware search which allows you to search on refs,
declarations, etc. Are you having issues with the scoping choices?

> - file>open (the whole project based, dont worry about the file system
> thing gets a lot of getting used to)
There are a couple of plugins which add a file->open option if that's your
bag. What do you want this for? Are you doing scratch work ... just use a
Scrapbook page.

> - shortcut key for last ant build
I thought you could put a key combo on Run Last Launched External Tool in
the prefs... someone correct me if I'm wrong.

> - quick fix (cool or what) on the right click menu when pointing at an
> error
Clicking on the lightbulb doesn't do it for you, eh?


Randy
Re: fabulous tool [message #96946 is a reply to message #96939] Thu, 18 September 2003 19:37 Go to previous messageGo to next message
Eclipse UserFriend
> > - shortcut key for last ant build
> I thought you could put a key combo on Run Last Launched External Tool in
> the prefs... someone correct me if I'm wrong.
>

You can but you cannot assign for the last Ant build.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=40803

HTH
Darins
Re: fabulous tool [message #96952 is a reply to message #96939] Thu, 18 September 2003 20:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul.moore06.ca.com

Randy Faust wrote:

> > - square cut copy and paste (alt drag in vs.net)

I use it once a month or so for miscellaneous things - when I use it its
really useful, given the number of little twiddles in the eclipse editor
this doesnt seem like a big ask. I just want to dump vs.net

> > - a simple find in files (I cant understand the current search at all)

no grep in windows. The current search has the same fixation on files in
the workspace as the whol UI has, I cant just say ' look in c:\foo\bar'

Say I know that I saw something somewhere is the source of xx, I want to
find it, look at it, and then cut and paste from it. THis seems like a
reasonable thing to ask. And you cant do it in eclipse

> > - shortcut key for last ant build
> I thought you could put a key combo on Run Last Launched External Tool in
> the prefs... someone correct me if I'm wrong.

> > - quick fix (cool or what) on the right click menu when pointing at an
> > error
> Clicking on the lightbulb doesn't do it for you, eh?

The vi effect in action for these 2 (although I dont think of ant as an
'external tool' so this is why I didnt find the option), you know things
that I dont :-) Thanks
Re: fabulous tool [message #97099 is a reply to message #96923] Fri, 19 September 2003 00:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

"Paul Moore" <paul.moore06@ca.com> wrote in message
news:bkd97u$e8b$1@eclipse.org...
> - a simple find in files (I cant understand the current search at all)

Select Search > File Search (or press Ctrl-H and make sure the File Search
tab is selected). This can do a textual search of every file in your
workspace or project or working set. It will be slower than the Java indexed
searches of course. BTW, newer 3.0 builds have a regular expression checkbox
you can turn on.

Also look at www.cygwin.com if you need a grep on Windows. Also Windows
Exporer has a find in files capability.

For global replaces, honestly I think once you get hooked on Eclipse's
refactoring you will rarely want to do that. Still it would be good to have
just in case so open a bugzilla or vote for one if it's already there..

> - file>open (the whole project based, dont worry about the file system
> thing gets a lot of getting used to)

Navigate > Open Resource (or Ctrl-Shift-R). Start typing a filename to
narrow down the list.

> - shortcut key for last ant build

Window > Preferences > Workbench > Keys. Pick category: Run, name: Run Last
Launched External Tool. Under Key Sequence click in the Name field, and
press the key sequence of your choice (I suggest Ctrl-Shift-F11). Click Add.
OK.

> - quick fix (cool or what) on the right click menu when pointing at an
> error

Save the file. Open the Problems view (Tasks in 2.1), right click on the
error message, and there should be a Quick Fix menu item. If it's grayed out
then no Quick Fix is available, thanks for playing.

Or click on the offending code in the editor and press Ctrl-1 (that's a
number one).

Or double-click on the lightbulb.

> For the regex replace and 'find in files' I run with vs.net open as well
> as eclipse

--
Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)
Re: fabulous tool [message #97290 is a reply to message #96952] Fri, 19 September 2003 10:58 Go to previous messageGo to next message
Eclipse UserFriend
In article <bkdhgc$l8r$1@eclipse.org>, paul.moore06@ca.com says...
> Randy Faust wrote:
>
> no grep in windows. The current search has the same fixation on files in
> the workspace as the whol UI has, I cant just say ' look in c:\foo\bar'

Two notes here:
1) see cygwin tools if you like *nix-like command-line tools.
2) In eclipse you can narrow the search to a "working set" which can be
a subproject (directory) or several subprojects/projects together.


Hope this helps,
-- Scott

============================================================ ==
Scott Stanchfield scott@javadude.com http://javadude.com

I haven't gotten *any* spam since joining http://knowspam.net!

Lead author of "Effective VisualAge for Java, Version 3"
http://javadude.com/evaj
Visit for Java Enlightenment! http://www.jguru.com
============================================================ ==
Re: fabulous tool [message #99955 is a reply to message #96923] Tue, 30 September 2003 08:21 Go to previous message
Eclipse UserFriend
Originally posted by: tim.tt1lock.org

Paul Moore wrote:

> Can I just say what a great tool eclipse is! So many cool little nice
> things in it - I suspect it will be the vi of 21st century [...]

Yes - that sounds about right to me ;-)
--
__________
|im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.
Previous Topic:Ctrl+TAB
Next Topic:Getting the real object out of IStructuredSelection resp. IJavaVariable
Goto Forum:
  


Current Time: Mon May 05 14:19:50 EDT 2025

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

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

Back to the top