diff --git a/src/AXSharp.compiler/src/ixd/Helpers/YamlHelpers.cs b/src/AXSharp.compiler/src/ixd/Helpers/YamlHelpers.cs index a96f2618..7454e06c 100644 --- a/src/AXSharp.compiler/src/ixd/Helpers/YamlHelpers.cs +++ b/src/AXSharp.compiler/src/ixd/Helpers/YamlHelpers.cs @@ -89,7 +89,7 @@ public Comments GetComments(Location location, bool isEnum = false) } catch (Exception e) { - Console.Error.WriteLine(e.StackTrace); + Console.Error.WriteLine($"{((SourceLocation)location).SourceText.Filename} at {lineStart}:{charStart} {e.Message}"); } return comments; diff --git a/src/AXSharp.compiler/src/ixd/Properties/launchSettings.json b/src/AXSharp.compiler/src/ixd/Properties/launchSettings.json index 1b0dc39b..07e0c816 100644 --- a/src/AXSharp.compiler/src/ixd/Properties/launchSettings.json +++ b/src/AXSharp.compiler/src/ixd/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "ixd": { "commandName": "Project", - "commandLineArgs": "ixd -x .\\src\\abstractions\\ctrl -o .\\docfx\\apictrl\\", + "commandLineArgs": "ixd -x .\\src\\abstractions\\ctrl \r\n.\\src\\core\\ctrl \r\n.\\src\\data\\ctrl\\ \r\n.\\src\\inspectors\\ctrl \r\n.\\src\\components.abstractions\\ctrl \r\n.\\src\\components.cognex.vision\\ctrl \r\n.\\src\\components.pneumatics\\ctrl \r\n.\\src\\components.elements\\ctrl \r\n.\\src\\components.rexroth.drives\\ctrl \r\n.\\src\\components.festo.drives\\ctrl \r\n.\\src\\components.kuka.robotics\\ctrl \r\n.\\src\\components.mitsubishi.robotics\\ctrl \r\n-o .\\docfx\\apictrl\\\r\n", "workingDirectory": "c:\\W\\Develop\\gh\\inxton\\simatic-ax\\axopen.templates\\axopen\\" }, "ixd-2": {