How do I turn off the auto concatenation "feature"?
In R# 6.0, when you hit enter inside a quoted string, R# creates a concatenated string with the right operand on a new line.
var s = "This is my string";
If you hit enter anywhere inside the quoted string, e.g. before my, you end up with:
var s = "This is " +
"my string";
How do I turn this off?
Thanks!
Please sign in to leave a comment.
Why do you want to turn that off? What is it you're TRYING to do?
"Chris Sano" wrote in message
news:4065830.531891313097586826.JavaMail.devnet@confluence.jetbrains.net...
In R# 6.0, when you hit enter inside a quoted string, R# creates a
concatenated string with the right operand on a new line.
var s = "This is my string";
If you hit enter anywhere inside the quoted string, e.g. before my, you end
up with:
var s = "This is " +
"my string";
How do I turn this off?
Thanks!
---
Original message URL: http://devnet.jetbrains.net/message/5316667#5316667
I use a Vim plugin. This causes problems for me when I try to hit enter while doing a hlsearch.
Hello Chris,
At the moment there's no way to turn this behavior off. This is a known compatibility
problem and you're welcome to vote for it here: http://youtrack.jetbrains.net/issue/RSRP-262770.
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Andrey,
Sorry for hijacking the thread, but the ability to disable various features is really missing from R#.
I mean, add options for almost everything. We can disable and configure each one of the C# inspections, but there is no options to completely disable support for a given language, or formatting for a given type of file. Every new feature you're adding should have its corresponding option.
I really like ReSharper, but as other users already reported, I find the version 6 to have lower quality than previous releases. As long as you're editing C#, everything works fine and great. Try to edit some Razor file containing HTML, C#, JavaScript and CSS and ReSharper just gets in the way rather than helping. I know that you're aware of performance problems and weird autocomplete behaviors: many of them are already reported on YouTrack. While we're waiting for them to be fixed, please let us disable features that are currently annoying.
Sincerely,
--
Julien Lebosquain