Not sure how or why but this black line/seperator appeared in my VSCode Editor, it seems the seperate thee code and the parent function. I want to get rid of it but I'm not sure how can I do that. I'm looking forward for solutions. The problem

我查看了设置,并搜索了可能的修复程序,但我没有找到任何与此相关的东西.

推荐答案

我相信这就是"粘性卷轴"功能.它旨在更容易地显示您正在使用的文档的 struct .

A VS Code editor showing how the sticky scroll feature works

您可以通过在设置中将editor.stickyScroll.enabled设置为FALSE来禁用它.

https://code.visualstudio.com/updates/v1_71#_sticky-scroll

Javascript相关问答推荐

无法将nPM simplex-noise包导入在JS项目中工作

如何在不分配整个数组的情况下修改包含数组的行为主体?

未捕获错误:[]:getActivePinia()被调用,但没有活动Pinia.🍍""在调用app.use(pinia)之前,您是否try 使用store ?""

覆盖TypeScrip中的Lit-Element子类的属性类型

WhatsApp Cloud API上载问题:由于MIME类型不正确而导致接收&Quot;INVALID_REQUEST";错误

更新动态数据中对象或数组中的所有值字符串

使用带有HostBinding的Angular 信号来更新样式?

每次重新呈现时调用useState initialValue函数

更新Redux存储中的对象数组

ngOnChanges仅在第二次调用时才触发

将Auth0用户对象存储在nextjs类型脚本的Reaction上下文中

不协调嵌入图片

MongoDB通过数字或字符串过滤列表

在单击按钮时生成多个表单时的处理状态

Promise.race()返回已解析的promise ,而不是第一个被拒绝的promise

如何阻止外部脚本进入顶层导航

使用jQuery每隔几秒钟突出显示列表中的不同单词

验证Java脚本函数中的两个变量

如何使用Angular JS双击按钮

我正在为我的单选按钮在HTML中设置一个值.使用Java脚本,我如何才能获得该值?