Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Language Detection #25

Closed
Bengt opened this issue Aug 4, 2014 · 3 comments
Closed

Language Detection #25

Bengt opened this issue Aug 4, 2014 · 3 comments

Comments

@Bengt
Copy link

Bengt commented Aug 4, 2014

I one's primary language is other than english, one usually writes a lot of text in that language while coding with english keywords. Currently Atom corrects spellings according to the system dictionary. This causes significant performance penalties on big files where the language is another than the system language and thus every word gets annotated as misspelled. To avoid slowdowns and visual clutter Atom Spell Check should detect the language used and spellcheck using the according dictionary.

There is the corner case of writing code using english keywords and commenting in another language. One might argue that this is really bad and should be avoided at all costs, but there are cases where mixing languages is OK. For example, when writing a presentation in german and citing code that is in english, Atom Spell Check could spellcheck all parts of the document.

@kevinsawicki
Copy link
Contributor

Thanks for reporting this but it sounds very similar to #11 so I'm going to close it out as a duplicate.

@Bengt
Copy link
Author

Bengt commented Aug 4, 2014

The difference to #11 is that this is more granular. #11 is about selecting dictionaries per user, while I suppose selecting dictionaries per (fragment of) content.

@Bengt
Copy link
Author

Bengt commented Oct 30, 2014

In multi-language documents, being able to use the spell-checker on all languages at once is certainly a nice-to-have feature, [...]

@jdhoek

Thanks for weighing in on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants