Hi Markus ..
thx for using the SIMATIC AX community space.
This seems to be a rather common issue which is plaguing our community for quite some time now.
Although the correspoding library dependencies have been installed successfully, the st-language-server and -compiler don't stop highlighting any references of them with " ... does not exist or is invalid in current context."
> Unfortunatly this is caused by the project directory-path.
Please ensure that the path do NOT include any spaces within theire associated folder-names.
Bad example:
D:\Projects AX\my-new-app
Good example:
D:\Projects\AX\my-new-app
> The same applies to the actual project-name.
Here are all the rules for correctly naming an ax-project:
- Only start with lower case letter or digit
- Valid characters are: lowercase letters, digits, hyphens (-), underscores (_), periods (.), and tildes (~)
I hope that helps.
#Known-Issue-List
Keep going & happy coding ...
🐱💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱🏍