sourcepawn-vscode icon indicating copy to clipboard operation
sourcepawn-vscode copied to clipboard

WSL: Include are not detected

Open Rushaway opened this issue 2 years ago • 1 comments

Basic informations

  • OS: [WSL] Ubuntu 20.04
  • VSCode version: Latest
  • Extension version: Latest

Further Information

The extension can't find the location of the include running inside a WSL environnement. A solution can be a settings to add a settings for let user indicate the include path.

To Reproduce

You can install WSL with ubuntu 20.04 and follow this as exemple.

Code to reproduce the behaviour

Happen on every plugins, here is just an exemple

Expected behaviour

Find and apply the include path.

Error messages

$onExtensionRuntimeError(extensionId: ExtensionIdentifier, data: SerializedError): void {
		const error = new Error();
		error.name = data.name;
		error.message = data.message;
		error.stack = data.stack;
		this._internalExtensionService._onExtensionRuntimeError(extensionId, error);
		console.error(`[${extensionId.value}]${error.message}`);
		console.error(error.stack);
	}

https://pastebin.com/rrAApEPr image image

Rushaway avatar Nov 21 '23 10:11 Rushaway

Thanks for reporting this, I haven't tested the extension on wsl much I am actively developing this branch, which hopefully will fix the issue: https://github.com/Sarrus1/sourcepawn-vscode/tree/feat/salsa

Sarrus1 avatar Dec 03 '23 09:12 Sarrus1