Goz3rr / vscode-glualint

glualint for vscode
https://marketplace.visualstudio.com/items?itemName=goz3rr.vscode-glualint
MIT License
7 stars 4 forks source link

Failed to find 'glualint' path, even tho it is there. #21

Open deltamolfar opened 2 months ago

deltamolfar commented 2 months ago

Hi, I hope I didn't get a skill issue, but I downloaded glualint, and the vscode-glualint, added former to the path, and it did work for the few days. Then it decided not to :D

I'm using Debian 12, and regular vscode.

vs code error 2024-06-08_01-54

glualint itself work as expected 2024-06-08_01-57

my .bashrc 2024-06-08_02-02

Motoess commented 1 month ago

I have the exact same issue. Lets pray this gets fixed soon.

Goz3rr commented 1 month ago

I have seen general weirdness around vscode not properly respecting changes to the path, but that was on Windows. You can confirm it's working as it should be opening a terminal inside vscode itself (View > Terminal) and running the glualint command in there. If that works then there's something else really weird going on.

A possible workaround is to set the glualint.linter setting to the absolute path to your executable. In your case it would probably be /home/deltamolfar/Downloads/glualint/glualint

deltamolfar commented 1 month ago

Just checked. Turned out it's working again as expected, even tho I've never changed anything. (Also I recall that I've used glualint from vscode's terminal, and it worked fine). (Just disabled it since this report, and now enabled it again to check)

@Motoess maybe also try to disable and enable it back again? (maybe after the restart?)

deltamolfar commented 1 month ago

Yeah it happened again. Failed to find - and glualint still works in internal terminal. Just set up global path - works fine