Skip to content

Commit

Permalink
German Dictionary for Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Osterhagen authored and oleosterhagen committed Dec 23, 2020
0 parents commit 9b25bc1
Show file tree
Hide file tree
Showing 15 changed files with 731,198 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
target/
.settings/
.project
.classpath
675 changes: 675 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# German Dictionary for Eclipse

This adds a German dictionary to the spelling engine from [Eclipse JDT](https://www.eclipse.org/jdt/). It is based on the dictionary [igerman98](https://www.j3e.de/ispell/igerman98/) (Version: 20161207) from Björn Jacke.


## Requirements

* Eclipse 2018-09 or newer


## Installation

* Open _Help > Install New Software_ and add a new repository with location [https://oleosterhagen.github.io/update-site/](https://oleosterhagen.github.io/update-site/)
* Install _Germany Dictionary_ from this site.
* Enable spell checking in _Window > Preferences: General > Editors > Text Editors > Spelling_
* Choose Platform Dictionary: Deutsch (Deutschland)
* :warning: Ensure encoding is set to UTF-8 (on Linux, Mac) or CP1252 (on Windows).


## Limitations

* The encoding is not stored in the dictionary ([Eclipse Bug 262025](https://bugs.eclipse.org/bugs/show_bug.cgi?id=262025)) and must therefore be set correctly (see above). To minimize problems this dictionary is distributed as two OS specific plug-ins, one with encoding UTF-8 (Linux, Mac) and another with encoding CP1252 (Windows).
* The spelling engine from Eclipse JDT uses a simple word list without a separate affix file. For German this results in a very large file with 364.814 words which must be kept in memory.
1 change: 1 addition & 0 deletions features/info.osterhagen.dictionary.de/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin.includes = feature.xml
713 changes: 713 additions & 0 deletions features/info.osterhagen.dictionary.de/feature.xml

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions features/info.osterhagen.dictionary.de/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>info.osterhagen.dictionary.de</groupId>
<artifactId>dictionary-de</artifactId>
<version>1.0.0.202012232125</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>info.osterhagen.dictionary.de</artifactId>
<packaging>eclipse-feature</packaging>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: German Dictionary CP1252
Bundle-SymbolicName: info.osterhagen.dictionary.de.cp1252
Bundle-Version: 1.0.0.202012232125
Bundle-Vendor: Ole Osterhagen
Fragment-Host: org.eclipse.jdt.ui;bundle-version="3.15.0"
Automatic-Module-Name: info.osterhagen.dictionary.de.cp1252
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
3 changes: 3 additions & 0 deletions plugins/info.osterhagen.dictionary.de.cp1252/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin.includes = META-INF/,\
.,\
dictionaries/
Loading

0 comments on commit 9b25bc1

Please sign in to comment.