All Projects → JetBrains → resharper-xunit-templates

JetBrains / resharper-xunit-templates

Licence: Apache-2.0 license
ReSharper Live Templates for xUnit.net

Projects that are alternatives of or similar to resharper-xunit-templates

mnemonics
Source code for mnemonic template generators for ReSharper and IDEA
Stars: ✭ 69 (+283.33%)
Mutual labels:  jetbrains, resharper, resharper-plugin
resharper-presentation-assistant
ReSharper extension to show executing commands and keystrokes
Stars: ✭ 49 (+172.22%)
Mutual labels:  jetbrains, resharper, resharper-plugin
JetBox
ReSharper settings synchronization through Dropbox
Stars: ✭ 18 (+0%)
Mutual labels:  jetbrains, resharper, resharper-plugin
ExternalAnnotations
JetBrains ReSharper External Annotations
Stars: ✭ 78 (+333.33%)
Mutual labels:  jetbrains, resharper, resharper-plugin
resharper-devguide
Developer guide for the ReSharper Platform
Stars: ✭ 65 (+261.11%)
Mutual labels:  jetbrains, resharper, resharper-plugin
XmlDocInspections
Configurable XML Doc warnings for ReSharper
Stars: ✭ 25 (+38.89%)
Mutual labels:  resharper, resharper-plugin
Resharper Cyclomatic Complexity
ReSharper plugin to measure cyclomatic complexity as you type
Stars: ✭ 107 (+494.44%)
Mutual labels:  jetbrains
Tabnine Intellij
Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
Stars: ✭ 140 (+677.78%)
Mutual labels:  jetbrains
Gradle Changelog Plugin
Plugin for parsing and managing the Changelog in a "keep a changelog" style.
Stars: ✭ 102 (+466.67%)
Mutual labels:  jetbrains
A File Icon Idea
Atom File Icons plugin for IntelliJ IDEA products
Stars: ✭ 90 (+400%)
Mutual labels:  jetbrains
Intellij Sdk Code Samples
Mirror of the IntelliJ SDK Docs Code Samples
Stars: ✭ 217 (+1105.56%)
Mutual labels:  jetbrains
Jetbrains Plugin Graph Database Support
Graph Databases support for JetBrains family IDEs.
Stars: ✭ 169 (+838.89%)
Mutual labels:  jetbrains
Jetbrains Ppa
Auto-Updating PPA (inofficial) for Jetbrains products.
Stars: ✭ 125 (+594.44%)
Mutual labels:  jetbrains
Jb Rpd Splash
Generate artwork for JetBrains products using RPD
Stars: ✭ 110 (+511.11%)
Mutual labels:  jetbrains
Idea Php Generics Plugin
Support generics types in PhpStorm via psalm / phpstan docblock
Stars: ✭ 146 (+711.11%)
Mutual labels:  jetbrains
Intellij Elixir
Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Stars: ✭ 1,488 (+8166.67%)
Mutual labels:  jetbrains
Intellij Csv Validator
CSV validator, highlighter and formatter plugin for JetBrains Intellij IDEA, PyCharm, WebStorm, ...
Stars: ✭ 198 (+1000%)
Mutual labels:  jetbrains
Resharper Nuget
Plugin for ReSharper to support NuGet references correctly
Stars: ✭ 93 (+416.67%)
Mutual labels:  jetbrains
Ideavim Easymotion
EasyMotion emulation plugin for IdeaVim
Stars: ✭ 121 (+572.22%)
Mutual labels:  jetbrains
Darcula
A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
Stars: ✭ 158 (+777.78%)
Mutual labels:  jetbrains

official JetBrains project

ReSharper Live Templates for xUnit.net

This extension adds various Live Templates for xUnit.net to ReSharper.

Check out the README for details on the available templates.

Installation

To install, go to ReSharper → Extension Manager and search for "xunit live templates". Once installed, the templates are automatically available, and can be seen in the . They can be temporarily disabled by unchecking the appropriate entry in the ReSharper → Manage Options dialog.

Contributing

The templates are distributed in a .dotSettings file, which is not designed to be a human-readable file, and is very difficult to work with in an editor. In order to modify or add templates, you can either edit the templates in ReSharper's Live Template editor, or in the markdown files in the templates folder, and running the template "compiler" program to generate the .dotSettings file.

Make sure that any new templates have the appropriate categories and language set.

Editing in ReSharper

  • Add the templates.dotSettings file in the ReSharper → Manage Options dialog. Select "This Computer", click the "plus" add icon and select "Open Settings File". Navigate to templates.dotSettings and select it.
  • Open the Live Templates editor (ReSharper → Tools → Templates Editor)
  • Select the templates.dotSettings file in the Layer drop down in the top left of the editor. This is VERY IMPORTANT. This means any new templates, or edits to the existing templates are saved into the templates.dotSettings file. Without selecting this layer, the changes will be save to the "This Computer" layer.
  • Edit or add new templates. They will be automatically saved, as you update them.

Editing markdown files

All of the templates are saved as markdown files, which makes it convenient to browse and document, as well as edit outside of ReSharper. The markdown files are processed with a small app that will translate between the required .dotSettings format, and the markdown files. Metadata is stored as YAML "front matter".

  • Edit an existing file, or add a new file (use an existing file as a guide). If you are adding a new file, make sure to give the file a new GUID.
  • Save the file, and run rstc compile -i *.md -o templates.dotSettings. The rstc.exe file is in the bin folder.
  • The templates.dotSettings file, as well as the README.md file are updated, ready for commit.

For more details, see the resharper-template-compiler project.

  • In order to update the markdown files after editing the templates.dotSettings file in ReSharper, run rstc decompile templates.dotSettings. It might be necessary to also run rstc compile -i *.md -o foo.dotSettings in order to regenerate README.md.

History

These templates started life in the xunit plugin for ReSharper. Since ReSharper 2016.1, xunit support is built in to ReSharper, meaning the xunit plugin is no longer required. However, it is not appropriate to ship these templates by default, as they will not apply to all users. Hence they are available as a separate extension.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].