Skip to content

Urgent! The emit defined by the child component, when used in the parent component, VSCode cannot jump to the definition! 急急急! 子组件定义的emit,在父组件中使用时,VSCode无法跳转到定义 #550

@qq1063823095

Description

@qq1063823095

Describe the bug

错误信息:

image

源码为本仓库的源码中的:

unplugin-vue-components/examples/vite-vue3

image

VSCode使用的插件:

image

复现方式:

  1. pnpm install
  2. 重启vscode
  3. 如图,光标放在定义的事件上,键盘按F12

Reproduction

unplugin-vue-components/examples/vite-vue3

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 5.97 GB / 15.83 GB
  Binaries:
    Node: 16.17.1 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.15.0 - D:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.819.0), Chromium (107.0.1418.35)
    Internet Explorer: 11.0.22621.1

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy