aefimov / idea-spellchecker

Integration of Jazzy into IntelliJ IDEA
0 stars 0 forks source link

Detect non english sentences and don't report them as misspelled #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Should be fairly easy to do.
For example:

/*
StringBuffer buf = new StringBuffer();
*/

/*
превед медвед!
*/

will generate a lot of misspelled words.
If we check misspelled words ratio and if it's over a certain threshold
perhaps we could skip that line (or a paragraph).

Original issue reported on code.google.com by sergiy.d...@gmail.com on 19 Sep 2007 at 9:02

GoogleCodeExporter commented 8 years ago
Why? Maybe add option to switch dictionary?

Original comment by aefimov....@gmail.com on 19 Sep 2007 at 9:05

GoogleCodeExporter commented 8 years ago
If I had a code 
StringBuffer buf = new StringBuffer();
and I don't need it anymore, I want to comment out (or code example in javadoc)
/*
StringBuffer buf = new StringBuffer();
*/
will highlight all words except 'new'. It always annoyed me in MS Word, so 
there is a
chance to fix it in idea.

Original comment by sergiy.d...@gmail.com on 19 Sep 2007 at 12:17

GoogleCodeExporter commented 8 years ago
Must be ignore words typed as no 'words' :)

Original comment by aefimov....@gmail.com on 20 Sep 2007 at 5:50