Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Move to a new file/ Move to file not working #51543

Open
vscodenpa opened this issue Jul 30, 2024 · 0 comments
Open

Refactor: Move to a new file/ Move to file not working #51543

vscodenpa opened this issue Jul 30, 2024 · 0 comments

Comments

@vscodenpa
Copy link
Owner

Type: Bug

With typescript 5.3.3 refactor "Move to a new file" does nothing, there is no message on debug console. Using "Move to file" produces this error

TypeScript Server Error (5.3.2) Debug Failure. False expression: No interactive refactor arguments available Error: Debug Failure. False expression: No interactive refactor arguments available at Object.getRefactorEditsToMoveToFile [as getEditsForAction] (/home/office/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/extensions/node_modules/typescript/lib/tsserver.js:139416:11) at Object.getEditsForRefactor (/home/office/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/extensions/node_modules/typescript/lib/tsserver.js:138303:31) at getEditsForRefactor2 (/home/office/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/extensions/node_modules/typescript/lib/tsserver.js:145818:32) at XA.e.getEditsForRefactor (/home/office/.vscode-server/extensions/vue.volar-2.0.8/node_modules/typescript-vue-plugin-bundle/index.js:2:17045) at IpcIOSession.getEditsForRefactor (/home/office/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd93...

It doesn't matter how to access this command, using light bulb or menu.

Using typescript 5.3.2 "Move to a new file" is working, "Move to file" is not, producing same error.
I use this feature a lot and would be very happy to see it running again!

VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10750H CPU - 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 47.76GB (23.71GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/office/Development/Training/react/nextjs/nextjs-api --remote=wsl+Ubuntu --crash-reporter-id c6e50e5f-1969-4eaf-b310-e019e8923f93
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.15.153.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-10750H CPU - 2.60GHz (12 x 2592)
Memory (System) 23.35GB (19.65GB free)
VM 0%
Extensions (109)
Extension Author (truncated) Version
vscode-nginx-conf ahm 0.3.5
Bookmarks ale 13.5.0
color-info bie 0.7.2
es7-react-js-snippets dsz 4.4.3
auto-close-tag for 0.5.15
auto-rename-tag for 0.1.10
react-jest-vscode-snippets jal 0.0.3
remote-containers ms- 0.375.1
remote-ssh ms- 0.108.0
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.86.0
vscode-remote-extensionpack ms- 0.25.0
remote-explorer ms- 0.4.1
remote-server ms- 1.5.0
env-cmd-file-syntax Nix 0.3.0
lcov-lang Ser 1.0.1
swdc-vscode sof 2.7.14
JavaScriptSnippets xab 1.8.0
ReactSnippets xab 2.4.0
fluent-terminal Xhe 0.1.0
gitdiffer aag 0.0.3
string-converter ada 0.1.2
vtexio-intellisense Age 1.5.3
vscode-nginx-conf ahm 0.3.5
case-change Aka 1.0.2
Bookmarks ale 13.5.0
color-info bie 0.7.2
vscode-tailwindcss bra 0.12.5
simple-react-snippets bur 1.2.8
npm-intellisense chr 1.4.5
path-intellisense chr 2.9.0
vscode-mdn-docs Cor 0.0.2
vscode-markdownlint Dav 0.55.0
vscode-notes dio 1.2.1
insert-color djl 1.0.2
githistory don 0.6.20
es7-react-js-snippets dsz 4.4.3
css-flexbox-cheatsheet dzh 3.3.4
gitlens eam 15.2.3
EditorConfig Edi 0.16.4
auto-import Ele 0.5.4
drag-import-relative-path Ele 0.2.5
prettier-vscode esb 10.4.0
farhan Far 1.0.9
git-project-manager fel 1.8.2
vscode-language-todo fir 1.2.3
auto-close-tag for 0.5.15
auto-complete-tag for 0.1.0
auto-rename-tag for 0.1.10
docker-explorer for 0.1.7
chatgpt-vscode gen 0.0.11
copilot Git 1.219.0
copilot-chat Git 0.12.2
vscode-pull-request-github Git 0.80.1
json2ts Gre 0.0.6
generatetype hat 1.0.1
ts-interface-from-class her 1.0.4
githd hui 2.3.5
css-to-jss inf 1.0.7
react-jest-vscode-snippets jal 0.0.3
search-node-modules jas 1.3.0
color-picker-universal Jer 2.6.0
typescript-code-navigator kdc 1.2.4
move-selection-to-new-file ken 1.0.1
vscode-codemetrics kis 1.26.1
graphql-for-vscode kum 1.15.3
ts-extension-pack loi 0.3.0
add-to-gitignore mac 1.0.0
markdown-shortcuts mdi 0.12.0
template-string-converter meg 0.6.1
diff-merge mos 0.7.0
vscode-docker ms- 1.29.1
debugpy ms- 2024.2.0
python ms- 2024.4.1
vscode-pylance ms- 2024.7.1
env-cmd-file-syntax Nix 0.3.0
indent-rainbow ode 8.3.1
vscode-graphql ors 0.3.18
vscode-jest Ort 6.2.5
casing-convention otn 1.3.0
git-log--graph phi 0.1.15
tsimporter pmn 2.0.1
prisma Pri 5.17.0
react-maker Qes 0.2.3
dockerfiletemplate Que 2.0.3
typescript-hero rbb 3.0.0
ReactION Rea 0.1.4
ActiveFileInStatusBar Ros 1.0.3
color-manager roy 0.7.5
vscode-paste-and-indent Rub 0.0.8
docker-dive san 1.0.2
lcov-lang Ser 1.0.1
git-merger sha 0.4.1
swdc-vscode sof 2.7.14
stepsize Ste 1.0.15
code-spell-checker str 3.0.1
move-ts str 1.12.0
auto-comment-blocks sty 1.1.1
svelte-vscode sve 108.5.4
sass-indented syl 1.8.30
markdown-docx tor 0.0.4
ts-versions-switcher typ 1.0.0
volar Vue 2.0.8
gitblame wad 11.0.1
JavaScriptSnippets xab 1.8.0
ReactSnippets xab 2.4.0
pretty-ts-errors Yoa 0.5.4
convert-object-to-jsx zac 1.1.0
file-size zh9 1.0.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
impr_priority:31102340
nativerepl2:31104044
refactort:31101459
ccplc:31103425
pythonrstrctxtcf:31103194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant