Access to Settings Layers for Code Reformatting
In my plugin, I'm looking to be able to query (list or by name) the Layers use for code formatting and turn them on and off in my plugin action.
This is the settings I'm referring to:

Please sign in to leave a comment.
Could you please explain in more detail what you're trying to achieve?
In Rider, it is located under File -> Settings -> Manage Layers which is a button on the bottom left.
I want an action that checks for a layer and turns it on, performs a code reformat and then turns it back on.(Just an example).
I see this page here https://www.jetbrains.com/help/resharper/sdk/Platform/Settings.html but I'm not seeing where to get the settings store from to explore further. Also I'm not finding DataConstants.InjectedLayersHost_IncludingHostItself and I'm seeing that DataConstants is deprecated.
Oh, looks like what I'm looking at requires a Resharper plugin created with .NET and using the Resharper SDK NuGet package.
So is there a way to get these to talk to each other? I want to invoke ReSharper actions from a drop down menu in Rider. From what I'm reading Resharper actions are accessed via a .NET dll while User Interface level things are done via Kotlin or Java as an Intellij plugin.