Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 9484265

Browse files
committed
add ghpython to the list of autocomplete modules
1 parent de52cb9 commit 9484265

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Component/PythonEnvironment.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ public void LoadAssembly(Assembly assembly)
105105
var list = ex_m_autocomplete_modules.GetValue(Intellisense) as IList;
106106

107107
if (list == null) return;
108+
109+
// add ghpython package
110+
if (!list.Contains("ghpython"))
111+
list.Add("ghpython");
112+
113+
108114
foreach (var namesp in GetToplevelNamespacesForAssembly(assembly))
109115
{
110116
if (!list.Contains(namesp))

0 commit comments

Comments
 (0)