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 - Change of "Copy File Path" row delimiter in Search Results List from Space to Line Feed
Summary: Change of "Copy File Path" row delimiter in Search Results List from Space to...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-18 07:42 UTC by bht
Modified: 2016-07-01 18:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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