NonClockworkChen
V2EX  ›  问与答

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

  •  
  •   NonClockworkChen · Jul 5, 2017 · 1647 views
    This topic created in 3249 days ago, the information mentioned may be changed or developed.
    <Image source={pic} style={{width:193,height:110}} />
    

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

    2 replies    2017-07-05 09:31:56 +08:00
    AdamChrist
        1
    AdamChrist  
       Jul 5, 2017   ❤️ 2
    Settings--Editor--Smart Keys -- "Add quotes for attribute value on typing '=' and attribute completion"
    NonClockworkChen
        2
    NonClockworkChen  
    OP
       Jul 5, 2017
    @AdamChrist 多谢,老司机
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3695 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 04:40 · PVG 12:40 · LAX 21:40 · JFK 00:40
    ♥ Do have faith in what you're doing.