Hello World,

I needed a grammar checker to correct my phd thesis. I'm using Texlispe
(Latex plugin for Eclipse) to write it, so I wrote a plugin adding language
tool as a spell checker for Eclipse.

At first I thought of mimicking the output of Aspell to replace the Aspell
binary file to use a custom made script. But then I thought it would be
better to write a plugin for Eclipse. I spend my Sunday afternoon on it and
it works. It's far from perfect but it works well.

The main issue I had, beside not knowing how to make an Eclipse plugin, was
to make the resources and rules files available for the libs as the plugin
runs as a jar file. I had to package the org/ folder in a jar file and
extend the default resource broker to resolve the path to it.

What works:
- grammar checking in default text editor (texlispe latex editor seems to
desactivate the Eclipse wide spell checker)
- the only option is the language selection ( window -> preference ->
general -> editors -> text editors -> Spelling )

What doesn't work:
- spellchecking in latex editor
- ignoring code related text

Known bug:
- the cursor jumps to the wrong position when applying suggestion (easy to
fix)

To do:
- add more options to the preferences page

If you're interested I can provide everything about it (details, code,
binaries, support ...).
I'll just look for a place to host everything, right now it's on my home
server but it hasn't got a large bandwith and the plugin is quite heavy
(70mb). Here is the binary for now:
http://remisoft.ath.cx/downloads/LanguageTool-Plugin.zip

To install it just copy the jar into your Eclipse's install folder, in its
plugins folder. To activate spellchecking go to "window -> preference ->
general -> editors -> text editors -> Spelling". In the menu make sure you
selected "LanguageTool". You can also set the language to use there.

Best regards,

Rémi
------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to