NonClockworkChen
V2EX  ›  问与答

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

  •  
  •   NonClockworkChen · Jul 5, 2017 · 1634 views
    This topic created in 3241 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   ·   1007 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:20 · PVG 06:20 · LAX 15:20 · JFK 18:20
    ♥ Do have faith in what you're doing.