Skip to content

Commit 2441b8d

Browse files
committed
[T3CMS] Add dictionary provider
1 parent 9450c25 commit 2441b8d

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package com.cedricziel.idea.typo3;
2+
3+
import com.intellij.spellchecker.BundledDictionaryProvider;
4+
5+
public class TYPO3DictionaryProvider implements BundledDictionaryProvider {
6+
@Override
7+
public String[] getBundledDictionaries() {
8+
return new String[]{"typo3.dic"};
9+
}
10+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TYPO3
2+
Extbase

typo3-cms/src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
nonDefaultProject="true"
5555
instance="com.cedricziel.idea.typo3.configuration.TYPO3CMSSettingsForm"/>
5656

57+
<spellchecker.bundledDictionaryProvider implementation="com.cedricziel.idea.typo3.TYPO3DictionaryProvider"/>
58+
5759
<directoryProjectGenerator implementation="com.cedricziel.idea.typo3.projectTemplate.TYPO3CMSClassicLayoutDirectoryProjectGenerator"/>
5860
<projectTemplatesFactory implementation="com.cedricziel.idea.typo3.projectTemplate.TYPO3CMSProjectTemplatesFactory"/>
5961

0 commit comments

Comments
 (0)