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

Extension Conflicts with VS Code's 'Move to File' Refactoring #4638

Open
2315137135 opened this issue Aug 3, 2024 · 1 comment
Open

Extension Conflicts with VS Code's 'Move to File' Refactoring #4638

2315137135 opened this issue Aug 3, 2024 · 1 comment
Labels

Comments

@2315137135
Copy link

2315137135 commented Aug 3, 2024

Vue - Official extension or vue-tsc version

Vue - Official 2.0.28

VSCode version

1.92.0

Vue version

3.4.29

TypeScript version

5.5.4

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
    Memory: 14.26 GB / 31.95 GB
  Binaries:
    Node: 20.12.2 - ~\AppData\Local\pnpm\node.EXE
    Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 10.8.1 - ~\AppData\Local\pnpm\npm.CMD
    pnpm: 9.3.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Steps to reproduce

Create a ts file
Create any function
Right-click on the function name and select the Refactor option.
Click on the Move to file option
image

What is expected?

file selection option appears

What is actually happening?

An error message appears in the lower right corner
image

TypeScript Server Error (5.5.4)
Debug Failure. File d:/Project/Web/xxxxxx/apps/web/src/components/BabylonScene.vue has unknown extension.
Error: Debug Failure. File d:/Project/Web/xxxxxx/apps/web/src/components/BabylonScene.vue has unknown extension.

Link to minimal reproduction

No response

Any additional comments?

No response

@davidmatter davidmatter added bug Something isn't working 🔨 p3-minor-bug and removed pending triage labels Aug 5, 2024
@jojo233-x
Copy link

It seems a TS bug. See microsoft/TypeScript#56749

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

No branches or pull requests

3 participants