Atom编辑器:Hashtag创建括号-JavaScript编辑 [英] Atom Editor: Hashtag creates brackets - JavaScript editing

查看:109
本文介绍了Atom编辑器:Hashtag创建括号-JavaScript编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一定是不小心切换了一个选项.

I must have accidentally toggled an option.

如果我在引号内键入井号标签#,则原子会自动附加{}.

If I type a hashtag # inside of quotes, atom automatically appends {}.

示例:

类型=我键入的内容

Atom = Atom实际做什么

Atom = what Atom actually does

Type: "
Atom: ""
Type: #
EXPECTED: "#"
Atom: "#{}"

推荐答案

这是已知问题有望在下一版本中得到修复.解决方法是,您可以在Atom核心设置中禁用新的 Tree Sitter解析器:

This is a known issue that will hopefully get a fix in one of the next releases. As a workaround, you can disable the new Tree Sitter Parser in the Atom Core Settings:

请记住,Tree Sitter是Atom的下一代解析器,因此,一旦问题解决,您就应该再次启用Tree Sitter!

Keep in mind that Tree Sitter is the next generation parser for Atom, so once the issue has been resolved, you should enable Tree Sitter again!

这篇关于Atom编辑器:Hashtag创建括号-JavaScript编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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