Moving from JBuilder 2006 to JBuilder 2007
JBuilder 2007 has almost all of the functionality that JBuilder
2006 has, plus a lot more. One of the difficult things is finding where
that functionality is, because the UI is definitely different.
So I have come with a table listing the most common actions I use
in my day-to-day Java programming. I personally mainly use the keyboard,
so I've listed the keyboard shortcuts. For the more mouse-oriented of
you, I've also listed the menu access. This is not intended to be a
complete list, just the actions I commonly do. Hopefully it can help JBuilder 2006 users easily migrate to using JBuilder 2007.
Feature JBuilder 2007 JBuilder 2006, CUA Keymap Comments Find any class in your workspace/project Probably my most commonly used keystroke Quick Fix/Error Insight Now that I think about, I might use this as much as or more than
the previous item.Go to a method/field in a class In JBuilder 2007, you can also press Ctrl+O a second time to show inherited class
members. This is a neat feature not in JB2006Open Declaration / Find Definition Refactoring This one invokes the context menu with all the possible
refactorings.Rename Refactoring I like how you can directly go to a specific refactoring in
JB2007. I also use Alt+Shift+C (change signature), Alt+Shift+I
(inline), Alt+Shift+M (extract method) a lot, as well as some others.Show JavaDoc for method/class Find References
context menuThis does not seem as reliable in JB2007 as it was in
JB2006. In JB2007 it seems to sometimes to do a text-search, and seems
to turn up false matches for Java fields/methods. I haven't quite figured out what is going on here.Find References in file Run In JB2007, this runs your most recently run/debugged
configuration. In JB2006, this runs your default run
configuration.Debug In JB2007, this debugs your most recently run/debugged
configuration. In JB2006, this debugs your default run
configuration.Step Over (Debugger) When I first started using JB2007, this and Step Into were
the hardest keystrokes to learn. I kept wanting to press the JB2006
keystrokes.Step Into (Debugger) Quick Step Into (Debugger) (N/A) I miss this one a lot from JB2006. If you are in the debugger
positioned on this line:
With Quick Step Into, you can go directly to the first line of
someMethod(param1, methodForParam2());
someMethod()
.
With regular Step Into, you first go into methodForParam2()
,
then only after you return from that method, do you go to the first
line of someMethod()
. Of course, sometimes you want to go
into methodForParam2()
, but often you don't.Optimize Imports Who Changed this Line?
Context Menu Team Show Annotation
You can then hover the mouse over the gutter to view who changed each line. Note that
this is how you do it for Subversion. I don't know how and if this functionality can be invoked
for other Version Control implementations.I prefer the JBuilder 2006 way of doing this a lot more -- it's just a keystroke away. Although once you have done it
in JB2007, it does present a better overview. Incremental Search I prefer the JB2006 implementation of this -- the text you
type in is more visible, on top of the editor. In JB2007, it is on the
status bar.Find / Replace Well, at least one shortcut is the same!
没有评论:
发表评论