ReSharper by Language JSON
JSON and JSON schema support currently ranges from things as basic as syntax highlighting (including older Visual Studio versions), to more sophisticated features like formatting and rearranging code (for example, you can move object properties or arbitrary selections around), code inspections and quick-fixes, as well as code completion that is aware of schemas, paths, regular expressions and packages.
In this topic:
JSON value helpers
ReSharper allows you to mark some JSON properties as specific value types (e.g. regular expression, file path) so that ReSharper could apply specific validation and provide specific completion suggestions for matching properties in JSON files.
You can add a value helper for specific properties in the
page of ReSharper options.
The matching is based on a filename mask and/or schema, and a path to the JSON property (such as
Your JSON value helpers preferences are saved using the mechanism of shared settings. Among other things, this mechanism allows you to maintain different preferences for different solutions as well as to keep these preferences under a VCS and automatically share them with your team members.
Making ReSharper ignore specific code
ReSharper allows you to ignore specific files, folders and file masks in different ways. You can configure ignored files on the following options pages:
- to exclude files, folders, and masks from code inspection.
- to partly disable code inspection for generated code.
- to specify files and folders that should be ignored by Navigation by Name commands.