pucelle / vscode-css-navigation

Allowing Go to definition from HTML to CSS, or Find References from CSS to HTML.
https://marketplace.visualstudio.com/items?itemName=pucelle.vscode-css-navigation
MIT License
66 stars 7 forks source link

Add suport fo VueJS templates #8

Closed FDiskas closed 5 years ago

FDiskas commented 5 years ago

Hi, thanks for nice plugin. I have a request to support vuejs syntax example.vue

<template>
  <a href="#">
    <img
      class="step-row__status status-playing icon-svg icon-xs"
      src="assets/images/playing.svg"
      alt
    >

    <img
      class="step-row__status status-completed icon-svg icon-xs"
      src="assets/images/tick.svg"
      alt
    >

    <img class="step-row__status status-locked icon-svg icon-xs" src="assets/images/locked.svg" alt>

    <div
      class="step-row__content text-ellipsis"
    >lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum</div>
  </a>
</template>
FDiskas commented 5 years ago

Please make it work with octref.vetur plugin enabled

pucelle commented 5 years ago

Nice to meet you again, FDiskas. Currently I'm on vocation, I planed to work on this on next Tuesday. Thanks.

pucelle commented 5 years ago

Hi, FDiskas, I just released version 1.4.1 and add support for .vue file. Please help to check it. Thanks.

FDiskas commented 5 years ago

Works very well

pucelle commented 5 years ago

😄