-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No spell checking tool for C++ comments #65
Comments
Something like using LLVM/Clang to emit the C++ comments and then run that output through a normal spell checker. For example the following emits the AST for the
Or to output the same but without the special characters add in the
But it only seems to emit the Doxygen comments. So maybe there's something along the lines of using the LLVM library for this. |
Uploaded a new project I created for this: pyspellcode. It's a python script that parses the AST dump output from I should be able to hook this up to this project's continuous integration at some point for automatically spell checking comments. Running it by hand for now though (to start with) and will be uploading a spell fix branch next. |
Closing this since a tool for spell checking is available now. Usage for this project is like:
|
Expected/Desired Behavior or Experience:
There should be no spelling mistakes in C++ comments especially since many of the comments are used in Doxygen documentation output. Need a command line tool for checking for spelling mistakes. This tool should be both manually and automatically runnable.
Actual Behavior:
There's currently no command line tool in place to check for spelling mistakes. Not manually nor automatically.
Steps to Reproduce the Actual Behavior:
Make a pull request with C++ code in it that has a comment with some words misspelled and notice that the misspellings don't get flagged by the PR mechanism.
The text was updated successfully, but these errors were encountered: