gouchaoer2
V2EX  ›  PHP

VS Code 写 PHP 选中变量的时候怎么把$也带上,以及 typehint 怎么没有常量

  •  
  •   gouchaoer2 · Dec 24, 2018 · 5015 views
    This topic created in 2709 days ago, the information mentioned may be changed or developed.

    RT,有什么办法能解决这 2 个问题么?

    4 replies    2018-12-24 15:53:17 +08:00
    vibbow
        1
    vibbow  
       Dec 24, 2018   ❤️ 2
    第一个问题的解决问题:
    首选项 -> 设置 -> Word Separators -> 把其中的 $ 删掉

    第二个问题:
    装 PHP 插件可破
    gouchaoer2
        2
    gouchaoer2  
    OP
       Dec 24, 2018
    @vibbow 什么插件丫,沟槽不懂
    szopen
        3
    szopen  
       Dec 24, 2018
    @gouchaoer2 PHP Intelephense 插件可显示常量
    gouchaoer2
        4
    gouchaoer2  
    OP
       Dec 24, 2018
    @szopen 3q
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 05:47 · PVG 13:47 · LAX 22:47 · JFK 01:47
    ♥ Do have faith in what you're doing.