Use single quote instead

The default in the editor is in Double Quote.  Is it possible to set it to single quote?

For example, if I type color="", the double quote is automatically inserted.  How to set it to single quote instead?

Thx,

0
Avatar
Permanently deleted user

On Fri, 25 Apr 2014 08:17:56 MSK, Daryl Wong <no_reply@jetbrains.com>
wrote, quoted or indirectly quoted someone who said :

>For example, if I type color="", the double quote is automatically inserted.  How to set it to single quote instead?
'' is char.  "" is string.  is it String color or char color?
--
Roedy Green Canadian Mind Products http://mindprod.com
Computers are like Old Testament gods; lots of rules and no mercy.
~ Joseph Campbell (born: 1904-03-26 died: 1987-10-31 at age: 83)

0

Hello.

Roedy is right in the sense we need to know the language you use to answer.

For HTML (if this is the case) it's impossible, sorry. Please follow: http://youtrack.jetbrains.com/issue/WEB-459

Regards,
Alexander.

0
Avatar
Permanently deleted user

So only HTML is not possible?

I am using Webstorm and phpStorm.  Can they be set to use single quote?  Similar to one of the users, it is less cluttered for me.

An example is in this page where I use only single quote  http://codecrawl.com/jquery-ui-draggable-revert/

Thx,

0

I think it's a case of the same limitation I referred before.

Alexander.

0

Old thread, but was the first Google result I got.  Looks like this is now supported:

  1. Settings
  2. Editor
  3. Code Style 
  4. HTML 
  5. "Other" tab 
  6. Generated quotes marks: single

 

11

请先登录再写评论。