php: selecting variables should add the $ char

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
CocaCola
Posts: 10
Joined: Fri Sep 14, 2007 10:46 pm
Location: Germany

php: selecting variables should add the $ char

Post by CocaCola »

Hi,

It would be a great feature if selecting a php variable using double-click on it would select the whole variable (including the leading $ char).
Maybe as "Preferences" -> "Language Options" -> "PHP" option.

I often need copying php variables, its annoying to add the $ by hand.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I prefer not to make an option. So cast your votes for what is better - aalways select $ with the variable name in PHHP or leave it as is.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

I wonder about this sorta thing some times. Same could be said of IDs, Classes and Hex Values in CSS. When double click to copy, should it's leading symbol be copied as well?

I've grown used to it not doing it and sometimes, I'm really glad it doesn't. More often than not though, I wish it would. so yeah, my vote is a 'yes, copy the symbol too'. My 'if the world was perfect' version would be some modifier on click. like, triple click to select the symbol or hold ctrl an double click or something along those lines.
Post Reply