Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?.语法 会被格式化为 ? . #778

Open
xuehongnizhao opened this issue Mar 8, 2023 · 1 comment
Open

?.语法 会被格式化为 ? . #778

xuehongnizhao opened this issue Mar 8, 2023 · 1 comment

Comments

@xuehongnizhao
Copy link

?.语法 会被格式化为 ? .

@x2358473
Copy link

x2358473 commented Mar 7, 2024

我通过折腾。找到一个偏方,

  1. 点击Sublime Text - Settings.. - Browse Packages... 文件夹,找到HTML-CSS-JS Prettify这个文件夹,
  2. 打开HTML-CSS-JS Prettify这个文件夹,把package.json中"dependencies"对象下的"js-beautify": "1.8.8" 改成 "js-beautify": "1.15.1", (1.15.1是js-beautify当前最新的版本)
  3. 使用命令行工具如cmd、iterm2在当前目录运行yarn install,安装node_modules依赖 (nodejs版本要大于16,我使用的是18.18.0)
  4. 运行 yarn build 进行编译
  5. build之后重启sublime。我目前测试 "?." 不会去格式化成 "? ."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants