diff --git a/.editorconfig b/.editorconfig index 372c46a..f61c438 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,22 +10,6 @@ indent_size = 4 indent_style = space indent_size = 2 -[*.{json,props}] -indent_style = space -indent_size = 2 - -[*.js] -indent_style = space -indent_size = 4 - -[*.config.js] -indent_style = space -indent_size = 2 - -[*.{cshtml,html,razor}] -indent_style = space -indent_size = 2 - -[*.{css,scss,sass}] +[*.{json,props,xml}] indent_style = space indent_size = 2 diff --git a/CHANGELOG.md b/CHANGELOG.md index ef45e60..340a461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 2020.3.1 + +- Updated plugin description/documentation + ## 2020.3.0 - Support for Rider 2020.3 diff --git a/README.md b/README.md index 8fde7aa..525d974 100644 --- a/README.md +++ b/README.md @@ -2,38 +2,17 @@ [![License](https://img.shields.io/github/license/vladyslav-burylov/resharper-testlinker2)](LICENSE) -Test Linker 2 collects link data between types (i.e., production and test code) based on various mechanisms and provides various features based on that. For your convenience, Test Linker 2 automatically takes base/derived types into account when meaningful. +Test Linker 2 collects link data between types (i.e., production and test code) +based on various mechanisms and provides various features based on that. +For your convenience, Test Linker 2 automatically takes base/derived types into +account when meaningful. -## WARNING +#Z# Features -This fork of the archieved [TestLinker plugin](https://github.com/matkoch/resharper-testlinker) originally developed by Matthias Koch was created for personal use and does not guaranteed to be supported. +- Adds hotkey for quick switching between tests/code +- Synchronizes test/production classes renames -### Building Locally - -- Please go though https://github.com/JetBrains/resharper-rider-plugin -- Once initial setup is done, plugin can be build using: - - ```bash - ./gradlew :buildPlugin - ``` - -## Navigation - - - -- [Goto Related Files](https://www.jetbrains.com/help/resharper/2016.1/Navigation_and_Search__Go_to_Related_Files.html) is extended with navigation points to production/test classes. -- New shortcut `ReSharper_GotoAllLinkedTypes` (assignable via keyboard options) that jumps between linked types. In case of multiple linked types, a dedicated popup menu is shown, which can also be displayed in [Find Results](https://www.jetbrains.com/help/resharper/2016.1/Reference__Windows__Find_Results_Window.html) window. - -## Test Creation - - - -- Create production/test class if they don't exist -- Requires at least one matching pair of test and production class in the project - -## Test Execution - -- Tests can be executed from their linked production code. This feature automatically integrates with the shortcuts for executing unit tests in *run*, *debug*, *profile*, and *cover* mode. +demo video ## Configuration @@ -42,10 +21,13 @@ Link data is currently maintained via: - **Derived names**, as with `Calculator` and `CalculatorTest`. Pre-/Postfixes can be configured in the options page. - **Usages of TypeofAttributes**, as in `[Subject (typeof (FirstComponent), typeof(SecondComponent)]`, which are applied to test classes. This custom attribute is especially useful for integration test and can be configured through the options page. -### Rider +options page screenshot - +## Building Locally -### ReSharper +- Please go though https://github.com/JetBrains/resharper-rider-plugin +- Once initial setup is done, plugin can be build using: - + ```bash + ./gradlew :buildPlugin + ``` diff --git a/TestLinker2.sln b/TestLinker2.sln index 1f264a3..7c8f72c 100644 --- a/TestLinker2.sln +++ b/TestLinker2.sln @@ -12,6 +12,9 @@ ProjectSection(SolutionItems) = preProject CHANGELOG.md = CHANGELOG.md gradle.properties = gradle.properties src\dotnet\Directory.Build.props = src\dotnet\Directory.Build.props + .editorconfig = .editorconfig + .gitattributes = .gitattributes + .gitignore = .gitignore EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "rider", "rider", "{0D2E1B08-01C7-4E9E-A398-5045BD79BE1C}" diff --git a/gradle.properties b/gradle.properties index 4c10bd1..ed38005 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ DotnetPluginId=ReSharperPlugin.TestLinker2 DotnetSolution=TestLinker2.sln RiderPluginId=testlinker2 -PluginVersion=2020.3.0 +PluginVersion=2020.3.1 BuildConfiguration=Debug diff --git a/misc/Demo.gif b/misc/Demo.gif new file mode 100644 index 0000000..ac60963 Binary files /dev/null and b/misc/Demo.gif differ diff --git a/misc/Demo_Create.gif b/misc/Demo_Create.gif deleted file mode 100644 index 910bb38..0000000 Binary files a/misc/Demo_Create.gif and /dev/null differ diff --git a/misc/Demon_Navigate.gif b/misc/Demon_Navigate.gif deleted file mode 100644 index 07714b7..0000000 Binary files a/misc/Demon_Navigate.gif and /dev/null differ diff --git a/misc/ExtensionManager.png b/misc/ExtensionManager.png deleted file mode 100644 index 30e0fd9..0000000 Binary files a/misc/ExtensionManager.png and /dev/null differ diff --git a/misc/OptionsPage-Rider.png b/misc/OptionsPage-Rider.png deleted file mode 100644 index c90db49..0000000 Binary files a/misc/OptionsPage-Rider.png and /dev/null differ diff --git a/misc/OptionsPage.png b/misc/OptionsPage.png index 3e403d5..c90db49 100644 Binary files a/misc/OptionsPage.png and b/misc/OptionsPage.png differ diff --git a/src/rider/main/resources/META-INF/plugin.xml b/src/rider/main/resources/META-INF/plugin.xml index 14b71d1..f3e4ae9 100644 --- a/src/rider/main/resources/META-INF/plugin.xml +++ b/src/rider/main/resources/META-INF/plugin.xml @@ -1,10 +1,11 @@ - testlinker2-rider Test Linker 2 + testlinker2-rider _PLACEHOLDER_ Vladyslav Burylov - + com.intellij.modules.rider + + Initial release of the plugin. + Semantically linking production and test code. This is fork of TestLinker plugin.

+
    +
  • Adds hotkey for quick switching between tests/code
  • +
  • Synchronizes test/production classes renames
  • +
+
+See documentation for more details, please. ]]>