-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
I can't enable any addon from the addon manager. #119
Comments
I don't currently have the time to debug this properly. Can you try deleting the addon manager folder? On Windows, this is at |
I removed |
Is that the entirety of the log file? It looks like it is missing some info from startup. |
Excuse me, the list was very long because I did a lot of clicking, so I removed the duplicate messages. There was nothing but "enabled" and "disabled" info. |
Here is another one:
|
I just fired up a Manjaro VM and installed VS Codium using yay. Then I installed Is there anything you can think of that would be interfering with Git and/or file operations? It is very odd that your log files don't include all the log messages. For reference, here is my log file from my working attempt on Manjaro: Details
|
Thank you very much for taking the time to check my issue. Today, for reasons completely unknown to me, everything worked! I swear I didn't change anything. My computer has been turned off since the last time I experienced this problem. Thanks anyway. I close this issue and will reopen if it happens again. |
By the way, my output is still no different from the previous one. There is no debug or verbose info. |
Oops, sorry, I was copying the output from the vscode console and didn't notice the little icon that opens the log file with detailed information. |
Bad news. Everything was working fine, but after reboot it's not working again 😢. All required files are loaded correctly, but they are not enabled in my project when I press the "Enable" button (no changes in Details
|
I also noticed that in certain projects the addon manager always works correctly, but in others it never works. I can't figure out the difference between them. I tried temporarily deleting the ".vscode" folder from both projects and nothing changed - in one project I can enable plugins, in the other I can't. |
But wait, no, not always. One project is more likely to enable plugins and the other is less. Sometimes they are not enables anywhere. I guess it depends on the location of stars in the sky. |
Interesting... do you have an example project I can try to reproduce the problem in? |
I think I figured out what the reason is! 🎉 If I open a project in which no .lua file has ever been opened, the addon manager cannot enable addons. But after opening any .lua file in the project, it starts working correctly! screenrecord.mp4 |
Ah, yes, you would be correct! This appears to be because the Lua Language Server doesn't start until a |
There are only a few options here:
For now, option 1 works, but option 2 will have to be explored, option 3 will be a lot of work just to do what is already done. |
It seems to me that the best solution here would be to start the language server on addon manager window open. Is it hard to implement? |
That is what option 2 is. I found a way to activate the language server should it not be started when the addon manager is opened. |
Which OS are you using?
I use Manjaro Linux and VSCodium-bin from AUR.
Actual Behaviour
Log
The text was updated successfully, but these errors were encountered: