intellij-awesome-console icon indicating copy to clipboard operation
intellij-awesome-console copied to clipboard

Paths with spaces not supported

Open holycrepe opened this issue 8 years ago • 7 comments
trafficstars

Currently, a Windows-style path with a space is matched as separate paths. One possible fix for this is by allowing spaces in the URL pattern's path subgroup.

See PR #27

holycrepe avatar Aug 20 '17 08:08 holycrepe

hm this will create some performence problems with long lines, also its hard to catch all edge cases to determine how many space splitted parts are really a single file. simply adding spaces into the matcher opens op tons of other problems.

anthraxx avatar Oct 10 '17 15:10 anthraxx

Yes I agree. Perhaps we should allow for user-defined regex patterns?

holycrepe avatar Oct 11 '17 14:10 holycrepe

For example, I modified my script's output to put brackets around a space, which allows me to define a custom regex pattern that will match that script's output without the issues you mentioned

holycrepe avatar Oct 11 '17 15:10 holycrepe

image

hope can support space inside at a path like string start and end with " "

bluelovers avatar Aug 05 '19 02:08 bluelovers

Any news on this. Actually this is a must have feature. At least wrapping in quotes should be supported.

mahadi avatar Feb 11 '20 12:02 mahadi

Yes please, we need an "awesome/console/with path /with spaces/" support

lasote avatar May 21 '21 09:05 lasote

Any possibility to implement this as an opt-in for users who still need it (perhaps giving the option to specify that "" and '' paths with spaces are supported)? This would be really helpful.

mahadi avatar Aug 07 '23 15:08 mahadi