netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Close whole documents list at once

Open mbien opened this issue 2 years ago • 3 comments

Originally posted by @6PATyCb in https://github.com/apache/netbeans/issues/4710#issuecomment-1272557189

When too much files is opened I like to use documents list format for manage it: image

but in that format would be good to have close button to group of documents: image

mbien avatar Oct 09 '22 15:10 mbien

Hello @mbien, can you assign me this issue and help me navigate a little in the project?

Richard7111 avatar Oct 11 '22 15:10 Richard7111

hi @Richard7111

sure. Take a look at platform/core.multitabs.

you could set a breakpoint here: https://github.com/apache/netbeans/blob/1a9b29d627a0f343837dc053b56e8de32d6ff689/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ButtonPopupSwitcher.java#L445-L456

Don't try to close editor tabs with unsaved changes since this can cause issues.

how to build NetBeans and work with modules was recently answered here. https://github.com/apache/netbeans/discussions/4664#discussioncomment-3756079

mbien avatar Oct 11 '22 16:10 mbien

Hello @6PATyCb, I am not able to find how to create documents list in the IDE, where should I look for this feature. Google was no help. Could you please help me?

EDIT: Managed to find it.

Richard7111 avatar Oct 13 '22 14:10 Richard7111

Choose menu Tools -> Options -> Appearance -> check "Sort opened documents list by project". Then open several projects.

troizet avatar Oct 13 '22 15:10 troizet

Hello @6PATyCb, I am not able to find how to create documents list in the IDE, where should I look for this feature. Google was no help. Could you please help me?

EDIT: Managed to find it.

Hi! Take a look at @troizet comment

6PATyCb avatar Oct 13 '22 18:10 6PATyCb