V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
NonClockworkChen
V2EX  ›  问与答

webstorm 里面,jsx 的标签老是像 html 标签一样提示双引号,怎么办

  •  
  •   NonClockworkChen · 2017-07-05 09:02:53 +08:00 · 1216 次点击
    这是一个创建于 2498 天前的主题,其中的信息可能已经有所发展或是发生改变。
    <Image source={pic} style={{width:193,height:110}} />
    

    输入 style=,马上跟上双引号,变成 style="",这个怎么办,删的有点烦

    2 条回复    2017-07-05 09:31:56 +08:00
    AdamChrist
        1
    AdamChrist  
       2017-07-05 09:29:53 +08:00   ❤️ 2
    Settings--Editor--Smart Keys -- "Add quotes for attribute value on typing '=' and attribute completion"
    NonClockworkChen
        2
    NonClockworkChen  
    OP
       2017-07-05 09:31:56 +08:00
    @AdamChrist 多谢,老司机
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3233 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 14:30 · PVG 22:30 · LAX 07:30 · JFK 10:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.