Selecting entire variable with double click

前端 未结 4 1356
无人及你
无人及你 2021-02-13 18:19

In PhpStorm, when you double click on a variable, say $_helloWorld, it just selects a part of the variable. For example, when you double click on World

相关标签:
4条回答
  • 2021-02-13 18:49

    Super late answer, haha, but here is the exact option to enable selecting $ in variable names:

    File | Settings | Editor | General | Smart Keys | Select variable name without '$' sign on double click

    Should be disabled.

    0 讨论(0)
  • 2021-02-13 18:54

    Please enable this option: File | Settings | IDE settings | Editor | Smart keys | Use "CamelHumps" words.

    And check if this one enabled: File | Settings | IDE Settings | Editor | Honor "CamelHumps" word settings when selecting using double click.

    0 讨论(0)
  • 2021-02-13 18:55

    Using WebStorm on Windows 8.1 I was able to fix this by going to

    File > Settings > [IDE Settings] > Editor 
    

    and disabling the following option:

    Honor "CamelHumps" words settings when selecting on double click
    
    0 讨论(0)
  • 2021-02-13 19:14

    For me, PhpStorm on Linux will only select entire variables on double click if I have the option:

    File | Settings | Editor | General

    Honor "CamelHumps" word settings when selecting using double click

    turned off. See documentation here.

    0 讨论(0)
提交回复
热议问题