Domanda

We have some coding standards that state we must use double quotes instead of single quotes for string literals in JavaScript. As I am in the habit of always typing single quotes I was wondering if there was a way, using resharper 8, that I could either highlight all single quoted strings as an error using the custom highlighting (I did have a go at this but didn't get very far) or customising the code clean-up tool to auto replace single quotes with double quotes on code clean. If anyone can help with this, that would be great!

È stato utile?

Soluzione

I think no way currently. I've added an issue here http://youtrack.jetbrains.com/issue/RSRP-403138, feel free to vote for it.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top