Supports moving typescript files and updating relative imports within the workspace.
Moves TypeScript files and folders containing TypeScript and updates their relative import paths.
Added the ability to remove the filename from index file imports. To disable set movets.removeIndexSuffix
to false
in User Settings.
Add support for path mapping for Windows users.
Add support for path mapping when mapping to multiple paths.
Support multi select in the explorer for moving multiple items at the same time. Must be moving all items from the same folder.
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.
Added the ability to resolve relative paths based on the location of tsconfig.json
. To enable set movets.relativeToTsconfig
to true
in User Settings.
Fix a bug when a moved file has two import statements using the same module specifier.
Improve indexing performance using the TypeScript parser.
Use the TypeScript parser instead of regular expressions to find and replace imports.
Fix bug with indexing in Windows.
Improve performance of indexing the workspace.
Report progress with vscode's withProgress extension api when indexing the workspace.
Added support for tsconfig.json
CompilerOptions -> paths.
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']
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"
}
Support updating relative paths in export statements
Support for Windows paths
Add movets.skipWarning
configuration option
Initial release of Move TS