Skip to content

File operations should consider adding quotes when dealing with spaces #2681

@martin-braun

Description

@martin-braun

Is this a question?
Please start a new Q&A discussion instead of raising a feature request.

Can this functionality be implemented utilising API?
No, and it would make sense to change this for a better default behavior.

Is your feature request related to a problem? Please describe.
When hitting . while being on an object in the tree, it will enter command mode while having the absolute path already inserted. This is nice and all, until the absolute path contains spaces.

Describe the solution you'd like
I think it would make sense to surround the path with quotes by default to circumvent the problem.

Describe alternatives you've considered
Inserting it on my own, but it feels repetitive.

Additional context
It should be discussed if quotes can cause any problems. I only ever use this feature to launch OS specific commands with bang, so I don't know.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions