aelij / configureawaitchecker Goto Github PK
View Code? Open in Web Editor NEWConfigureAwait Checker for ReSharper and Rider
License: Apache License 2.0
ConfigureAwait Checker for ReSharper and Rider
License: Apache License 2.0
The extension is not available from ReSharper's extension manager
Add 2018.1 support please
Hey, I've noticed this awesome extension is missing for R#9.1, but still available for 9.0 and 8; Any chance to see it for 9.1?
ConfigureAwaitChecker
has disappeared from Extension Manager.
Currently ReSharper 2016.3 is in preview, but this preview is the first version that support Visual Studio 2017 (RC). Could you perhaps add support for 2016.3?
Hi - and thanks for an excellent plugin!
I see that you have a test asserting that the extension ignores test classes, but I did not figure out how it works.
Do your require that test classes start with test? Or is there some other mechanism at play here?
We are using another R# extension – TestCop – which aligns our test code with production code through namespaces and a simple RegEx.
Common.Utils.SomeClass defined in Common.dll has test code defined in Common.Tests.dll, namespace Common.Tests.Utils.SomeClassTests
This pattern is not recognized by your extension, and we therefore get a lot of “noise” in our test code where ConfigureAwait makes less sense…
Any chance you could fix this? Or anything I could do on my side to fix this?
Got this request via the ReSharper gallery:
I'm using your ConfigureAwaitChecker plugin for ReSharper. Sadly it doesn't work with ReSharper's InspectCode command line tool. First I thought it's because InspectCode is somehow not completed yet but another plugin author mentioned that he had to fix something called 'R# platform zone markers' (see https://youtrack.jetbrains.com/issue/RSRP-436208). Could you please check whether this is true for your plugin as well?
Hi guys,
I'm a support engineer of the ReSharper team. The latest ConfigureAwaitChecker version is marked as compatible with all the versions newer than Wave 203 Wave:203.0.0
However, it requests for Wave 203 components when being installed into Wave 211 (2021.1 EAP)
So it is available in R# Extension Manager despite it causes the related errors during the installation and when it's running in ReSharper.
“Error resolving type JetBrains.ReSharper.Feature.Services.CSharp.Analyses.Bulbs.ICSharpContextActionDataProvider from assembly “JetBrains.ReSharper.Feature.Services.CSharp, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services.CSharp, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
“Error resolving type JetBrains.ReSharper.Feature.Services.Intentions.Scoped.QuickFixes.ScopedQuickFixBase from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
Please fix the versioning issue and upload the updated version with properly specified supported R# version: Wave:[203.0.0]
I've just been recommended this extension and loaded up this solution and I get no warning about ConfigureAwait
here https://github.com/VQComms/TracingMiddleware/blob/master/src/TracingMiddleware/TracingMiddleware.cs#L57
Any ideas?
var returnClause = new[] { "discoveryJson", "IsDiscoverable" };
dynamic whereClause = new ExpandoObject();
whereClause.TypeOf = AlexaApplianceClassPath;
int count = 0;
var devices = await HomeObject.Select(returnClause, whereClause).ConfigureAwait(false);
The ConfigureAwait(false);
can be harmful when used from ASP.NET application as it's forces the method to continue outside of RequestContext.
More details:
http://stackoverflow.com/questions/13489065/best-practice-to-call-configureawait-for-all-server-side-code
Code analyzers built into resharper there is an option to apply the fix to the file/project/solution it would be nice if ConfigureAwaitChecker also supported this.
Thanks
Hi,
it's missing from the list.
Thank you!
I noticed I cannot use this plugin in EAP versions, only in the non-EAP version, and now with 2019.3, it's not supported either.
As opposed to needing to keep updating the version numbers every time a new build is released, why not open up this plugin to all future version + EAP, and then only fix when something breaks in a future version?
Hey! Are you planning on supporting 2016.2 with this extension? I can't seem to find it in the gallery 😢
Please update your great extension for Resharper 2017.1
Please, release a version for new ReSharper release :)
Hi,
It seems ConfigureAwaitChecker 0.22.0 doesn't work on R# 2020.2. Could you please support this version?
Regards,
Vladimir.
ReSharper disable comments (e.g. added via Alt+Enter
> Options > Disable) don't actually disable the issue (plugin 0.1.0.2, R# 8.2.3000.5176, VS 2013 update 3). Is this a universal problem or just on my machine?
// ReSharper disable ConsiderUsingConfigureAwait
await Task.Delay(500);
(Thanks for this plugin, by the way! We are thinking about requiring ConfigureAwait
on all await
calls and I checked for a plugin on a whim.)
The idea is sound, but I honestly don't want to add ConfigureAwait to every await statement. For non-GUI libraries, I find it reasonable to only add this to the public methods and I'd like this plugin to help me not forget them. Thoughts?
Hey @aelij,
thanks for this great extension. I'm wondering if we could start adding support for Rider as well... I can even help with that if you're interested.
Please let me know what you think.
Matt
Thanks :)
Hi,
It seems like ConfigureAwaitChecker 0.22.0 doesn't work with Resharper 2020.2.4
JetBrains ReSharper 2020.2.4 Build 202.0.20200925.65451 built on 2020-09-25
Could you please update your plugin for Resharper 9.2?
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.