Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of garbled code when VSCode opens zsh under Mac

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Mac VSCode open zsh garbled how to solve, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this can learn, I hope you can gain something.

1. garbled problem

iTerm2 terminal uses Zsh, and configure Zsh theme, the theme needs to install fonts to support arrow effect, set this font in iTerm2, but the arrow in VSCode still shows garbled code.

iTerm2 is displayed as follows:

VSCode is displayed as follows:

2. Solution 2.1 Fonts

Look in the font book to see if Meslo LG M for Powerline fonts are installed, and if not install them.

2.2 Configuration in VSCode

Using, open the settings interface, search for terminal, add font Meslo LG M for Powerline in Font Family

You can also add: "terminal.integrated.fontFamily": "Meslo LG M for Powerline",

3. effect display

Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report