Skip to content

Commit 7438440

Browse files
MichalSycmaglie
authored andcommitted
configurable shortcut for comment / uncomment
1 parent e4ebd4a commit 7438440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Editor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ public void actionPerformed(ActionEvent e) {
13441344

13451345
menu.addSeparator();
13461346

1347-
JMenuItem commentItem = newJMenuItem(tr("Comment/Uncomment"), '/');
1347+
JMenuItem commentItem = newJMenuItem(tr("Comment/Uncomment"), PreferencesData.get("editor.keys.shortcut_comment", "/").charAt(0));
13481348
commentItem.addActionListener(new ActionListener() {
13491349
public void actionPerformed(ActionEvent e) {
13501350
getCurrentTab().handleCommentUncomment();

0 commit comments

Comments
 (0)