Sanjay Malakar
- 活动总数 44
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 5
- 订阅数 11
-
已编辑于 PsiInvalidElementAccessException because different providers
已回答Can anyone explain why this exception occurs? com.intellij.diagnostic.PluginException: Element: class com.jetbrains.python.psi.impl.PyReferenceExpressionImpl #Python because: different providers: ... -
创建于 Python control flow bug.
已计划def foo(a, b): try: while a > 0 and b > 0: print(a % 10 + b % 10) a //= 10 b //= 10 finally: print("Hello") print("End")foo(5, 5) The print... -
创建于 PyCharm can't find caller of subclass's method that is not implemented in supeclass
已计划class A: def bar(self): pass def foo(self): self.bar() self.buzz()class B(A): def bar(self): pass def buzz(self): pass For method, B::bar it finds t... -
已编辑于 Reading PSI from other than UI thread
已回答Hello, As we know reading the PSI outside of a read lock throws the following exception. java.lang.Throwable: Read access is allowed from event dispatch thread or inside read-action only (see com.i... -
已编辑于 Call hierarchy for Python
已回答I am using com.jetbrains.python.hierarchy.call.PyStaticCallHierarchyUtil#getCallees method to get the callees of a function. However, I'm getting some weird results. For this code snippet: class A:... -
创建于 Documentation on com.intellij.codeInsight.controlflow.Instruction's implemented classes.
已回答Hello, I was exploring python's control flow provider (PyControlFlowProvier). Then I came across com.intellij.codeInsight.controlflow.Instruction interface. The elements of control flow are impleme... -
创建于 Python control flow granularity.
已回答Hello, I was exploring PyControlFlowProvider class to generate control flow. The generated control flow seems too detailed for me. I would like to have a less detailed control flow (like without ... -
已编辑于 Python expression evaluator.
已回答Is there any way I can evaluate an expression like this? size = 5str = "a" * size The str variable holds aaaaa. Is there any API that could give me the value str holds? I saw the PyAnyExpressionEva... -
创建于 RenameProcessor works on tests but not on project.
已回答I want to rename a parameter's name. This is my code: PyNamedParameter firstParameter = parameters[0].getAsNamed();RenameProcessor renameProcessor = new RenameProcessor(getVPG().getProject(), first... -
创建于 Python type inference not working.
已回答After loading a project, I'm visiting every PsiFile using `PsiRecursiveVisitor`.I would like to infer the type of expression / function return type.For even a simple python file containing a single...