Skip to content

Commit

Permalink
Fixed com.intellij.diagnostic.PluginException: getComponentAdapterOfT…
Browse files Browse the repository at this point in the history
…ype is used to get com.intellij.psi.impl.PsiManagerImpl mtrubs#228
  • Loading branch information
Abhi904485 committed Sep 2, 2021
1 parent a0e2415 commit c7c61fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
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

0 comments on commit c7c61fa

Please sign in to comment.