Noise (feedback)

I've been using 6.1 for a few days now; for what it's worth this is my feedback. From my point of view there are two big problems: there is too much noise and not enough control over disabling RS features.

By noise I mean that whenever I type something RS is too much "in my face". Whenever I type something RS is screaming at me that something is not right. If the block of code is not accessible it colors it in a certain way, if there are refactoring suggestions I get the "action button" in the left side, if there's an error I see red everywhere, the IntelliSense is trying to guess what I want to do, and on and on...

I understand that these are meant to be helpful, but for somebody who knows what (s)he's doing it's not helpful, it's noise, it's annoying. I find myself thinking of how I should write something in order to please RS first; so it won't yell at me. You better declare that variable first or else you're seeing red. You better return something, anything really just make it shut up, before you even start thinking about thinking what the function should do. Guys, this is the death by a thousand cuts. There is too much noise; you can't focus when people yell around you, and you can't focus when your IDE is bugging you.

This was a problem with previous versions too, but it seems to be getting worse; which prompted me to write this post. All I would really need is the info bar next to the scrollbar. That much I can ignore; I could glance at it when I'm in "ok let's see if what I wrote is valid" mode. Everything else I would like to disable (underlines, action button, various colors, etc). Which brings me to my second point: you can't, or at least I wasn't able to figure it out.

I would also like to be able to disable per file-type integration. There is something like this for IntelliSense; would be nice to expand this to everything. It would be nice to, for example, tell RS to ignore Razor files completely. There are also various features that work better with other 3rd party plugins. I would like to keep using those plugins. If I can't disable something in RS then I have a choice: either uninstall those plugins or uninstall RS. There are a number of very cool RS features that we would like to keep using. Please don't make us choose...

Rant over :-)
Thanks.

6 comments
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello
     Thank you very much for feedback! You can use the Ctrl+Alt+Shift+8 shortcut to completely turn off ReSharper's code highlighting and suggestions in the current file, so that it doesn't get in the way while you're typing and then use the same shortcut to turn the highlighting back on and check if anything's wrong with what you have just typed.

Could you please clarify why would you like to turn off ReSharper completely for Razor? Also, what are those features that work better with 3rd party plug-ins for you?

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Hi,

I did not know about Ctrl+Alt+Shift+8. Does it also temporarily pause the analysis? If it does then that would kill two birds with one stone (noise and performance).

The main reason is that it slows down the editor. Noise I can tolerate to a point, slowing my typing down I cannot. When a file passes roughly 100-150 lines I get delays while typing, starts feeling choppy. If I leave the RS IntelliSense on is even worse. A close second is that I was getting a lot of false positives. One that I remember right now is calling @Html.Partial("SomeView", Model.SomeModel) complained that SomeView does not accept SomeModel (it did, and everything worked fine). Another one was when declaring @model Namespace.Something it complained about a comflict and it recommended that I choose between "Namespace.Something" and "Namespace.Something" (same namespace twice). There were a few more that I can't remember right now.

On a related note the matching tag editing feature, while a very nice idea, it does not work. I filed a bug report I think in v5, but it's still buggy. Having RS break your HTML, sometimes somewhere outside of the current viewport, is just not acceptable. Thankfully I believe it can be disabled.

As far as 3rd party plug-ins this is a bit more subjective. For example one plugin I have installed is DPack. The one thing I like about it is how the numbered bookmarks work. It uses the same Ctrl+Shit+<number> and Ctrl+<number> scheme RS uses, but the one thing I don't like about RS's implementation is that if you delete the line that has the bookmark it actually removes the bookmark. DPack, and the way the old Delphi editor worked, just shifts the bookmark as much as possible. With RS I would find myself wondering what happened to the bookmark. The mental model is that I'm basically bookmarking a rough position in the code, not that exact line of code, so it's OK if it shifts a bit if some line gets removed. (This is how it worked in v5, haven't tried this in v6.1)

Bottom line is that I would like to have a menu of options when installing RS. I would like (for example): RS IntelliSense off, don't touch bookmark numbering, show analysis only for C# code, etc... I hope this helps.

0
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello
     Do I understand correctly that you haven't tried R# 6.1 yet? Ctrl+Shift+Alt+8 pauses the analysis for the current file, so it should improve typing performance. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

Version 4.5 is the last one I own. I tried version 5 when it came out and 6.1 a few days ago. I didn't know about Ctrl+Shit+Alt+8; if it stops the analysis that may warrant a re-install to give it another go, thanks

0
Comment actions Permalink

I remembered one more: I couldn't find a way to disable the RS code formatting for C#, and I also couldn't configure it to act like the default style for annonymous initializers (i.e. at the beginning of the next line aligned with the preceding instruction). Being able to at least turn it off and use the default style would've been nice.

0
Avatar
Andrey Serebryansky
Comment actions Permalink

Hello
     Actually, you can set up ReSharper not to indent object initializers and anonymous method bodies by turning off 'Indent array/object/collection initializer' and 'Indent anonymous method' options under ReSharper | Options | Languages | C# | Code Style | Other. You can also create a code cleanup profile with 'Reformat code' turned off for C# files and use that profile during code cleanup. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.