You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/requests/completions.jl
+11-13Lines changed: 11 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -181,13 +181,15 @@ function collect_completions(m::SymbolServer.ModuleStore, spartial, state::Compl
181
181
if state.server.completion_mode ===:import
182
182
# These are non-exported names and require the insertion of a :using statement.
183
183
# We need to insert this statement at the start of the current top-level scope (e.g. Main or a module) and tag it onto existing :using statements if possible.
184
-
cmd =Command("Apply text edit", "language-julia.applytextedit", [
185
-
WorkspaceEdit(missing, [textedit_to_insert_using_stmt(m, n, state)])
186
-
])
187
-
ci =CompletionItem(n, _completion_kind(v), missing, "This is an unexported symbol and will be explicitly imported.", MarkupContent(sanitize_docstring(v.doc)), missing, missing, missing, missing, missing, InsertTextFormats.PlainText, texteditfor(state, spartial, n), missing, missing, cmd, "import")
184
+
ci =CompletionItem(n, _completion_kind(v), missing, "This is an unexported symbol and will be explicitly imported.",
0 commit comments