Skip to content

Jojoshua/auto-rename-file

Repository files navigation

Features

  • Automatically renames a file for you based on what it ends with
  • Optionally inserts some text into that file

Why would I ever use this?

This extension is intended to boost productivity when you have to type longish file extensions.

My primary use case was using this to reduce time and misspelling in creating .svelte files for SVELTE

Extension Configuration

Add entry into your VSCode settings.json file and configure like the example below

  "autoRenameFile": {
    "config": [
      {
        "from": ".sv",
        "to": ".svelte"
      },
      {
        "from": ".svt",
        "to": ".svelte",
         "insertText": "<script lang='ts'>\n\n</script>"
      }
    ]
  }

Donation

If this software helped you, donate a cup of coffee :)

Donate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published