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

Expand Selection support #1350

Open
3 tasks done
mrhammadasif opened this issue Jul 9, 2019 · 8 comments
Open
3 tasks done

Expand Selection support #1350

mrhammadasif opened this issue Jul 9, 2019 · 8 comments

Comments

@mrhammadasif
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: Any
  • Vetur version: 0.21.1
  • VS Code version: 1.36

Problem

Command "Expand Selection" does not work properly in Vue files. It behaves Vue files as JavaScript file. It should work in Template as HTML and in Script section as JS

Reproducible Case

<div class="some random classes">
  <p>Some random paragraph</p>
</div>
  1. Take the above html example, move your cursor to the any of the given class of div
  2. Ctrl + Shft + P
  3. Expand Selection
  4. Consecutively doing Steps 2,3 should work select in these order

a. random
b. some random classes
c. class="some random classes"
d: <div class="some random classes">
e: whole div

@octref octref changed the title VSCode Command: Expand Selection improper Expand Selection support Aug 6, 2019
@robsonsobral
Copy link

Hi!

microsoft/language-server-protocol#613 is closed already.

@qgates
Copy link

qgates commented Feb 12, 2021

This is still an issue at vscode 1.53.2, and the above dependent issues are closed. Is a fix in the pipeline?

@Andrei-Zhulid
Copy link

Any updates on this issue?

@yzpTsubasa
Copy link

Same issue. Command editor.action.smartSelect.grow doesn't work well with Vue

@eduardohilariodev
Copy link

eduardohilariodev commented Dec 15, 2022

Has someone addressed this yet? I've been facing this issue constantly.

@RayPS
Copy link

RayPS commented Apr 4, 2024

In my case it works in <template> and <style> but not in <script>

@tommyopeters
Copy link

@RayPS Same with me. And having it work in <script> is actually pretty important to me

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

No branches or pull requests

10 participants