I am setting up VSCode for Ada. I typed in a known good test program and tried to "Run -> Start Debugging". In the PROBLEMS (Crtl+Shift+M) window, a message appears:
"No project found in root directory. Please create a project file and add it to the configuration."
I have read the documentation and looked around in the VSCode editor and have not found anything to correct this error. Can someone provide suggestions? Thanks.
2
Answers
I saw some extra procedures inside the extension itself. There were extra steps to complete the setup. I started Ada programming with a simple text editor and the gnat compiler so these additional steps were not anticipated. Sorry for the trouble.
The language extension is looking for a project file (
.gpr
file). Here are some instructions to set that up: https://github.com/AdaCore/ada_language_server/wiki/Getting-Started