Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sleistner/vscode-fileutils
Visual Studio Code Extension
https://github.com/sleistner/vscode-fileutils
files typescript vscode vscode-extension
Last synced: 7 days ago
JSON representation
Visual Studio Code Extension
- Host: GitHub
- URL: https://github.com/sleistner/vscode-fileutils
- Owner: sleistner
- License: mit
- Created: 2016-05-03T10:44:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T04:21:58.000Z (2 months ago)
- Last Synced: 2024-09-11T10:49:29.964Z (2 months ago)
- Topics: files, typescript, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=sleistner.vscode-fileutils
- Size: 3.93 MB
- Stars: 188
- Watchers: 8
- Forks: 26
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![icon](images/icon-96x96.png)
# File Utils - Visual Studio Code Extension
[![Known Vulnerabilities](https://snyk.io/test/github/sleistner/vscode-fileutils/badge.svg)](https://snyk.io/test/github/sleistner/vscode-fileutils)
[![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)---
A convenient way of creating, duplicating, moving, renaming, deleting files and directories.
_Inspired by [Sidebar Enhancements](https://github.com/titoBouzout/SideBarEnhancements) for Sublime._
# How to use
![demo](images/demo.gif)
## Using the context menu:
- Right click on a file or folder in the Explorer pane or in a file tab.
- Select one of those command: `Copy Name`, `Duplicate...`, `Move...`, `Rename...`, `Delete...`.
- For comand `Copy name`, the file name is copied to the clipboard.
- For other command, answer the additional info requested:
- Duplicate: update path to duplicate near where the command palette is displayed.
- Move: update path to move to near where the command palette is displayed.
- Rename: update name in Explorer pane or near where the command palette is displayed
- Delete: answer Visual Studio Code delete dialog.### Using the command palette:
- Bring up the command palette, and select "File Utils: ".
- Select one of the commands mentioned below.
- Press [Enter] to confirm, or [Escape] to cancel.![howto](images/howto.png)
## Brace Expansion
> Brace expansion is a mechanism by which arbitrary strings may be generated.
Example file name input
```bash
/tmp/{a,b,c}/index.{cpp,ts,scss}
```will generate the following files
```bash
➜ tree /tmp
/tmp
├── a
│ ├── index.cpp
│ ├── index.scss
│ └── index.ts
├── b
│ ├── index.cpp
│ ├── index.scss
│ └── index.ts
└── c
├── index.cpp
├── index.scss
└── index.ts
```## Note
Non-existent folders are created automatically.
# Changelog
- [https://github.com/sleistner/vscode-fileutils/blob/master/CHANGELOG.md](https://github.com/sleistner/vscode-fileutils/blob/master/CHANGELOG.md)
# How to contribute
- [https://github.com/sleistner/vscode-fileutils/blob/master/CONTRIBUTING.md](https://github.com/sleistner/vscode-fileutils/blob/master/CONTRIBUTING.md)
# Disclaimer
**Important:** This extension due to the nature of it's purpose will create
files on your hard drive and if necessary create the respective folder structure.
While it should not override any files during this process, I'm not giving any guarantees
or take any responsibility in case of lost data.# Contributors
- [Steffen Leistner](https://github.com/sleistner)
- [Ilia Shkolyar](https://github.com/iliashkolyar)# License
MIT
# Credits
## Icon
- [Janosch, Green Tropical Waters - Utilities Icon](https://iconarchive.com/show/tropical-waters-folders-icons-by-janosch500/Utilities-icon.html)