-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Bug]: Editing source from another (dependency) project within the same workspace is painful #1201
Comments
Hello @Lucretia, It would be useful to have the logs of the Ada Language Server itself, in order to know what the server's response on
This will produce Regards, |
You might want to look near the end as it wasn't until then I tried F12 on the GL.Convert symbol, which is from another project in the workspace. You can find the source here. I've been working from the |
Hello, In one of the logs I see:
So it seems that the path your have specified for Regards, |
Yeah, I fixed that. But the error I reported was NOT on that project, it was on the earlier ones, where the GPR file was correct. |
I suggest you grab my sources, add sdl, then open the |
I am missing a lot of dependencies in order to properly load your sources, it would be great if you could attach a self-contained archive, or at least tell me how to grab all the missing dependencies. |
You don't need sdlada_image, just delete that from toml. You can uncomment the url line for sdlada and it should build, that is the only dependency. The opengl source is within the same repo, |
And where can I find |
That's generated by alire. |
It still fails after uncommenting the |
Did you remove the other sdlada line with the path? |
An easier way for you to test is to create a project, open it in vscode, add a dependency and then add that dependency as a folder within the workspace, then try to get any kind of assistance, auto-complete, go to symbol, etc. Won't work. |
Add a dependency in the Alire .toml file? |
In my case it was a dependency on the project added to the workspace, so I could edit that at the same time. |
if you add anew dependency you should reload the project from VS Code, otherwise the navigation won't work: this is expected. Also you should make sure to set the |
This isn't hard. Just try it. Create a project, add sdlada (or some other project) as a dependency, then add them both into the workspace, and set the gpr profect in settings, try editing the project which isn't the main one. |
Environment
Commit: b36286db80c68b7fdc6bfee2f55e0208c8833dfc
Date: 2024-06-25T09:17:37.767Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.8.8-gentoo-x86_64
Bug Summary and Reproducer
Bug Summary: Keep getting failure popups and crash logs to console
Steps to reproduce: Create a workspace, set the project gpr to the main project, add dependencies, edit source from dependency.
Expected behavior: I expect it to work as normal.
Configuration and Logs
Other VS Code Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: