question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expand Selection support

See original GitHub issue
  • 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

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
robsonsobralcommented, Mar 8, 2020

Hi!

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

0reactions
edu-hilariocommented, Dec 15, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selection.Expand method (Word) - Microsoft Learn
Expands the specified range or selection. Returns the number of characters added to the range or selection. Long.
Read more >
Expand a selection | Maya 2019 | Autodesk Knowledge Network
All options support preselection highlighting, letting you preview your selection before it's made. To expand a selection. Select an object.
Read more >
Expand selection functionality issues #4795 - GitHub
I confirm this Expand Selection functionality is eagerly awaited. We can always rely on extension to fix it but a better built-in support...
Read more >
Extend/shrink selection | ReSharper Documentation - JetBrains
The Extend Selection command allows you to successively select expanding logical blocks of code so that you can easily select any expression in...
Read more >
What exactly does “Expand Selection to Scope” do?
The function “Expand Selection to Scope” does what the name says. It expands the selection to the next matching scope boundaries.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found