Skip to content

Commit 78c297b

Browse files
committed
[ misc ] fix debugger. ignore TypeName and AbstractTypeName completion.
1 parent e7b9cef commit 78c297b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

res/org/ice1000/julia/lang/julia-bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ julia.messages.notify.nightly.content=You're using a nightly build of Julia plug
226226
There might be some bugs and unexpected behaviors,\n\
227227
if you've found any, please submit a GitHub issue.
228228
julia.messages.notify.sci-view.unavailable=SciView unavailable.\n\
229-
I've already retried setting it up, make sure you have matplotlib installed and try again.
229+
I've already retried setting it up, make sure you have matplotlib installed and close & reopen current project.
230230
231231
docfmt.name=DocumentFormat
232232
docfmt.name.description=DocumentFormat.jl Configuration File

src/org/ice1000/julia/lang/execution/julia-debugger.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ class JuliaDebugProcess(socketAddress: InetSocketAddress,
177177
processHandler.sendCommandToProcess("exit()")
178178
// session.stop()
179179
// processHandler.destroyProcess()
180-
if (::socket.isInitialized)
181-
socket.close()
180+
// if (::socket.isInitialized)
181+
// socket.close()
182182
}
183183
}
184184

src/org/ice1000/julia/lang/psi/julia-resolving.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ class CompletionProcessor(place: PsiElement, private val incompleteCode: Boolean
170170
}
171171
?: tuple5<Icon, String, String?, String?, InsertHandler<LookupElement>?>(
172172
JuliaIcons.JULIA_FUNCTION_ICON, element.text, null, null)
173-
JuliaSymbolKind.TypeName,
174-
JuliaSymbolKind.PrimitiveTypeName,
175-
JuliaSymbolKind.AbstractTypeName -> tuple5(
173+
// JuliaSymbolKind.TypeName,
174+
// JuliaSymbolKind.AbstractTypeName,
175+
JuliaSymbolKind.PrimitiveTypeName -> tuple5(
176176
JuliaIcons.JULIA_TYPE_ICON,
177177
element.text,
178178
null,

0 commit comments

Comments
 (0)