VS Code:折叠代码用[+] [-] 符号代替默认的[>] [∨] [英] VS Code: Folding code with [+] [-] sign instead of the default [>] [∨]

查看:34
本文介绍了VS Code:折叠代码用[+] [-] 符号代替默认的[>] [∨]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

总结:我想要两件事:

  • (1) 我希望 VS Code 中的折叠符号为 [+][-](类似于 Visual Studio)默认的 [>][v]
  • (2)我希望我的扩展部分可以有下载和评级预览
  • (1) I want my folding symbols in VS Code to be [+][-] (similar to Visual Studio) instead of the default [>][v] one
  • (2) I want my Extensions section can have downloads and rating preview

故事:我在一个回答中随机看到了这些功能(1) 在 Stackoverflow 和 (2)VSCode 的站点扩展库.我没有足够的声誉在Stackoverflow 答案下面发表评论,问他如何获得那些(1) [+][-] 符号特征.我试图在 Software Recommendation Stack Exchange 上一个问题,但没有得到答案.

Story: I randomly saw those features (1) on an answer on Stackoverflow and (2) in the site Extension Gallery of VSCode. I don't have enough reputation to comment below the Stackoverflow answer to ask him how to get those (1) [+][-] symbol features. I tried to put a question on Software Recommendation Stack Exchange but didn't get an answer.

我在 Softwarerecs 网站上提出的问题 更详细带有图片,以便你们可以访问它以查看图片和更详细的问题.

The question I put on Softwarerecs site is more detailed with images so you guys can visit it to see the images and more detailed question.

第一次问,先谢谢了.


(1): 最近似乎 [+][-] 图标被替换为 [>][v].不知道有没有办法恢复?我认为这个讨论对这个问题会有一点帮助.


(1): It seems the [+][-] icons were replaced with [>][v] recently. I don't know if there's a workaround to get it back? I think this discussion will be a bit helpful to this problem.

(2) 解决了:因为我将侧边栏窗口调整得太小,所以下载和评级部分没有显示.当我将侧边栏放大时,下载和评分再次显示.

(2) solved: Because I resized the sidebar window to too small so the downloads and rating part didn't show up. As I expand the sidebar bigger the downloads and rating shows up again.

推荐答案

您可以在此扩展程序的帮助下添加自定义折叠控件图标:极简产品图标主题

you can add custom folding controls icons with the help of this extension: Minimalist Product Icon Theme

它会覆盖 VS Code 附带的产品图标、活动栏图标、状态栏、代码折叠/展开

its override the product icons that ship with VS Code, Activity bar icons, Status Bar, Code collapse/expand

这篇关于VS Code:折叠代码用[+] [-] 符号代替默认的[>] [∨]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆