vscode-docthis icon indicating copy to clipboard operation
vscode-docthis copied to clipboard

Vue files are broken

Open noalbalint opened this issue 2 years ago • 1 comments

Works great in .js and .ts files, but in .vue files the extension fails with Sorry! 'Document This' wasn't able to produce documentation at the current position.

For example, this computed property:

  private get assetDisplayName(): string {
    if (asset.enabled) {
      return 'enabled';
    }
    return 'disabled';
  }

I see in extension.ts that you are supporting Vue files, but it seems like something is broken maybe?

Thank you 🙏

noalbalint avatar Jan 06 '23 22:01 noalbalint

I am finding this same error in .ts files. Coincidentally I am using Vue elsewhere though 🤔 I have diabled all the extentions I have for Vue to see if it was that, but can't get it to work.

image

xon52 avatar Jan 08 '23 10:01 xon52