Cannot find Resharper setting that shows parameter or method type - visual-studio-2019

I am using Resharper in Visual Studio 2019.
I want to drop these extra tags that are showing up in my code:
I cannot find the setting that disables this and I've looked everywhere. I had to reset my interface due to changing to many things trying to find this setting.
Anyone know where I find the option to disable this?

These extra tags are the so-called inlay hints (JetBrains docs).
You can enable or disable them under ReSharper | Options | Environment | Inlay Hints | General:

Related

Visual Studio 2019 16.9.4: ThreeState for collapsing and expanding summary

I encountered today that with one of the latest releases of Visual Studio, it seems that the collaps / expand function now has a third state for the summary block.
When I expand the '#region Methods' (see pictures) all methods are displayed only with three dots [...]
Why aren't the method names displayed anymore as it was before?
Is it possible to have it the old way again?
Is there a setting?
I already tried to find a setting for it in the options, but couldn't find any when searching for the following words:
collaps
expand
summary
threestate
This seems to be a small bug in Visual Studio.
After I restarted Visual Studio, the behaviour is gone.
(Obviously I should have done that before asking questions...)

How to set severity based on the issue type for SonarLint for Visual Studio?

I want to set Bugs and Vulnerabilities as errors and Code Smells as warnings for the SonarLint extension in Visual Studio. I prefer to set it generically, rather than right-clicking each issue and setting its severity. Is it possible for me to do that? If yes, please tell me how to do it.
Thanks and Regards,
Arjun
Since specification for each rule is publicly available: https://github.com/SonarSource/sonar-dotnet/tree/3ab2e10b4effa8760b3ecd4fbb2b3d59f43f1b7f/analyzers/rspec/cs, it was quite easy to write a program that would generate .editorconfig with all rules.
Here it is: https://github.com/Peska/SonarAnalyzersRules/blob/master/.editorconfig
Grouped by type - CODE_SMELL, BUG, SECURITY_HOTSPOT, VULNERABILITY - and ordered by Severity in case you want to change something in a future.
I cannot paste full .editorconfig as an answer it here, since there is 30k characters limit.

Add/remove breakpoints in Ace editor by clicking the gutter space

Does anyone know of an Ace editor API that enables adding or removing breakpoints by clicking the gutter in the editor window? I spent more time than I care to admit looking for this functionality in the API reference, source code, forums, blogs, etc. and the best information I found so far is this answer from May 2012. It's a good starting point, but the breakpoints don't move when new lines are inserted in the code above them. I find it hard to believe that Ace doesn't include this in the standard feature set by now, as it's something we've come to expect in any decent code editor and the Cloud9 environment supports it.
There is no API provided by Ace for this. Here's the implementation used by Cloud9 https://github.com/c9/c9.ide.run.debug/blob/master/breakpoints.js#L727.
Most likely it is kept in Cloud9 plugin instead of Ace because it depends on the format in which breakpoints are stored, which might be different for different ides.

RubyMine - Turning off ability to click in middle of "empty" lines

I've recently begun learning Ruby and I'm really enjoying it so far. The IDE I've chosen to use is RubyMine (as it's similar to PhpStorm). There is however one feature which annoys me greatly and I cannot find the configuration for.
What I want to get rid of is:
When coding I am able to click in the middle of a line (where I haven't placed whitespace), and the cursor will jump there and allow me to type there (as if I had placed indented the code a long way before beginning to write).
The result might look something like this.
If I clicked in the middle of the line and began typing.
Does anyone know how to turn this feature off?
If my description is too vague, please let me know.
Thanks in advance!
You need to disable Settings | Editor | Virtual Space | Enable placement of caret after end of line
If you find that Allow placement of caret after end of line is already unchecked, try checking the box then exit and restart the IDE. Go back into settings and un-check again. This was the only way I could get it to work on a fresh install of PhpStorm v3.0.3 - no amount of check/uncheck would disable the behavior without this restart sequence.
In Rubymine 4.5 I needed to restart in order to get rid off the carets
In RubyMine 5.4,
File > Settings > IDE Settings section > Editor > Virtual space "section" >
[*] Allow placement of caret after end of line
Remove the check from the checkbox.
It does not require restarting.
In RubyMine 7.1 File > Preferences > Editor > General, Virtual Space section

Set Debugger Language Exception (to ignore) in Build Configuration

In Tools | Options | Debugger Options | Language Exceptions it's possible to ignore specific Exception types. Is it possible to do define this per project?
Eg in the Debug Build Configuration (Delphi 2009 and/or 2010)?
/Edit: Reported in QC
Unfortunately, no. That would be a very nice option to have, though. I can think of plenty of places where it would be useful. Why don't you submit it to QC as a feature request?
Visual Studio is the same way (although worse in my opinion). It would be a nice feature though to be able to specify that at the project level.

Resources