Skip to content

Project file loaded too late #1189

Closed
Closed
@PaulCayard

Description

@PaulCayard

Hi,
when I launch vscode (or I launch command "Developer: Reload Window"):

  • if a source file is open in the editor, the following problem is displayed: "No project found in root directory. Please create a project file and add it to the configuration.". (FAIL)
  • if editor is empty or a non-ada file (for example "settings.json") is open in the editor, problem is not arisen. (CORRECT)

Anyway, when the problem occurs, project file is correctly loaded and all works fine, except for the error displayed. It seems that vscode try to parse the first source file (that is displayed in the editor window) BEFORE the loading of the project file.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions