2011/5/5 Nguyen Vu Hung (VNC) <vuh...@vinicorp.com.vn>

>  (2011/05/05 14:52), Jean Christophe André wrote:
>
> $ echo 'isRecieved' | sed 's/\([A-Z]\)/ \1/g' | aspell -d en -a
>
>  Nice tip that solve a specific case.
>
> In our project, as camelCase is used, we need to check all the
> methodClassPackageName and the like.
>
> # and old_style_variable_naming_convention as well.
>
> Just googled and this is the closest *paper* I've found; unfortunately, not
> a ready-to-use tool.
> www.jessies.org/~enh/publications/checking-code-spelling.pdf<http://www.jessies.org/%7Eenh/publications/checking-code-spelling.pdf>
>
> Any ideas?
>
>
>
> _______________________________________________
> POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines
> _______________________________________________
> HanoiLUG mailing lists: http://lists.hanoilug.org/
> HanoiLUG wiki: http://wiki.hanoilug.org/
> HanoiLUG blog: http://blog.hanoilug.org/
>


In the case of Java language, i think Annotation Processing Tool could help
you to plug spell checker into the Java compiler

Have look on those packages in Java Core

javax.annotation.processing   and javax.lang.model ( kind of compile time
reflection)





-- 
Minh Hoang TO
eXoPlatform SAS, tang 8, building 18, Thai Ha, Ha Noi
_______________________________________________
POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines
_______________________________________________
HanoiLUG mailing lists: http://lists.hanoilug.org/
HanoiLUG wiki: http://wiki.hanoilug.org/
HanoiLUG blog: http://blog.hanoilug.org/

Trả lời cho