mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-16577 Project Structure settings don't work for IPython Notebook
proper fix
This commit is contained in:
@@ -77,7 +77,7 @@ public class IpnbPyFragment extends PyFileImpl {
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiFile getOriginalFile() {
|
||||
public PsiFile getContext() {
|
||||
final PsiFile psiFile = PsiDocumentManager.getInstance(getProject()).getPsiFile(myFilePanel.getDocument());
|
||||
return psiFile != null ? psiFile : super.getOriginalFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user