GithubHelp home page GithubHelp logo

sheitmann / agentsmith Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 7.0 3.08 MB

Agent Smith is C# code style validation plugin for ReSharper (Visual Studio plugin).

License: GNU General Public License v2.0

C# 100.00%

agentsmith's People

Contributors

drewnoakes avatar sheitmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

agentsmith's Issues

Suspend/Resume ReSharper 2021.2 Appears to Hange/Crash with Agent Smith Installed

Greetings,

I wanted to make sure you are aware of this issue:
https://youtrack.jetbrains.com/issue/RSRP-484699#focus=Comments-27-5108403.0-0

It appears that when Agent Smith is installed and one Suspends/Resumes R# 2021.2, Visual Studio hangs and eventually crashes/restarts. This has happened several times to me now. After uninstalling Agent Smith I was able to suspend/resume without hang.

There may be another consideration/factor here, and will update here if so, but I wanted to make sure you are aware of at least the exception that is occurring and if possible see if it can be addressed.

Agent Smith Breaking Code Cleanup

Code Cleanup no longer works whens Agent Smith is installed, This is show in the Jet Brains Log file shown below

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Specified argument was out of the range of valid values.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = ReSharper.AgentSmith
ParamName = profileType
StackTraceString = “
at AgentSmith.Comments.Reflow.ReflowAndRetagCodeCleanup.SetDefaultSetting(CodeCleanupProfile profile, DefaultProfileType profileType) in E:\Projects\AgentSmith R#2016.1\src\src\AgentSmith\Comments\Reflow\ReflowAndRetagCodeCleanup.cs:line 42
at JetBrains.ReSharper.Feature.Services.CodeCleanup.CodeCleanupSettingsComponent.GetDefaultProfile(DefaultProfileType profileType)
at JetBrains.ReSharper.Feature.Services.CodeCleanup.CodeCleanupSettingsComponent.GetProfiles(IContextBoundSettingsStore store)
at JetBrains.ReSharper.Features.Altering.CodeCleanup2.ViewModels.CleanupToolViewModelFactory.InitializeProfiles(IContextBoundSettingsStore contextBoundSettingsStore)
at JetBrains.ReSharper.Features.Altering.CodeCleanup2.ViewModels.Options.CodeCleanupOptionsPageViewModel.get_ToolViewModel()
at JetBrains.PsiFeatures.UIInteractive.Features.Altering.CodeCleanup2.Options.CleanupOptionsPageView.DataContextCoerceValueCallback(DependencyObject dependencyObject, Object baseValue)

Feature request: Suppress errors/warnings for partial classes

Hey!

Great tool. I've just noticed that for partial classes it will throw an error even if one of the classes has an xml comment against it.

Is this intentional? My understanding is that the comments are not additive, they'll overwrite one another (at least in my generated Doxygen they seem to)

Feature request: Ability to ignore specific identifier requiring meta-tag.

Often times when documenting methods, you use words such as 'this' without intending to talk about the base class. (such as in the example below)
image

Adding the ability to ignore 'WordCanBeSurroundedWithMetaTags' for specific words (i.e. 'this') would greatly enhance the user experience as they are no longer forced to wrap the word in <c></c> to indicate the identifier is not intended, or to add a comment suppression. This would perhaps be implemented as an 'identifier suggestion blacklist', allowing users to specify words they almost certainly don't want hints for, and can simply add the meta-tag themselves if required without being warned.

2020.3 Support

It's that time again! Out of 16 extensions that I have installed, this and TestCop were the only extensions that are not available for 2020.3.


Please vote to improve the extension model experience so we don't have to continually nag extension authors for each release:

https://youtrack.jetbrains.com/issue/RSRP-459966

Update for 2022.2?

Just wanted to say that I miss this extension. Would love to see it revived again.

C# 6 string interpolation support

Marking a string with the '$' sign seems to exclude the whole string from spellchecking.

Example:
var errorCode = 42;
var message = $"The errror code was {errorCode}!";

The equivalent with string.Format works as expected.

Used environment:
.Net 4.5.1 Project
VS15 Update 2 (14.0.25123.00)
R# 2016.1.2
Agent Smith 2016.1.0

Meta-tag suggestions aren't present if preceding meta-tag exists.

Perhaps as a form of optimisation, Agent Smith appears to not suggest meta-tags after a meta-tag is first found in the documentation. This however forces users to add meta-tags manually back-to-front otherwise suggestions disappear.

  1. Two suggestions are present.
    image
    2.a If the first suggestion is used, the second disappears.
    image
    2.b If the second suggestion is used, the first suggestion still stays.
    image

This forces users to always implement suggestions in reverse order.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.