Trim21
V2EX  ›  JetBrains

发现了 webstorm 一个微妙的 bug...

  •  
  •   Trim21 · Oct 22, 2016 · 4163 views
    This topic created in 3517 days ago, the information mentioned may be changed or developed.
    把 css 命名成 indesStyle.css 之后会被标记成 c++文件,就算是手动选择创建 css 文件也不行...
    8 replies    2016-10-23 15:27:45 +08:00
    longear
        1
    longear  
       Oct 22, 2016
    难道是一个彩蛋? indescribableStyle (不可描述)
    letitbesqzr
        2
    letitbesqzr  
       Oct 22, 2016
    这类 bug 还是比较多....
    SoloCompany
        3
    SoloCompany  
       Oct 23, 2016
    Preferences => Editor => File Types => C/C++
    先查一下是不是自己做了些奇怪的事情
    Trim21
        4
    Trim21  
    OP
       Oct 23, 2016
    @SoloCompany 我试过了两遍新建了一个 css 文件,修改文件名之前还是 css,改完就成 c++了...只修改了文件名
    starvedcat
        5
    starvedcat  
       Oct 23, 2016
    我这 phpstorm 复现不了
    Epsil0n9
        6
    Epsil0n9  
       Oct 23, 2016
    肯定有没发现的附加的隐含条件和前提
    CodeingBoy
        7
    CodeingBoy  
       Oct 23, 2016
    未成功复现
    ewex
        8
    ewex  
       Oct 23, 2016
    WebStorm 2016.2.4 无法复现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 02:41 · PVG 10:41 · LAX 19:41 · JFK 22:41
    ♥ Do have faith in what you're doing.