Skip to content

Commit 7a93320

Browse files
committed
fix code autocomplete
1 parent c72ee87 commit 7a93320

18 files changed

+10
-2
lines changed

CADRuntime/CADRuntime.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
<EmbeddedResource Include="Resources\python_27_lib.zip" />
6565
</ItemGroup>
6666
<ItemGroup>
67+
<PackageReference Include="DynamicLanguageRuntime" Version="1.3.3" />
68+
<PackageReference Include="IronPython" Version="3.4.0" />
6769
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
6870
<PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
6971
</ItemGroup>

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Changelog
2+
- 2022-12-17 **1.1.1**
3+
- Fix code Autocomple List ironpython 3.4
24
- 2022-12-17 **1.1.0**
35
- Fix Assembly Security from IronPython 3.4 [#6](https://github.com/chuongmep/CadPythonShell/issues/6)
46
- 2022-12-16 **1.0.9**

Installer/Installer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const string projectName = "CADPythonShell";
1414
const string outputName = "CADPythonShell";
1515
const string outputDir = "output";
16-
const string version = "1.1.0";
16+
const string version = "1.1.1";
1717

1818
var fileName = new StringBuilder().Append(outputName).Append("-").Append(version);
1919
var project = new Project

PythonConsoleControl/PythonConsoleCompletionDataProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public ICompletionData[] GenerateCompletionData(string line)
6363
string dirCommand = "dir(" + name + ")";
6464
object value = commandLine.ScriptScope.Engine.CreateScriptSourceFromString(dirCommand, SourceCodeKind.Expression).Execute(commandLine.ScriptScope);
6565
AutocompletionInProgress = false;
66-
foreach (object member in (value as IronPython.Runtime.List))
66+
foreach (object member in (value as IronPython.Runtime.PythonList))
6767
{
6868
items.Add(new PythonCompletionData((string)member, name, commandLine, false));
6969
}

PythonConsoleControl/PythonConsoleControl.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
<Generator>SettingsSingleFileGenerator</Generator>
5151
</None>
5252
</ItemGroup>
53+
<ItemGroup>
54+
<PackageReference Include="AvalonEdit" Version="6.2.0.78" />
55+
<PackageReference Include="IronPython" Version="3.4.0" />
56+
</ItemGroup>
5357
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
5458
<StartAction>Project</StartAction>
5559
</PropertyGroup>

RefrencedAssemblies/AdWindows.dll

-2.24 MB
Binary file not shown.
-592 KB
Binary file not shown.
-734 KB
Binary file not shown.
-622 KB
Binary file not shown.
-7 KB
Binary file not shown.

0 commit comments

Comments
 (0)