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

Allow disabling `Hint is not whitelisted` error for certain files

kasperski95 opened this issue · comments

As a Protostar user, I want to disable checking if hint is whitelisted for my test files so that Protostar's cheatcodes aren't highlighted as errors.

{
  "cairols.filesUsingCustomHints": [
    "./tests/**/",
  ]
}

I would also be very interested in this update

I would like to work on this one as it's important for us as a protostar team to let users use protostar with cairo-ls.

Proposal, consistent with starknet interface:

"cairols.disableHintValidation": {
	"scope": "resource",
	"type": "string",
	"description": "Disables hint validation for "
},

Fixed by #34