Open a file with symbol e.g. javascript file. The outline map correctly shows.
打开一个带有符号的文件,例如javascript。能正确显示outline Map。
Then switch to a file without symbol e.g. a plaintext file. The old outline still peresists. The highlight also follows when scroll.
切换到一个没有符号的文件,例如文本文件。之前的Outline Map依旧显示在边上。在文件中滚动,高亮也会随之移动。
Expected behavior
Expected the outline to be cleared as vscode build-in outline. Just show a notice that no symbol found.
期望和原生的大纲一样。可以提示找不到符号。
Describe the bug
Reproduce Step
Steps to reproduce the behavior:
Open a file with symbol e.g. javascript file. The outline map correctly shows. 打开一个带有符号的文件,例如javascript。能正确显示outline Map。
Then switch to a file without symbol e.g. a plaintext file. The old outline still peresists. The highlight also follows when scroll. 切换到一个没有符号的文件,例如文本文件。之前的Outline Map依旧显示在边上。在文件中滚动,高亮也会随之移动。
Expected behavior
Expected the outline to be cleared as vscode build-in outline. Just show a notice that no symbol found. 期望和原生的大纲一样。可以提示找不到符号。
Platform: