Giter Site home page Giter Site logo

Comments (7)

sidewinder94 avatar sidewinder94 commented on June 22, 2024 1

I've only got Office 2016 installed.
I don't think it is spellchecking though, see the "error" below :
screenshot

See how StyleCop is expecting me to use english comments instead of french ones.

Under VS 2013, Stylcop By JetBrains is picking the language correctly and does not indicate an error here.

(Sorry for the black boxes but this is a corporate project)

EDIT :
One more information, I'm now using the 2016.1 release of R# and it does not seem to impact my issue

from stylecop.

patrickcdsouza avatar patrickcdsouza commented on June 22, 2024 1

Hi Guys, is this issue resolved or is there any workaround? Basically StyleCop does not honor the culture setting in the StyleCop settings file. E.g. Enforces "Initializes" (en-US) instead of "Initialiases" (en-GB).

I am using VS2015, Resharper Ultimate 2017.1.2, StyleCop.dll (4.7.1000.0 - 4.7.54.0), StyleCop.Resharper.dll (4.7.1000.0 - 4.7.54.0).

Also manually copying the dlls mentioned in the link below has no effect.
StyleCop/StyleCop.ReSharper@504d070

from stylecop.

citizenmatt avatar citizenmatt commented on June 22, 2024

I've just stepped through the code, and it's definitely loading settings files, and the culture is set, too. So, ReSharper is reading the information, but I'm not sure if it's using it. From your comment, I'm not sure what "StyleCop expects the XML doc comments to be redacted in English instead of the selected locale" means. Is this a spell check issue?

I ask this because StyleCop uses the spell checker from Office 2010 only, and you have to have that version installed, or it doesn't get picked up.

Could you provide some screenshots, perhaps, or the StyleCop rule that is failing, please?

from stylecop.

yodasad avatar yodasad commented on June 22, 2024

I have the same issue: Resharper 2016.1, StyleCop by JetBrains 2016.1.0, StyleCop 4.7.49.
In VS 2013 everything works as expected.

from stylecop.

citizenmatt avatar citizenmatt commented on June 22, 2024

This is due to the language resource files not being installed. Unfortunately, the ReSharper installer doesn't like it when I add them - it complains that there are multiple files with the same name. I'm speaking to the team to see if there's a way to make it work.

from stylecop.

yodasad avatar yodasad commented on June 22, 2024

Hi!
It seems like the problem has come back in VS 2017, Resahrper 2016.3.2, StyleCop by JetBrains 2016.3.2

from stylecop.

dfyx avatar dfyx commented on June 22, 2024

Can confirm, this happens with VS 2017, ReSharper 2017.1.2, StyleCop by JetBrains 2017.1.1.

Manually copying the missing files to the right location doesn't appear to have any effect.

from stylecop.

Related Issues (20)

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.