phphtmlopen-sourcespell-checkingaspell

Source code spellcheckers is there an open-source solution or should I make my own?


I need a source code spell-checker. Of course there is a closed source ones but I'm looking for an open source solution, That can spell check html files, php source codes any further types would be better.

I also thought about making my own since there is a good libraries for spell checking, So what features you think it's good to be added to this application?

I have a very basic imagination of it:

Edit: It should have a GUI and should be cross-platform.


Solution

  • Eclipse PDT, which is one of the best IDE for PHP (and is free) supports spellchecking -- as its based on Eclipse.

    You can enable it in the preferences, and set a couple of options.

    Unfortunatly, I don't think it parses source-code, and it'll highlight as "errors" parts of code that are actually not errors :-( So that's at least one thing that will not work for you, I suppose.

    On the other hand :

    Here is a screenshot of the configuration dialog :

    And a result of source-code spellchecking :


    (source: pascal-martin.fr)

    In red, an actual error, in a comment ; in green a not-error, in PHP code.