vladyslav-burylov / resharper-testlinker2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from matkoch/resharper-testlinker
Easy navigation between test and production code.
License: MIT License
This project forked from matkoch/resharper-testlinker
Easy navigation between test and production code.
License: MIT License
Tried the latest version v2022.2.1, but it does not work. Tried the new shortcut, old shortcut, through the context menu. Nothing happens when "Goto linked types" is triggered.
Don't know how to investigate further.
Downgrading to 2022.2 helped - works just fine.
Windows 10, Rider 2022.2.1
Hi @mu88 - FYI - 2021.3 build seems to be failed, however it looks like it was actually uploaded to Jet Brains - I've got confirmation e-mail.
Attaching binary which was uploaded
Hi vladysav
Do you plan to update the compatability of the test linker to the newest version of Rider?
Kind regards
Floopy
This is more a general idea: since the forked repository matkoch/resharper-testlinker is already archived, it does not make a lot of sense to me to keep the fork and it's base repo longer separate. Instead, the fork should be the only source of truth - of course by honoring @matkoch for his tremendous work.
I therefore want to bring up the following idea:
@matkoch, @vladyslav-burylov: what do you think about this?
Deleted: sth strange happened and comment update has been transformed into a separate issue.
The automatic deployment via GitHub Actions fails atm because building on Linux fails with the following error:
> Task :buildSearchableOptions
Installation home directory: file:////home/runner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1
System directory: file:////home/runner/work/resharper-testlinker2/resharper-testlinker2/build/idea-sandbox/system
Config directory: file:////home/runner/work/resharper-testlinker2/resharper-testlinker2/build/idea-sandbox/config
Log directory: file:////home/runner/work/resharper-testlinker2/resharper-testlinker2/build/idea-sandbox/system/log
Following output will be written to a log file /home/runner/work/resharper-testlinker2/resharper-testlinker2/build/idea-sandbox/system/log/frontend.log
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.lang.UrlClassLoader (file:/home/runner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib/util.jar) to field java.lang.ClassLoader.classLoaderValueMap
WARNING: Please consider reporting this to the maintainers of com.intellij.util.lang.UrlClassLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-04-20 06:15:15,672 [ 1404] SEVERE - #c.i.i.ApplicationLoader - Cannot run program "/home/runner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib/ReSharperHost/linux-x64/dotnet/dotnet": error=13, Permission denied
java.io.IOException: Cannot run program "/home/runner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib/ReSharperHost/linux-x64/dotnet/dotnet": error=13, Permission denied
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at com.jetbrains.rider.protocol.ReSharperProcessBase.start(ReSharperProcessBase.kt:363)
at com.jetbrains.rider.protocol.ReSharperProcess.<init>(ReSharperProcess.kt:232)
at com.jetbrains.rider.protocol.ProtocolManager.k(ProtocolManager.kt:243)
at com.jetbrains.rider.protocol.ProtocolManager.h(ProtocolManager.kt:166)
at com.jetbrains.rider.protocol.ProtocolManager.<init>(ProtocolManager.kt:161)
at com.jetbrains.rider.RiderApplicationLoadListener.beforeApplicationLoaded(RiderApplicationLoadListener.kt:64)
at com.intellij.idea.ApplicationLoader.initConfigurationStore(ApplicationLoader.kt:422)
at com.intellij.idea.ApplicationLoader$initApplication$block$3.apply(ApplicationLoader.kt:137)
at com.intellij.idea.ApplicationLoader$initApplication$block$3.apply(ApplicationLoader.kt)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.io.IOException: error=13, Permission denied
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 19 more
2022-04-20 06:15:15,676 [ 1408] SEVERE - #c.i.i.ApplicationLoader - JetBrains Rider 2022.1 Build #RD-221.5080.235
2022-04-20 06:15:15,683 [ 1415] SEVERE - #c.i.i.ApplicationLoader - JDK: 11.0.14.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-04-20 06:15:15,684 [ 1416] SEVERE - #c.i.i.ApplicationLoader - OS: Linux
2022-04-20 06:15:15,830 [ 1562] WARN - j.u.prefs - Prefs file removed in background /home/runner/.java/.userPrefs/prefs.xml
2022-04-20 06:15:16,408 [ 2140] WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group Debugger event log messages is already registered (group=com.intellij.notification.NotificationGroup@1adf30c4). Plugin descriptor: PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib, version=221.5080.235, package=null, isBundled=true)
2022-04-20 06:15:16,418 [ 2150] WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group Rider Remote Debugger: Upload Error is already registered (group=com.intellij.notification.NotificationGroup@4581d18d). Plugin descriptor: PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib, version=221.5080.235, package=null, isBundled=true)
2022-04-20 06:15:16,422 [ 2154] WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group Xcode settings warnings is already registered (group=com.intellij.notification.NotificationGroup@6ff529ea). Plugin descriptor: PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib, version=221.5080.235, package=null, isBundled=true)
2022-04-20 06:15:16,423 [ 2155] WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group Xamarin launch is already registered (group=com.intellij.notification.NotificationGroup@1f3677d0). Plugin descriptor: PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib, version=221.5080.235, package=null, isBundled=true)
2022-04-20 06:15:16,423 [ 2155] WARN - #c.i.n.i.NotificationGroupManagerImpl - Notification group ASP.NET Core Certificate Notifications is already registered (group=com.intellij.notification.NotificationGroup@7c8c2de2). Plugin descriptor: PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.rider/riderRD/2022.1/3359a42138f5a6a0343321213b46ac791240e1c4/riderRD-2022.1/lib, version=221.5080.235, package=null, isBundled=true)
2022-04-20 06:15:16,479 [ 2211] WARN - #c.i.i.DebugAttachDetector - Unable to start DebugAttachDetector, please add `--add-exports java.base/jdk.internal.vm=ALL-UNNAMED` to VM options
But I can build the plugin locally on my Windows machine and everything works fine.
@vladyslav-burylov Could you please do the publishing manually?
I will handle the automatic deployment.
Within GitHub's repository settings, is there an option to enable notifications when a new issue is created? Because I neither got an email nor a notification for issue #9
Is there no build for ReSharper anymore?
Dear @vladyslav-burylov and @matkoch,
Since the functionality of this plugin is now part of Rider itself, I no longer see value in maintaining it.
Do you agree? If yes, what should we do with this repo and the plugin? Can we archive them?
It does not seem to work for me with Rider and NUnit:
I tried:
I explicitly made an example (aka minimum reproducible example aka MRE) .NET 7.0 project: TestProject2.zip
It basically uses the Rider templates, one ClassLibrary
:
namespace ClassLibrary;
public class Class1
{
public void Do() =>
Console.WriteLine("something");
}
...and one ClassLibrary.Test
:
namespace ClassLibrary.Test;
[TestOf(typeof(Class1))]
public class Class1Test
{
[SetUp]
public void Setup() { }
[Test]
public void Test1()
{
new Class1().Do();
Assert.Pass();
}
}
TestOf
atttribute, without success[TestFixture]
Class1
The menu entry I used when trying it via the actions search:
JetBrains Rider 2023.2.2
Build #RD-232.9921.83, built on September 24, 2023
***
Runtime version: 17.0.8+7-b1000.22 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
.NET Core v7.0.7 x64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 4070M
Cores: 12
Registry:
ide.experimental.ui=true
database.show.search.tab=false
ide.new.project.model.index.case.sensitivity=true
vcs.empty.toolwindow.show=false
Non-Bundled Plugins:
com.github.lppedd.idea-conventional-commit (0.22.0)
testlinker2-rider (2023.2.2)
de.femtopedia.diffplugin (2.1.11)
fluentassertions-rider (2023.2.0)
nsubstitutecomplete-rider (1.10.0)
com.intellij.plugin.adernov.powershell (2.1.0)
me.seclerp.rider.plugins.efcore (232.1.0)
com.intellij.ml.llm (232.9826)
com.microsoft.vso.idea (1.162.2)
zielu.gittoolbox (500.0.20+222)
mobi.hsz.idea.gitignore (4.5.1)
izhangzhihao.rainbow.brackets (2023.3.5)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.