Spellchecker plugin usability

Thanks for bundling such a useful functionality.

Still I have some questions/suggestions about making it more useful and easy to use:

- why are custom words now project-specific?
- how to provide (existent) custom dictionaries, e.g. for german or other foreign languages? can we use existent dictionaries?
- how about integrating with builtin system dictionaries, e.g. on Mac OSX?
- how to backup/share custom dictionaries easily?
- please provide much, much more "common" programming idioms/abbreviations or ignore them automatically (e.g. "...Impl")

1
10 comments

- how about integrating with builtin system dictionaries, e.g. on Mac OSX?


Just curious: do you (or someone else) know how to access this dictionary
from Java?

0

Honestly, I don't find the spellchecker that useful because there isn't any
way to control what it checks. I'd like independent options for:

1. SpellCheck comments
2. SpellCheck class names
3. SpellCheck method names
4. SpellCheck constants (i.e., public static finals)
5. SpellCheck code inside methods

For me, other than the first 4 above, I don't want spell checking on. I
don't want to see a bunch of highlighting for misspelled variable names
(usually because they use abbreviations that aren't known). I'd also like to
be able to ignore words when they're endings, e.g., Impl, StubI, Ifc, etc.,
but not when they're in the beginning or middle of a name.

;ted

"Yann Cébron" <no_reply@jetbrains.com> wrote in message
news:2069353.160571248679623963.JavaMail.clearspace@app8.labs.intellij.net...

Thanks for bundling such a useful functionality.

>

Still I have some questions/suggestions about making it more useful and
easy to use:

>

- why are custom words now project-specific?
- how to provide (existent) custom dictionaries, e.g. for german or other
foreign languages? can we use existent dictionaries?
- how about integrating with builtin system dictionaries, e.g. on Mac OSX?
- how to backup/share custom dictionaries easily?
- please provide much, much more "common" programming idioms/abbreviations
or ignore them automatically (e.g. "...Impl")

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5242421#5242421



0

Settings -> Inspections -> Spelling will let you turn on/off spell checking for at least some of the options you listed (all options are checked by default).

0

Is that available in 10597? The only option I currently see under
Settings -> Inspections is:

Spelling
|
--- Typo

And that's it. And there's no explanation of "Typo", so I assume that's
coming in a later EAP?

;ted

"Russ" <no_reply@jetbrains.com> wrote in message
news:29688955.163211248794954926.JavaMail.clearspace@app8.labs.intellij.net...

Settings -> Inspections -> Spelling will let you turn on/off spell
checking for at least some of the options you listed (all options are
checked by default).

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5242522#5242522



0

I was using 10558.  I fired up 10597 and now I see what you're seeing (i.e. just "Typo").  I wonder if they're in the middle of making updates or if this is a regression.

These are the options in 10558 - hopefully they make a comeback:

idea_spelling.png

0

any comments from JB?

0

In the build I have, the typo plugin seems to half understand cammlecase e.g. it will highlight each part of it independently of other parts. However, in the suggestions, it doesn't seem to take this into account, giving me options for the entire 'word'. E.g. if I put getTreu, it will underline only Treu, but it seems to search for misspellings of gettreu, rather than treu. I was kind of hoping it would say "treu -> true" and then fix it back into the cammelcase neatly.

This plugin is potentially very useful for me and the myriads of other dyslexic programmers, but it does need to actually be aware of how words are composed into identifiers!

0

I'm not a big fan of the OS X spell checking framework. The quality is quite bad for languages other than English. At least that's the case for the German version.

0

What I'd love to see is different spelling profiles for e.g. code (identifiers, xml tag and attribute names) and plain text (comments, xml/html tag/attribute content). With custom dictionaries per profile and exclusions. As an example, a standalone (not part of camel case word) "impl" in a javadoc would be a 'typo', while it would be acceptable in a class name.
Currently, I am not happy to pollute the shared custom dictionary with various acronyms and abbreviations, because then the spell checker does not pick up on poor quality javadocs.

0

Please sign in to leave a comment.