SamXChen / ts-viewer

Expose clear type and Generate mock data for Typescript Interface
1 stars 0 forks source link

On-hover prompt doesn't appear. #1

Open NorthPhoenix opened 8 months ago

NorthPhoenix commented 8 months ago

I always wanted an extension that can unwrap complex types for me, but I can't seem to make it work.

VSCode version: 1.86.2 List of installed extensions: alexcvzz.vscode-sqlite bierner.github-markdown-preview bierner.markdown-checkbox bierner.markdown-emoji bierner.markdown-footnotes bierner.markdown-mermaid bierner.markdown-preview-github-styles bierner.markdown-yaml-preamble blanu.vscode-styled-jsx bradlc.vscode-tailwindcss christian-kohler.npm-intellisense cschlosser.doxdocgen dbaeumer.vscode-eslint dsznajder.es7-react-js-snippets ecmel.vscode-html-css esbenp.prettier-vscode formulahendry.auto-rename-tag formulahendry.code-runner github.codespaces github.copilot github.copilot-chat grapecity.gc-excelviewer mhutchie.git-graph mintlify.document ms-python.black-formatter ms-python.debugpy ms-python.isort ms-python.python ms-python.vscode-pylance ms-toolsai.jupyter ms-toolsai.jupyter-keymap ms-toolsai.jupyter-renderers ms-toolsai.vscode-jupyter-cell-tags ms-toolsai.vscode-jupyter-slideshow ms-vscode-remote.remote-ssh ms-vscode-remote.remote-wsl ms-vscode.remote-explorer ms-vsliveshare.vsliveshare njpwerner.autodocstring oderwat.indent-rainbow orta.vscode-twoslash-queries prisma.prisma qwtel.sqlite-viewer rangav.vscode-thunder-client ritwickdey.liveserver samxchen.ts-viewer-extension sidthesloth.html5-boilerplate tomoki1207.pdf tonybaloney.vscode-pets wix.vscode-import-cost yoavbls.pretty-ts-errors zignd.html-css-class-completion

I made an easy example: image

SamXChen commented 8 months ago

Please capture the output message about ts-viewer from your vscode. e.g.

  1. open the Output Panel in your vscode;
  2. choose ts-viewer; image
NorthPhoenix commented 8 months ago

Here it is

Extension path: c:\Users\Nikita\.vscode\extensions\samxchen.ts-viewer-extension-0.3.4
{
  "version": "0.3.4",
  "name": "ts-viewer-extension",
  "dependencies": {
    "axios": {
      "version": "1.5.1",
      "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz",
      "overridden": false
    },
    "get-port": {
      "version": "6.1.2",
      "resolved": "https://registry.npmjs.org/get-port/-/get-port-6.1.2.tgz",
      "overridden": false
    },
    "prettier": {
      "version": "2.7.1",
      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
      "overridden": false
    },
    "ts-viewer-language-plugin": {
      "version": "0.3.3",
      "resolved": "https://registry.npmjs.org/ts-viewer-language-plugin/-/ts-viewer-language-plugin-0.3.3.tgz",
      "overridden": false
    }
  }
}

Dependencies already installed.
SamXChen commented 7 months ago

Dependencies are installed as expected. Please open tsserver.log in your vscode and check the log about [TS-Viewer]. If the extension and plugin work great, you would see the log as below.

image

Please post your log info and note any error you would see in the tsserver.log.

mohamedtsx commented 1 week ago

It works once, and I have to reload vscode to make it work again.

[TS-Viewer] image