VSCode hide top-right icons

后端 未结 6 1822
陌清茗
陌清茗 2020-12-05 18:43

I\'m a big fan of VScode\'s minimalist approach, but one thing is bugging me. I would like to hide editor-tab icons.

The icons are from extensions: gi

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 19:09

    Without extensions

    1. Open default css file that vs-code reads to render its window
    cd /usr/share/code/resources/app/out/vs/workbench
    sudo vim workbench.desktop.main.css # or whatever editors but vs-code
    
    1. Add this line at the end and save it
    .editor-actions { display: none }
    

    To identify class names of elements,

    just press ctrl + shift p and type toggel developer tools

提交回复
热议问题