NonClockworkChen
V2EX  ›  问与答

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

  •  
  •   NonClockworkChen · Jul 5, 2017 · 2027 views
    This topic created in 3434 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
    AdamChrist
    Jul 5, 2017❤️2
    1
    Settings--Editor--Smart Keys -- "Add quotes for attribute value on typing '=' and attribute completion"
    NonClockworkChen
    NonClockworkChen
    OP
    Jul 5, 2017
    2
    @AdamChrist 多谢,老司机
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1915 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:51 · PVG 14:51 · LAX 22:51 · JFK 01:51
    ♥ Do have faith in what you're doing.