use of com.intellij.spellchecker.inspections.SpellCheckingInspection in project intellij-community by JetBrains.
the class SpellCheckingEditorCustomizationTest method doTest.
private void doTest(boolean enabled, String document) {
InspectionProfileImpl.INIT_INSPECTIONS = true;
try {
myFixture.configureByText(PlainTextFileType.INSTANCE, document);
myFixture.enableInspections(new SpellCheckingInspection());
EditorCustomization customization = SpellCheckingEditorCustomizationProvider.getInstance().getCustomization(enabled);
assertNotNull(customization);
customization.customize((EditorEx) myFixture.getEditor());
myFixture.checkHighlighting();
} finally {
InspectionProfileImpl.INIT_INSPECTIONS = false;
}
}
use of com.intellij.spellchecker.inspections.SpellCheckingInspection in project android by JetBrains.
the class AndroidColorsTest method testColorNoTypos.
public void testColorNoTypos() throws Throwable {
VirtualFile virtualFile = copyFileToProject("colors_value.xml");
myFixture.configureFromExistingVirtualFile(virtualFile);
myFixture.enableInspections(new SpellCheckingInspection());
myFixture.checkHighlighting(true, true, true);
}
use of com.intellij.spellchecker.inspections.SpellCheckingInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testSpellChecker.
public void testSpellChecker() throws Exception {
enableInspectionTool(new SpellCheckingInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Typo: Rename to...");
}
use of com.intellij.spellchecker.inspections.SpellCheckingInspection in project intellij-plugins by JetBrains.
the class MarkdownSpellcheckerTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
myFixture.enableInspections(new SpellCheckingInspection());
}
use of com.intellij.spellchecker.inspections.SpellCheckingInspection in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoSpellcheckingTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
myFixture.enableInspections(new SpellCheckingInspection());
}
Aggregations