Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/resharper-sample-patterns
Sample Structural Search and Replace patterns for ReSharper
https://github.com/jetbrains/resharper-sample-patterns
jetbrains resharper resharper-extension resharper-patterns resharper-plugin
Last synced: 3 months ago
JSON representation
Sample Structural Search and Replace patterns for ReSharper
- Host: GitHub
- URL: https://github.com/jetbrains/resharper-sample-patterns
- Owner: JetBrains
- License: apache-2.0
- Created: 2013-04-26T15:56:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T12:54:08.000Z (over 7 years ago)
- Last Synced: 2024-04-13T12:06:56.626Z (8 months ago)
- Topics: jetbrains, resharper, resharper-extension, resharper-patterns, resharper-plugin
- Language: Batchfile
- Size: 10.7 KB
- Stars: 3
- Watchers: 21
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
[![obsolete JetBrains project](http://jb.gg/badges/obsolete-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Sample Patterns for ReSharper
This repository contains a set of sample Structural Search and Replace (SSR) patterns for ReSharper 8 and 9.0 (9.1 will be added after 9.1 has been released). SSR patterns allow you to declaratively add warnings and highlights to ReSharper's code analysis.
The patterns are intended to be edited in ReSharper's SSR dialog, and the .dotSettings file in this repo is not human readable.
You can load this file into ReSharper using the Extension Manager (ReSharper → Extension Manager). Simply search for "sample patterns". The extension simply adds a settings file as a layer in the Manage Options dialog (ReSharper → Manage Options). The dialog allows enabling or disabling the settings file, which enables or disables the patterns.
In other words, the sample patterns are stored in a separate settings file - [patterns/patterns.dotSettings](patterns/patterns.dotSettings]. When installed as an extension, the settings file is loaded as a read-only "layer", meaning the settings in the file are merged into the global settings, and available to use. They can be edited, and any changes are stored in the user's settings, overriding the values from the extension. See [this help page](http://www.jetbrains.com/resharper/webhelp80/Reference__Settings_Layers.html) for more details on settings layers.
You can edit the patterns via the main Options → Patterns dialog page.