- changed status to open
Does illuminated cloud 2 support type checking in LWC using jsconfig.json
Issue #2529
resolved
Does illuminated cloud support type checking within LWC via setting `checkJs: true” in jsconfig.json as you can in vscode as described here: https://tigerfacesystems.com/blog/lwc-type-safe ?
Comments (2)
-
repo owner -
repo owner - changed status to resolved
I believe this should be resolvable, but if I've misinterpreted what you're looking for, please feel free to reopen with additional details.
- Log in to comment
Hi. If you're using a commercial JetBrains IDE, i.e., not one of the Community Edition IDEs, then yes, the IDE itself supports strongly-typed development in JavaScript. Additionally IC2 adds a large amount of type information to the IDE for LWC-specific concepts even with comment-based type hints, e.g., Salesforce-specific module imports and such. See the following previous release notes for more information:
For what it's worth, I'm working on my own LWC-based side project right now and, with the combination of these two, almost everything is strongly-typed in the editor making for a much improved ES6 development experience.