mbien commented on code in PR #8908:
URL: https://github.com/apache/netbeans/pull/8908#discussion_r2427020762
##########
platform/favorites/src/org/netbeans/modules/favorites/Module.java:
##########
@@ -53,10 +68,38 @@ public void run() {
shortcuts.add(file);
}
}
- return shortcuts.toArray(new File[0]);
+ return shortcuts.toArray(File[]::new);
};
UIManager.put(LFCustoms.FILECHOOSER_SHORTCUTS_FILESFUNCTION,
favAppender);
}
+
+ // very first open editor tab event will also open the Favorites tab
Review Comment:
AFAIK the Projects/Files group isn't handled by ergonomics
1) the tab group is set up via regular config
2) code is then opening the group on project open, it even has logic to
close it again but it isn't working for some reason
https://github.com/apache/netbeans/blob/083a13a24d4b4a4023b84a2faefb3f4a630808fa/ide/projectuiapi/src/org/netbeans/modules/project/uiapi/OpenProjectsListener.java#L42
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists