GithubHelp home page GithubHelp logo

dr3 / move-ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stringham/move-ts

0.0 1.0 0.0 965 KB

A Visual Studio Code plugin for updating relative imports when moving typescript files and folders in your workspace.

License: MIT License

TypeScript 100.00%

move-ts's Introduction

Move TS README

Supports moving typescript files and updating relative imports within the workspace.

Features

Moves TypeScript files and folders containing TypeScript and updates their relative import paths.

How to use

demo

Release Notes

1.11.3

Add support for path mapping for Windows users.

1.11.2

Add support for path mapping when mapping to multiple paths.

1.11.0

Support multi select in the explorer for moving multiple items at the same time. Must be moving all items from the same folder.

1.10.0

Added an option to make edits in vscode instead of changing the files on disk. This makes each file changed open in a new tab. To enable set movets.openEditors to true in User Settings. For large projects sometimes vscode struggles to open all of the files.

1.9.0

Added the ability to resolve relative paths based on the location of tsconfig.json. To enable set movets.relativeToTsconfig to true in User Settings.

1.8.2

Fix a bug when a moved file has two import statements using the same module specifier.

1.8.1

Improve indexing performance using the TypeScript parser.

1.8.0

Use the TypeScript parser instead of regular expressions to find and replace imports.

1.7.1

Fix bug with indexing in Windows.

1.7.0

Improve performance of indexing the workspace.

1.6.0

Report progress with vscode's withProgress extension api when indexing the workspace.

1.5.0

Added support for tsconfig.json CompilerOptions -> paths.

1.4.0

Added support for *.tsx files.

New configuration option that can limit which paths are scanned: movets.filesToScan should be an array of strings and defaults to ['**/*.ts', '**/*.tsx']

1.3.1

Allow initiating moving the current file with a hotkey. To use edit keybindings.json and add:

{
    "key": "ctrl+alt+m",
    "command": "move-ts.move",
    "when": "editorTextFocus"
}

1.3.0

Support updating relative paths in export statements

1.2.0

Support for Windows paths

1.1.0

Add movets.skipWarning configuration option

1.0.0

Initial release of Move TS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.