You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "sdedic (via GitHub)" <gi...@apache.org> on 2023/03/10 08:16:14 UTC

[GitHub] [netbeans] sdedic opened a new issue, #5647: VSCode extension allows to 'delete' dependencies from project with various results.

sdedic opened a new issue, #5647:
URL: https://github.com/apache/netbeans/issues/5647

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   The following issues were found:
   - Delete on direct dependency in Maven deletes the entry from the POM. But if the POM is opened in the active editor,  the change is only visible after switching active editor to another file and back, or after switching from vscode to another app and back.
   - Delete on *transitive dependency* has no effect at all from vscode. In NB IDE, there's `Exclude dependency` action that could be used. The `Delete` should either not be present, or map to the `Exclude dependency`.
   - Delete on Gradle dependencies has no effect. NB IDE does not allow to delete the dependency (the only actions are download javadoc and sources).
   - 
   
   ### How to reproduce
   
   Open a maven and a gradle project in vscode. For example some Micronaut project (see http://launch.micronaut.io for the project generator, allows to create with both build systems)  In Maven project, inspect the `Dependencies` node; in Gradle project `Configurations/compileClasspath node` - they show jar dependencies that offer `Delete` context action.
   
   - explorer the dependency (.jar) nodes
   - observe context actions offered on right-click on the JAR files
   - 
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu 22.04
   
   ### JDK
   
   java version "11.0.5" 2019-10-15 LTS
   
   ### Apache NetBeans packaging
   
   Apache VSNetBeans for VSCode
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists