today is my first day using pas2js and i get 1 error when compiling pas2js packages. when i compile pas2js_rtl.lpk package i get 1 message
web.pas (1995,53) Error: Expected "," or ":".
You must not compile the package from within the IDE using the package's
Compile button, cause that will use the FPC compiler instead of the pas2js transpiler. You simply need to start a new Pas2JS project and add the
pas2js_rtl package as a requirement (if it isn't already) and then compile your project.
but how can i use ctrl + space when not compiling, moreover my webwidget package get same error when compiling. I use Windows 10 ver 21H1
Identifier completion does
not depend on the compilation of a package, the IDE only needs to
know about it and that is achieved by opening that package once and afterwards you only need to add it as a requirement for your project.