Comments (16)
Stumbled over the same problem with XUnit, so probably it would be good to ignore classes and/or methods configurable by e.g.
- name pattern,
- existing attributes (like [NUnit.Framework.TestFixture], [XUnit.FactAttribute] etc,)
- project (to excluce test projects)
For test code the "ignore attributed methods" could be collected in presets ("ignore XUnit test code", "ignore NUnit test code", ...)
from exceptionalresharper.
2016-09 still issue not fixed?
from exceptionalresharper.
@Lechus feel free to work on it, or try to contribute in useful way at least, instead of complaining about time others do not spend enough in your eyes.
from exceptionalresharper.
I will accept PRs but I currently do not have the time to work on this project directly...
from exceptionalresharper.
@RSuter still struggling with project structure/debugging/different ReSharper versions, but quite interested in the project. Once I solve my issues with how to smoothly work on it, I think about getting a core contributor (if you like)
from exceptionalresharper.
I don't know if there is a good debugging story with the latest ReSharper, maybe @citizenmatt knows more?
from exceptionalresharper.
I asked @citizenmatt about it on Twitter already, which solved my issues up to a certain point (trying to debug Exceptional with ReSharper 2016.2), now I get it started and installed in a test instance, but it doesn't show up anywhere yet.
Before I used the quite outdated ReSharper API documentation that still referred to a devenv command line switch to use the extension to debug.
from exceptionalresharper.
This is the page, that explains how to get debugging working. It's up to date, and has links to other sections such as creating the test instance and installing ReSharper there.
Once you've got a test instance set up with ReSharper installed, you can just install your extension from a local folder, and you're set up to debug. Either attach the debugger, or launch VS directly in the debugger, passing in the name of the test instance. You can also simply copy your .dll to the installation folder, too, to make it a bit easier to build, test, edit.
If nothing is showing up, you'll want to check the troubleshooting page.
from exceptionalresharper.
Thanks @citizenmatt, I really miss the /ReSharper.Plugin flag which made debugging extremely simple... Now you always have to build, install, attach debugger, etc... its too time consuming to develop a R# extension.
from exceptionalresharper.
still no success for me unfortunately. (sorry for hijacking this thread for now).
Resharper install log contains this exception:
--- EXCEPTION #1/1 [LoggerException] Message = βThe Master Assembly Binder does not know this assembly, and neither does the GAC. Reference from assembly ReSharper.Exceptional.2016.1 to assembly JetBrains.ReSharper.Feature.Services could not be resolved.β ExceptionPath = Root ClassName = JetBrains.Util.LoggerException HResult = COR_E_APPLICATION=80131600
All I could find about that sounds unreasonable as Exceptional should have worked before, so it shouldn't be necessary to add or remove some dependencies.
from exceptionalresharper.
did you install it via nuget?
i think you have to define your own nuget source (i.e. directory path) and install the locally compiled nuget (see .bat scripts)...
from exceptionalresharper.
I didn't use a Nuget source, but a resharper plugin source (may be what you're talking about).
I may have done anything wrong when trying to create the 2016.2 package though. Starting from scratch again now stashing all changes Exceptional is not available in the plugin list (even though the Exceptional 2016.1 package is in the local package source I configured).
So I tried the following changes (and nothing else):
-
in packages.config I upgraded the package Wave from 5.0.0.0 to 6.0.0.0
-
in the nuspec file I changed the wave dependency to version="[6.0, 7.0)"
Doing that, Exceptional occurs in the plugin list of the experimental VS instance and I can (try to) install it, but get the Exception posted earlier. What's missing?
from exceptionalresharper.
You have to upgrade the wave version with nuget, only changing it in packages.config is not enough...
from exceptionalresharper.
@lotosbin has a working fork with v2016.2 you can merge it from there...
from exceptionalresharper.
Yeah, update the JetBrains.ReSharper.SDK package via nuget (just changing packages.config won't work). It'll upgrade everything else, including the Wave package. Then yes, update the Wave dependency to "[6.0]" in your .nuspec.
from exceptionalresharper.
The possibility of turning the plugin off for certain projects (i.e. test assemblies) would be really interesting. Specially when testing for exceptions.
from exceptionalresharper.
Related Issues (20)
- Full Guide for manual installation? HOT 8
- Optional exceptions not working HOT 7
- Options in General page are not saved in Visual Studio 2019 HOT 1
- SDK Update to Resharper 2020.2.x HOT 5
- Do not show AsyncConverter.AsyncWait error on finished tasks
- Ignores checked keyword
- Private protected methods ignored
- Inheritdoc with exception bug
- Change exceptional documentation style
- NullReferenceException - Object reference not set to an instance of an object.
- Change format of exception comment (specifically the type)
- 2019.1 Support? HOT 3
- Save problem with Checkboxes in Options HOT 3
- Exceptional not available in Extension Manager HOT 2
- 2019.2.x Support? HOT 14
- New Maintainer? HOT 5
- Autofixes for optional exceptions
- Exclude whole assemblies HOT 3
- 2019.3.x Support? HOT 3
- Nightly Build HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exceptionalresharper.