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 150314 - Wrong default shortcut for paste. By default CTRL+V for single xsd file is associated with refactor copy
Summary: Wrong default shortcut for paste. By default CTRL+V for single xsd file is as...
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 05:08 UTC by Vitaly Bychkov
Modified: 2016-07-07 09:57 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 Vitaly Bychkov 2008-10-16 05:08:10 UTC
By default CTRL+V for single xsd file is associated with "Refactor Copy..." which doesn't allow to cut/copy single xsd 
file between different projects.
Steps to reproduce:

1. create 2 projects e.g. xslt and bpel.
2. create xsd file in one of them
3. invoke CTRL+C or CTRL+X on xsd file.
4. invoke CTRL+V on another project 
5. See Copy File dialog. Project and location are equals to the first project name and source
More over it is suggested to put xsd file into package "src". I don't know ehere it is from because Location filed 
already point to the source folder.
So:
- It is impossible to choose another project
- If one invokes "Refactor" button the new folder "src" is created in the same project with xsd file inside - it is 
absolutly strange behavior.

IMO paste single xsd file without refactoring and is expected default action for CTRL+V. And it is in consistence with 
another paste file actions in netbeans.
Comment 1 Vitaly Bychkov 2008-10-16 05:23:08 UTC
In case java classes paste action with refactoring is common use case but even here it is possible to check "Copy 
without refactoring".

For xsd files or refactoring dialog should be corrected or simple paste associated by default with CTRL+V
Comment 2 Martin Balin 2016-07-07 09:57:02 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss