First the good news: I have found the way to get
some of these Mac-centric keystroke shortcuts to work now.
The ones that work are cut/copy/paste and home and end and
commmand+` to rotate among windows and command+a to select
all. Command+w and command+n and command+o still do not
work.
The key to accomplishing these features is to
Edit|Configure the category Java Settings to "Mac OS X
Aqua".
Now some not so good news:
When use the mouse or command+a to select some text
in the ijx window, I cannot DEselect the text with a mouse
click anywhere. Instead I must use the right or left arrow
on the keyboard to DEselect it.
It would be especially nice if under the
Edit|Configure the category Shortcuts, the Modify button
included some Command+... options in addition to the
Ctrl+... options.
I have not figured out how to used Oleg's hint to
alter more keystrokes, though. I have not found "... the
keyboard mapper in Java action code ... " to which Oleg
refers. (Oleg can you say more about this, please?)
<begin Oleg's hint>
This is addressed in the keyboard mapper in Java
action code that instead of Ctrl uses a cross-platform
modifier. Same for menu.
int ACCL =
Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
menu.add(new AbstractAction("Reset") {
public void actionPerformed(ActionEvent e) {
...
}
}).setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R,
ACCL));
</end Oleg's hint>
There does NOT appear any way to make command+w
close a window.
I still cannot get the command+. nor esc to
interrupt a process, but that is not critical to most of my
work. Below is the way I tried to get an interrupt. After
each "delay 4" I would press various key combinations, to no
avail. Perhaps this is a result of the new interrupt
features mentioned in this release; perhaps not.
delay=: 6!:3
delay 4
4
delay 4
4
delay 4
4
I am really pleased to have found a way to make some
of the command+... keystrokes work in the IDE.
(B=)
On Wed, 31 May 2006, Brian Schott wrote:
+ Eric,
+
+ The Mac IDE editor uses control instead of command
+ for all of cut/copy/paste and is very annoying in this way.
+ Command+O for open and script file would be nice instead of
+ control+O as would command+N instead of control+N for a new
+ ijs window. Also the Home and End keys are ignored. Also
+ there is no syntax coloring available. Also there is no
+ close window key which should be command+W. Less of a
+ problem is the lack of command+P for print.
+
+ I gather that all IDE's require shift+arrow for
+ moving between lines, but that is awkward, too.
+
+ And I use vi mostly because I get little extra from
+ J's IDE.
+
+ (B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm