Hi Am Sonntag, 20. M�rz 2005 18:55 schrieb Ivan Villanueva: > Hello list, > is there any filter to check javadoc documentation in java source files? > If you are using aspell >= 0.60.x the following holds Afaik Javadoc is enclosed within javacomments which are similar or equal to c/c++ thus try the context filter which per default looks for c/c++ comments. Further look at the filter modes and how to use them to customize the behaviour of different filter. If you want to limit the checking to javadoc parts only and ommit any other comments than simply call aspell as follows
aspell --add-filter context --rem-all-context-delimiters \ --add-context-delimiters "/**,*/ //*,\0" -c <your java file> the \ only indicates that the line is continued in the one below. Further before using the above line check the manual on how to properly specify the delimiters. Allthought i coded the entire filter i'm not quite shure if the above really holds, especially if the `,' really can be used to separate open and close context markes ;-( Possibly you have to change the `\0' indicating that the entire context is closed by the end of line to `\\0' in order to make the above line work properly ;-( I aspell behaves as you exspect than try to combine the filter related commandline arguments within a filter mode file and submitt it to Kevin so that he is able to include it in the next release. cu Xris _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
