Skip to content
Visual Studio Code Extension
TypeScript Dockerfile
Branch: master
Clone or download
semantic-release-bot chore(release): 3.0.1 [skip ci]
## [3.0.1](v3.0.0...v3.0.1) (2020-01-15)

### Bug Fixes

* **FileItem:** ensure file exists before deleting it ([7a44326](7a44326))
Latest commit 0c718f3 Jan 15, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.devcontainer chore(devcontainer): remove comments Aug 20, 2019
.github/ISSUE_TEMPLATE chore: update issue templates Nov 11, 2018
.vscode fix(NewFileCommand): show folder selector Aug 23, 2019
images chore: update extension icon Aug 26, 2019
src fix(FileItem): ensure file exists before deleting it Jan 15, 2020
test fix(FileItem): ensure file exists before deleting it Jan 15, 2020
.gitignore fix(FileItem): ensure file exists before deleting it Jan 15, 2020
.releaserc chore: update travis release Aug 20, 2019
.travis.yml debug(travis): windows Aug 20, 2019
.vscodeignore fix(TreeWalker): handle large directory structures safely Aug 27, 2019
CHANGELOG.md chore(release): 3.0.1 [skip ci] Jan 15, 2020
CONTRIBUTING.md chore: add contributing.md Nov 11, 2018
LICENSE Initial commit May 3, 2016
PULL_REQUEST_TEMPLATE.md
README.md fix(TreeWalker): handle large directory structures safely Aug 27, 2019
package.json chore(release): 3.0.1 [skip ci] Jan 15, 2020
tsconfig.json test: add vscode-test support Aug 12, 2019
tslint.json fix(FileItem): ensure file exists before deleting it Jan 15, 2020
yarn.lock chore(package): update lockfile yarn.lock Dec 22, 2019

README.md

Build Status Dependency Status Known Vulnerabilities Greenkeeper badge semantic-release

File Utils - Visual Studio Code Extension

A convenient way of creating, duplicating, moving, renaming, deleting files and directories.

Inspired by Sidebar Enhancements for Sublime.

How to use

demo

Using the command palette:

  • Bring up the command palette, and select "File: ".
  • Select one of the commands mentioned below.
  • Press [Enter] to confirm, or [Escape] to cancel.

howto

Note

Nonexistent folders are created automatically.

Commands

[
    {
        "command": "fileutils.renameFile",
        "category": "File",
        "title": "Rename"
    },
    {
        "command": "fileutils.moveFile",
        "category": "File",
        "title": "Move"
    },
    {
        "command": "fileutils.duplicateFile",
        "category": "File",
        "title": "Duplicate"
    },
    {
        "command": "fileutils.removeFile",
        "category": "File",
        "title": "Delete"
    },
    {
        "command": "fileutils.newFile",
        "category": "File",
        "title": "New File Relative to Current View"
    },
    {
        "command": "fileutils.newFileAtRoot",
        "category": "File",
        "title": "New File Relative to Project Root"
    },
    {
        "command": "fileutils.newFolder",
        "category": "File",
        "title": "New Folder Relative to Current View"
    },
    {
        "command": "fileutils.newFolderAtRoot",
        "category": "File",
        "title": "New Folder Relative to Project Root"
    },
    {
        "command": "fileutils.copyFileName",
        "category": "File",
        "title": "Copy Name Of Active File"
    }
]

Context Menu

{
    "explorer/context": [
        {
            "command": "fileutils.moveFile",
            "group": "edit"
        },
        {
            "command": "fileutils.duplicateFile",
            "group": "edit"
        }
    ],
    "editor/context": [
        {
            "command": "fileutils.moveFile",
            "group": "edit"
        },
        {
            "command": "fileutils.duplicateFile",
            "group": "edit"
        }
    ]
}

Configuration

{
    "fileutils.delete.useTrash": {
        "type": "boolean",
        "default": false,
        "description": "Move file to the recycle bin instead of deleting it permanently."
    },
    "fileutils.delete.confirm": {
        "type": "boolean",
        "default": true,
        "description": "Controls if it should ask for confirmation when deleting a file."
    },
    "fileutils.rename.closeOldTab": {
          "type": "boolean",
          "default": true,
          "description": "Controls whether to close the tab of the renamed file (Will work only if 'Close On File Delete' setting is disabled)"
    },
    "fileutils.move.closeOldTab": {
          "type": "boolean",
          "default": true,
          "description": "Controls whether to close the tab of the moved file (Will work only if 'Close On File Delete' setting is disabled)"
    },
    "fileutils.typeahead.enabled": {
        "type": "boolean",
        "default": true,
        "description": "Controls if directory selector should be shown."
    }
}

Changelog

How to contribute

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

License

MIT

You can’t perform that action at this time.