javavscode
javavscode copied to clipboard
extension is providing incorrect quickfix code actions
I see this in the extension host logs:
2024-04-25 20:33:33.896 [warning] Oracle.oracle-java - Code actions of kind 'quickfix 'requested but returned code action is of kind 'refactor.rewrite'. Code action will be dropped. Please check 'CodeActionContext.only' to only return requested code actions.
This is using the latest v22.0
Can you please provide steps to reproduce the issue where you got incorrect quick actions?
I am not really sure. I keep getting a popup message like "Element with id 17 is already registered" - which I "think" is a gradle issue - but in looking through the logs to see what might be causing this I found those warnings, so I thought I would report it.
Because the warnings log that you have shared were present in previous version of extensions as well, so problem is faced with quickfix code actions or some gradle issue is there? Can you please clarify this.
I noticed the message in the logs - which seems to indicate there is a problem with the quickactions code in the extension. I don't have any more details than that - sorry.
FYI: PR raised on the netbeans side: https://github.com/apache/netbeans/pull/7368
Fix available in NB-23
Nice work!
اريد كود حساب اسم معين
Merged