简体   繁体   English

在 VSCode 中打开“.sql”文件时如何隐藏突出显示的行

[英]How to hide the highlighted lines when the “.sql” file are opened in VSCode

Below is what it looks like when opened the ".sql" file, I want to hide those highlighted lines下面是打开“.sql”文件时的样子,我想隐藏那些突出显示的行

在此处输入图像描述

I'm the creator of VSCode-sqltools.我是 VSCode-sqltools 的创建者。 In fact as @joao-caxias mentioned, that was intentional.事实上,正如@joao-caxias 所说,这是故意的。 But some users didn't like it at all, so I've added a setting to enable/disable that behavior called sqltools.highlightQuery so you should be able to remove that if you want now.但是有些用户根本不喜欢它,所以我添加了一个设置来启用/禁用名为sqltools.highlightQuery的行为,所以如果你现在想要的话,你应该可以删除它。

I have found out that it comes with the SQL Tools extension我发现它带有 SQL 工具扩展在此处输入图像描述

You could either uninstall it or revert back to 0.21.9 version.您可以卸载它或恢复到 0.21.9 版本。 Not sure where the root cause for highlighting is.不确定突出显示的根本原因在哪里。

You can go to SQLTools and click on the setting button.您可以 go 到 SQLTools 并单击设置按钮。 Then search highlight and uncheck the button for this setting.然后搜索突出显示并取消选中此设置的按钮。

链接到图片

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM