mbien commented on code in PR #8908:
URL: https://github.com/apache/netbeans/pull/8908#discussion_r2427574031
##########
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:
> Is this meant for existing users of NetBeans rather than new users?
NB doesn't import UI state on upgrade, this means that the window layout
always looks the same on very first launch.
--
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