Error "Julia package not part of current environment"

When I start VS Code (with Julia 1.5 and extension
julia-vscode 0.17.2 and some olders too) I get this error:

You opened a julia package that is not part of your current environment. Do you want to activate a different environment?
Source: Julia Insider (Extension).

How can I solve this problem?