Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

xamm/OIL

Repository files navigation

Show File in File Explorer Extension

This extension is used to open the current place of the opened file in the file explorer.

Build Status and License

Build status Licence

Build it yourself

Needed tools

nodejs

Yarn or NPM(comes with nodejs)

TypeScript

Build it

Clone the repository: git clone https://github.com/xamm/OIL.git Open the repository in a terminal window.

Run yarn or npm install from the project folder in a terminal. Run tsc also from a terminal inside the project folder.

Output directory is out/. You can now run this sourcecode with e.g. VisualStudio Code.

Settings

"showFileExtension.copyPathToClipBoard": false,
"showFileExtension.copyWithoutFilename": false

CopyPathToClipBoard

If true no file explorer will be opened, but the path to the file will be copied to clipboard.

CopyWithoutFilename

Only active if copyPathToClipBoard is true. If copyWithoutFilename is true the copied path will be without filename.

Features

Opens the current file in the file explorer or copies the path to the file to clipboard.

With the extension the filepath will be displayed on the statusbar.

Open Explorer

alt text

When you click on this path the folder containing the displayed file will be opened.

alt text

Copy to clipboard

If the setting showFileExtension.copyPathToClipBoard is true the explorer won't be opened but the path will be copied to the clipboard

Requirements

Currently only works on Mac and Linux.