Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL: Include are not detected #352

Open
Rushaway opened this issue Nov 21, 2023 · 1 comment
Open

WSL: Include are not detected #352

Rushaway opened this issue Nov 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working sourcepawn-lsp Issue affects the LSP

Comments

@Rushaway
Copy link

Rushaway commented Nov 21, 2023

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 Rushaway added the bug Something isn't working label Nov 21, 2023
@Sarrus1
Copy link
Owner

Sarrus1 commented Dec 3, 2023

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 Sarrus1 added the sourcepawn-lsp Issue affects the LSP label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sourcepawn-lsp Issue affects the LSP
Projects
None yet
Development

No branches or pull requests

2 participants