Closed Joebeazelman closed 1 year ago
Hi @Joebeazelman . This is the repo for the C/C++ extension for VS Code. It looks like you found the repo for the Ada extension and have posted there as well. So, I'll close this one. :)
Hi,
Is there a way to migrate this question to the appropriate VSCode project?
Hi @Joebeazelman . Are you using the "Language Support for Ada" extension? If so, the "Repository" link on their Marketplace page links to the repo you posted your other issue in. I think that's the correct project.
Environment
OS and Version: MacOS 12.6 (21G115) VS Code Version: 1.72.2 (Universal)
I am using an extension designed for working with Ada projects. The project is normally built using a custom crate management tool, Alire, which sets several environment variables and call the same toolchain as the Ada Extension. Unfortunately, the Ada extension can't build the project because it's unaware of Alire's environment variables. To get around this issue, I'm overriding the extension's default task to call Alire instead.
So far, the project builds, but unlike extensions default build task, whenever there's a build error, clicking on any of the errors results in VSCode claiming it cannot find the file with an option to create it. I overrode the extension's ProblemMatcher inside my build task to use a relative location as displayed in the error message, but it cannot find them. Oddly enough, option clicking from in the terminal window works flawlessly. What could be the problem?
Code sample and Logs
Here's my build task:
Here's my workspace file (located inside .vscode folder in root of project):
Screenshots
No response
Additional context
No response