I have referenced the jade.jar in vscode under "Referenced libraries", and the code works. I really want to get rid of all these errors tho.
I fixed it by using maven.
The pom.xml
from tilab directly didn't work at all. I used this specific pom.xml
file instead:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>tmpmaven</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.gitlab.jade-project</groupId>
<artifactId>jade</artifactId>
<version>master-SNAPSHOT</version>
</dependency>
</dependencies>
</project>