openfl / lime-vscode-extension

Visual Studio Code extension for OpenFL and Lime projects written in Haxe
https://marketplace.visualstudio.com/items?itemName=openfl.lime-vscode-extension
MIT License
27 stars 4 forks source link

Specifying lime.projectFile breaks code display #104

Closed EliteMasterEric closed 6 months ago

EliteMasterEric commented 7 months ago

I get an error in the Lime extension output that reads:

Error: Command failed: lime display E:\path\to\Project.xml windows -debug -nocolor -Ddisable-version-check --haxelib=hxcpp-debug-server
Error: Incorrect number of arguments for command 'display'

It appears the call of the lime display command is being formatted incorrectly.

joshtynjala commented 7 months ago

Does the actual project.xml file path contain any spaces?

EliteMasterEric commented 7 months ago

Ah just checked, the path does contain spaces.

joshtynjala commented 6 months ago

Thanks! That should be easy to fix.