ericglau / cairo-ls

Cairo Language Server

Home Page:https://marketplace.visualstudio.com/items?itemName=ericglau.cairo-ls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass compile options in config

ClementWalter opened this issue · comments

Following the setup explained in https://github.com/starknet-edu/starknet-debug it is possible to write valid code with forbidden hints (e.g. prints for debugging).

So it could be nice to pass options to the compiler, such as disable_hint_validation because otherwise nothing else is checked (as soon as an error is found, the compilation ends and the add-on doesn't show any following error).

You can disable hint validation for specific file patterns using the disableHintValidation setting (search for this in the VS Code settings). See #34

Are there other options that you want to pass to the compiler?