Skip to content

How to get both type checking and JavaScript output? #678

Closed Answered by STRd6
gwhitney asked this question in Q&A
Discussion options

You must be logged in to vote

Don't worry about the questions, Civet is a fairly young project and there are still gaps in the tools and documentation. We're glad you're here!

Using the Civet LSP in VSCode (https://marketplace.visualstudio.com/items?itemName=DanielX.civet) adds development time type checking. It works pretty well but also has some known issues.

If you are not using VSCode then the two step .civet -> .ts -> .js is probably the only way currently. We plan to add to / upgrade our command line tools to do checking directly at some point (equivalent to svelte-check, vue-tsc, etc.) but I haven't gotten around to it yet. We also have plans for a generic non-vscode LSP at some point.

Thanks for starting this …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@edemaine
Comment options

@gwhitney
Comment options

@edemaine
Comment options

@edemaine
Comment options

Answer selected by gwhitney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants