Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
143 stars 22 forks source link

Problem compiling with hotkey #11

Closed dran1x closed 3 years ago

dran1x commented 3 years ago

Extension Version

1.10.1 ~ Latest

User Settings.json

{
    "sourcepawnLanguageServer.sourcemod_home": "C:\\Data\\path\\include",
    "sourcepawnLanguageServer.spcomp_path": "C:\\Data\\path\\spcomp.exe",
    "sourcepawnLanguageServer.trace.server": "verbose",
    "sourcepawnLanguageServer.author_name": "DRANIX",
    "sourcepawnLanguageServer.github_name": "dran1x",
    "workbench.iconTheme": "sourcepawn"

}

Workspace Settings.json

{
    "sourcepawnLanguageServer.main_path": "C:\\Users\\DRANIX\\Documents\\SourceMod\\csfire.gg\\Experimental\\csfire_skins\\scripting\\csfire_skins.sp"
}

Problem

When trying to compile sourcepawn files with the extension's hotkey, a command error pops up instead of the terminal. On the other hand, when you compile with the button, everything compiles well.

Compile with hotkey image

Sarrus1 commented 3 years ago

Thanks for letting me know, this has been fixed and will be published in the next release.