This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258078 - Deletion of Symlinks
Summary: Deletion of Symlinks
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-20 16:56 UTC by twifty
Modified: 2016-02-24 13:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description twifty 2016-02-20 16:56:33 UTC
Not sure if this should be classed as a bug or a feature request, please adjust accordingly. Though I'm strongly inclined to believing it's a bug.

In large projects, it's often easier to manage code (especially when under a strict namespaced directory structure like psr4) to create symlinks (shortcuts) within a single working directory. The IDE cannot do this, but that is not the issue.

When deleting those symlinked directories from within the IDE, the symlink is deleted along with ALL the content, but the original directory remains (now empty). This shouldn't happen. When deleting a shortcut in Windows, for example, only the shortcut is removed.

I think the IDE should first detect if the directory is a symlink and act accordingly.