- Windows 系统下,workbench.desktop.main.css 文件位置:
[用户目录]\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench
- Mac 系统下,workbench.desktop.main.css 文件位置:
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://astexplorer.net/#/gist/48d24982fceb3f258cc2dcd764fe8e38/937f48fc25443224a08bb20774a7d8868052770c | |
export default function ({types: t}) { | |
return { | |
visitor: { | |
ObjectMethod(path) { | |
if (path.node.generator) { | |
path.node.async = true | |
path.node.generator = false | |
} |
OlderNewer