[Geany] Toggle single and double quotes

Harold Aling geany at xxxxx
Wed Aug 6 11:52:57 UTC 2008


Dear Geany devs,

As some of you might know, it's generally faster to use single quotes (')
around strings in php instead of double quotes ("). In some coding
standards (like Drupal's) however you must use double quotes instead of
escaping a single quote in your string ("'" instead of '\'') for
readability. Cleaning up a piece of code (toggle single/double quotes) with
search/replace requires a step in between or is quite an intensive job.

It would be nice if Geany could toggle single and double qoutes of a
selection, just like the toggle case function does...

Bonus points could be earned if this feature would escape/unescape quotes
too ;)


What do you guys think: Feature request of thrash bin?


-H-



More information about the Users mailing list