Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoshinorin/vscode-current-file-path-extension

VSCode extension. Display current file's path from absolute (root directory) or workspace highest directory in StatusBar by Unix style or Windows style.
https://github.com/yoshinorin/vscode-current-file-path-extension

visual-studio-code visual-studio-code-extension vscode vscode-extension

Last synced: 2 months ago
JSON representation

VSCode extension. Display current file's path from absolute (root directory) or workspace highest directory in StatusBar by Unix style or Windows style.

Awesome Lists containing this project

README

        

# Current File Path for Visual Studio Code

![](https://img.shields.io/badge/Release-v4.0.0-blue.svg?style=flat-square)
![](https://img.shields.io/badge/vscode-^1.70.0-blue.svg?style=flat-square)
[![CI](https://github.com/yoshinorin/vscode-current-file-path-extension/actions/workflows/ci.yaml/badge.svg)](https://github.com/yoshinorin/vscode-current-file-path-extension/actions/workflows/ci.yaml)

Visual Studio Code extension. This extension displays a current file path from absolute (root directory) or workspace highest directory in StatusBar by Unix style or Windows style.

## Features

* Display a current file's path in the StatusBar.
* Absolute (root directory) or starts from workspace highest directory
* You can select which to use by settings.
* You can change the path appearance with QuickPick or command palette.
* Path separator style can choose Unix or Windows.
* You can select which to use by settings.
* You can change it with QuickPick or command palette.
* Copy a current file path to clipboard.
* Copy a current file name to clipboard.
* Support copy feature on the remote-host.
* e.g. Remote-WSL, Remote-Linux
* You can set a display priority in the StatusBar by setting.

## Images

![](https://raw.githubusercontent.com/yoshinorin/vscode-current-file-path-extension/master/images/image.gif)

**Command Palette**

![](https://raw.githubusercontent.com/yoshinorin/vscode-current-file-path-extension/master/images/command-palette.png)

## Extension Settings

|Property|Description|value|Default|
|---|---|---|---|
|`currentFilePath.defaultPathStyle`|Specify default path style. Unix like or Windows like.|`unix`
`windows`|`unix`|
|`currentFilePath.priorityInStatusBar`|The priority in the statusBar. Higher values shown more to the left.| `0` ~ max int |`0`|
|`currentFilePath.defaultPathStartsFrom`|Default value of where the path is displayed starts from. Root directory or workspace highest directory.|`rootDirectory`
`workSpace`|`rootDirectory`|

## Requirements

* Visual Studio Code 1.70.0 later
* Linux will probably have to install [xsel](https://linux.die.net/man/1/xsel).
* e.g.) Debian/Ubuntu `sudo apt install xsel`

## Release Notes

Please see [releases](https://github.com/yoshinorin/vscode-current-file-path-extension/releases).