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

The Expand Selection function of typescript import in svelte is different from the default TypeScript #2619

Open
rxliuli opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rxliuli
Copy link

rxliuli commented Dec 6, 2024

Describe the bug

For example, in the following simple ts code, if the cursor is placed in front of error, the selected logic is inconsistent with the default.

Kapture.2024-12-06.at.12.26.19.mp4
<script lang="ts">
  import { serializeError } from 'serialize-error'
</script>

error => import { serializeError } from 'serialize-error'

import { serializeError } from 'serialize-error'

error => serialize-error => 'serialize-error' => import { serializeError } from 'serialize-error'

Reproduction

As above.

Expected behaviour

As above.

System Info

System:
OS: macOS 14.4.1
CPU: (12) arm64 Apple M2 Max
Memory: 12.31 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
IDEs:
VSCode: 0.43.5 - /usr/local/bin/code

Which package is the issue about?

Svelte for VS Code extension, svelte-language-server

Additional Information, eg. Screenshots

No response

@rxliuli rxliuli added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant