How to hide Navigate to declaration gutter icon

I want to remove this from the gutter

Is there already a config for it? I was unable to find it.

Thanks in advance.

Francisco Fuhro

3
2 comments

I want to hide this too !

0

Hey Pierre Olivier Rioux ,

There is no such issue at the moment, unfortunately.  We have a feature request in our bugtracker: RIDER-111672, please feel free to vote for this issue. As a workaround, you can configure this behavior via DotSettings file. Here's how you can do this system-wide.
 

  • Close all running Rider instances
  • Open %appdata%\JetBrains\Rider{version}\resharper-host\GlobalSettingsStorage.DotSettings
  • This file has the following structure:
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
{Rider Settings}
</wpf:ResourceDictionary>
  • Add the following line in {Rider Settings} section of the file to completely disable navigation marks:
<s:String x:Key="/Default/CodeInspection/CppGutterIcons/ShowGutterIcons/@EntryValue">None</s:String></wpf:ResourceDictionary>
  • Restart Rider

Gutter navigation marks will be disabled when you open any C++ project. You can also use the option ExceptDeclarationDefinition to only hide them for declarations and definitions. Here's what this option looks like in the DotSettings file:

<s:String x:Key="/Default/CodeInspection/CppGutterIcons/ShowGutterIcons/@EntryValue">ExceptDeclarationDefinition</s:String>
0

Please sign in to leave a comment.