Skip to content

Expand Selection support #1350

Open
Open
@mrhammadasif

Description

  • 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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions