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 258885

Summary: Change of "Copy File Path" row delimiter in Search Results List from Space to Line Feed
Product: platform Reporter: bht <bht>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description bht 2016-04-18 07:42:01 UTC
A Search Results List has a context menu item "Copy File Path" [Alt+Shift+L]
If the selection contains multiple items, then all file names are copied into a single row, the delimiter between the file names being a space.

Because of this, the result on the clipboard does not even remotely look like the result on the list. One would expect as many rows as selected in the list.

The delimiter should be changed to the platform specific line feed.

I find it extremely annoying having to deal with all data on a single line.
Comment 1 Jaroslav Havlin 2016-04-19 05:35:11 UTC
The space character is used as delimiter intentionally, so that the list of files can be pasted into command line and be used directly with various commands. (See bug 153728 comment 26.)

We could make the action configurable, or implement an alternative action that would use "newline" separator.

You may also try to install plugin Path Tools [1].

[1] http://plugins.netbeans.org/plugin/676/path-tools