Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed com.intellij.diagnostic.PluginException: getComponentAdapterOfT… #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified intellibot.jar
100755 → 100644
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public RobotPythonReferenceSearch() {
}

@Override
public void processQuery(@NotNull ReferencesSearch.SearchParameters params, @NotNull Processor<PsiReference> processor) {
public void processQuery(@NotNull ReferencesSearch.SearchParameters params, @NotNull Processor processor) {
SearchScope searchScope = params.getEffectiveSearchScope();
boolean localScope = false;
if (searchScope instanceof GlobalSearchScope) {
Expand Down
15 changes: 1 addition & 14 deletions src/com/millennialmedia/intellibot/psi/RobotPsiManager.java
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
package com.millennialmedia.intellibot.psi;

import com.intellij.openapi.components.ProjectComponent;
import com.intellij.psi.PsiElement;
import com.intellij.psi.impl.AbstractModificationTracker;
import com.intellij.psi.impl.PsiManagerImpl;
import org.jetbrains.annotations.NotNull;

/**
* @author mrubino
*/
public class RobotPsiManager extends AbstractModificationTracker implements ProjectComponent {

public RobotPsiManager(PsiManagerImpl psiManager) {
super(psiManager);
}

@Override
protected boolean isInsideCodeBlock(PsiElement element) {
// TODO: usage?
return false;
}
public class RobotPsiManager implements ProjectComponent {

public void projectOpened() {
// nothing
Expand Down