kisstkondoros / codemetrics

VSCode extension which shows the complexity information for TypeScript class members
Other
402 stars 20 forks source link

Support for .vue files with vue-class #67

Closed gwen1230 closed 5 years ago

gwen1230 commented 5 years ago

Is it possible to add support for vue file with vue-class ?

I use Vetur but i haven't any information about complexity in my vue file :

<script lang="ts">

@Component
export default class AdhesionRead extends Vue {

  get toto() {
    return 'toto'
  }

  private test(path, object) {
    return path.split('.').reduce((obj: any, key: string) => {
      return obj[key];
    }, object);
  }
}
</script>
kisstkondoros commented 5 years ago

Should be fixed in vscode-codemetrics@1.19.1.