These code will create a new "Navigate" menu rather than using existing one
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 20
### What happened
These code will create a new "Navigate" menu rather than using existing one
@ActionReferences({
@ActionReference(path = "Menu/Navigate", position = 0),
@ActionReference(path = "Shortcuts", name = "DO-P")
})
https://gitlab.com/mcheung63/netbeans-quick-outline/-/blob/master/src/main/java/hk/quantr/netbeansquickoutline/QuickOutlineAction.java?ref_type=heads
### Language / Project Type / NetBeans Component
Module
### How to reproduce
These code will create a new "Navigate" menu rather than using existing one
@ActionReferences({
@ActionReference(path = "Menu/Navigate", position = 0),
@ActionReference(path = "Shortcuts", name = "DO-P")
})
https://gitlab.com/mcheung63/netbeans-quick-outline/-/blob/master/src/main/java/hk/quantr/netbeansquickoutline/QuickOutlineAction.java?ref_type=heads
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
ubuntu
### JDK
20
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
nothing
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Read src/main/java/hk/quantr/netbeansquickoutline/QuickOutlineAction.java, focusing on its @ActionReferences entries for Menu/Navigate and Shortcuts. Verify how the action is registered in the existing Navigate menu and confirm that enabling the module no longer creates a duplicate menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100