diff --git a/.idea/misc.xml b/.idea/misc.xml index 884f103..515106e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/META-INF/plugin.xml b/META-INF/plugin.xml index 22d529f..bce1c75 100644 --- a/META-INF/plugin.xml +++ b/META-INF/plugin.xml @@ -1,9 +1,9 @@ Scheme intellij-scheme - Plugin for Scheme language support + Plugin for supporting Scheme programming language Custom Languages - 0.1.3 + 0.1.4 Tony Saigut com.intellij.modules.lang com.intellij.modules.platform diff --git a/src/schemely/compiler/SchemeCompilerSettings.java b/src/schemely/compiler/SchemeCompilerSettings.java index 7f6bde0..5e148d4 100644 --- a/src/schemely/compiler/SchemeCompilerSettings.java +++ b/src/schemely/compiler/SchemeCompilerSettings.java @@ -11,8 +11,8 @@ @State( name = "SchemeCompilerSettings", storages = { - @Storage(id = "default", file = "$PROJECT_FILE$") - ,@Storage(id = "dir", file = "$PROJECT_CONFIG_DIR$/scheme_compiler.xml", scheme = StorageScheme.DIRECTORY_BASED) + @Storage(file = "$PROJECT_FILE$") + ,@Storage(file = "$PROJECT_CONFIG_DIR$/scheme_compiler.xml", scheme = StorageScheme.DIRECTORY_BASED) } ) public class SchemeCompilerSettings implements PersistentStateComponent, ProjectComponent diff --git a/src/schemely/conversion/JavaToSchemeAction.java b/src/schemely/conversion/JavaToSchemeAction.java index 4f23b4f..1f99851 100644 --- a/src/schemely/conversion/JavaToSchemeAction.java +++ b/src/schemely/conversion/JavaToSchemeAction.java @@ -16,6 +16,7 @@ class JavaToSchemeAction extends AnAction @Override public void update(AnActionEvent e) { + /* Presentation presentation = e.getPresentation(); try @@ -43,11 +44,13 @@ public void update(AnActionEvent e) presentation.setEnabled(false); presentation.setVisible(false); } + */ } @Override public void actionPerformed(AnActionEvent e) { + /* Object data = e.getDataContext().getData(DataConstants.PSI_FILE); if (data instanceof PsiJavaFile) { @@ -83,5 +86,6 @@ public void run() } }); } + */ } } \ No newline at end of file diff --git a/src/schemely/findUsages/SchemeIdentifierSearch.java b/src/schemely/findUsages/SchemeIdentifierSearch.java index cc12178..8b0d994 100644 --- a/src/schemely/findUsages/SchemeIdentifierSearch.java +++ b/src/schemely/findUsages/SchemeIdentifierSearch.java @@ -20,7 +20,6 @@ import com.intellij.psi.search.*; import com.intellij.psi.search.searches.ReferencesSearch; import com.intellij.util.Processor; -import com.intellij.util.QueryExecutor; import com.intellij.util.text.StringSearcher; import org.jetbrains.annotations.NotNull; import schemely.psi.impl.symbols.SchemeIdentifier; @@ -29,7 +28,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; -public class SchemeIdentifierSearch implements QueryExecutor +public class SchemeIdentifierSearch { public SchemeIdentifierSearch() { diff --git a/src/schemely/psi/impl/symbols/SchemeIdentifier.java b/src/schemely/psi/impl/symbols/SchemeIdentifier.java index f139fdc..75a0d9e 100644 --- a/src/schemely/psi/impl/symbols/SchemeIdentifier.java +++ b/src/schemely/psi/impl/symbols/SchemeIdentifier.java @@ -27,8 +27,6 @@ public class SchemeIdentifier extends SchemePsiElementBase implements PsiReference, PsiNamedElement { - private static final IdentifierResolver RESOLVER = new IdentifierResolver(); - public SchemeIdentifier(ASTNode node) { super(node, "Identifier"); diff --git a/src/schemely/settings/SchemeProjectSettings.java b/src/schemely/settings/SchemeProjectSettings.java index 8d4dd9f..c254f3f 100644 --- a/src/schemely/settings/SchemeProjectSettings.java +++ b/src/schemely/settings/SchemeProjectSettings.java @@ -12,9 +12,8 @@ @State( name = SchemeConfigurable.PROJECT_SETTINGS, - storages = {@Storage(id = "default", file = "$PROJECT_FILE$"), @Storage(id = "dir", - file = "$PROJECT_CONFIG_DIR$/scheme_project.xml", - scheme = StorageScheme.DIRECTORY_BASED)}) + storages = {@Storage(file = "$PROJECT_FILE$"), @Storage(file = "$PROJECT_CONFIG_DIR$/scheme_project.xml", + scheme = StorageScheme.DIRECTORY_BASED)}) public class SchemeProjectSettings implements PersistentStateComponent { public SchemeImplementation schemeImplementation = SchemeImplementation.SISC_1_16_6;