outline-map icon indicating copy to clipboard operation
outline-map copied to clipboard

Vue 项目无法自动生成大纲

Open mingyong-g opened this issue 2 years ago • 4 comments

Describe the bug Vue 项目无法自动生成大纲

To Reproduce Steps to reproduce the behavior: 打开vue 项目,没有自动生成大纲: 点击大纲可逐层展开,单是一旦鼠标切换焦点,大纲会立马收缩到顶层(文件层)

Expected behavior 打开vue文件自动生成大纲

Screenshots image

Desktop (please complete the following information):

  • OS: win 11
  • Browser chrome
  • Version vscde 1.70.1

mingyong-g avatar Aug 17 '22 00:08 mingyong-g

无法重现(我使用vue.volar插件提供符号,vscode 1.70.2) Peek 2022-08-21 08-08 你安装了什么(相关的)扩展?outline-map扩展设置?以及发生问题的文件? 另外 尝试重启vscode

Gerrnperl avatar Aug 21 '22 00:08 Gerrnperl

我通过对照测试,发现outline map在处理vue(vue3)文件时会和插件“TypeScript Vue Plugin (Volar)”冲突。 image

image

@Gerrnperl

liao666brant avatar Sep 14 '22 01:09 liao666brant

@liao666brant

我之前意识到当有两个提供符号的源时这个插件会混合显示两种大纲 ( issue #5 )

但我从vscode的api返回的符号中无法分辨某个符号的来源

所以我目前无法过滤或分离两种符号

(但vscode内置的大纲是分开的,可能是我调用的方式有误?)

Gerrnperl avatar Oct 13 '22 05:10 Gerrnperl

How to enable support for Vue templates?

image

Version: 1.73.1 Commit: 6261075646f055b99068d3688932416f2346dd3b Date: 2022-11-14T09:01:30.462Z Electron: 19.1.4 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 5.15.81-1-MANJARO Sandboxed: No

OZ1245 avatar Dec 13 '22 10:12 OZ1245