azure-sdk-for-cpp icon indicating copy to clipboard operation
azure-sdk-for-cpp copied to clipboard

Feature request: Add all C++ standard library keywords/functions to cSpell whitelist

Open Jinming-Hu opened this issue 3 years ago • 1 comments

cSpell complains about word stoul, which is a function in C++ standard library https://en.cppreference.com/w/cpp/string/basic_string/stoul.

We could use cSpell directive to disable this warning, but that is less ideal.

https://dev.azure.com/azure-sdk/public/_build/results?buildId=1649730&view=logs&jobId=898e4637-1718-5730-45ee-bcd3f73a618c&j=a129effc-2dd1-54d1-fb5a-ad7bdc0e851d&t=ccad100f-2904-5913-2083-c525ad929a03

Jinming-Hu avatar Jun 17 '22 13:06 Jinming-Hu

Looks like there's a dictionary called cpp-refined that contains the word...

https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/cpp/src/stdlib-cpp.txt#L130

When upgrading the cspell version we should add in this dictionary.

danieljurek avatar Jun 17 '22 20:06 danieljurek

Hi @Jinming-Hu, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

github-actions[bot] avatar Jun 17 '24 18:06 github-actions[bot]