This extension provides a flexible way to handle remote file paths by mapping them to your local machine. You can copy the local path directly or apply custom transformations to it, which can be used to trigger local scripts or open files in specific applications.
Features
Copy Local Mapped Path: Right-click on a file in a remote explorer and instantly copy its corresponding local path to your clipboard.
Custom Transformers: Define your own rules to transform the mapped path into any string format you need. This is useful for integrating with local scripts or tools that monitor the clipboard.
Configuration
This extension contributes the following settings, which you can configure in your settings.json file:
remote-open.mappings: An array of remote-to-local path mappings.
remote-open.mappingFilePath: Path to a YAML file containing additional path mappings. This is useful for sharing mappings across a team.
Example mappings.yaml: