Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
guoci committed May 19, 2023
1 parent 8685c2e commit 3e3abe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private static void smartExecuteCode(final AnActionEvent e, final Editor editor)
return;
final PsiElement commonParentRaw = pe == null ? psiElement.getContainingFile() : PsiTreeUtil.findCommonParent(psiElement, pe);
if (commonParentRaw instanceof PsiDirectory) {// last line of notebook cell
numLinesToSubmit = i - 1;
numLinesToSubmit = i;
break;
}
final PsiElement commonParent = getEvaluableParent(commonParentRaw);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<idea-plugin>
<id>python-smart-execute</id>
<name>Python Smart Execute</name>
<version>0.1.9</version>
<version>0.1.10</version>
<vendor email="[email protected]" url="https://github.com/JetBrains/intellij-community/pull/711">Guo Ci Teo</vendor>

<description><![CDATA[
Expand Down

0 comments on commit 3e3abe9

Please sign in to comment.