cadence-tools icon indicating copy to clipboard operation
cadence-tools copied to clipboard

[LS] Support Ability To Ignore Warning/Errors/Lines Of Cadence Code

Open prpatel05 opened this issue 3 years ago • 2 comments

Issue To Be Solved

There are times when I want to be able to ignore errors or warning that may not be applicable to me.

Having the ability to "ignore" certain lines/blocks/files of code would be useful as it allows developers to focus on the their "real" warnings/errors.

Suggested Solution

Implementing a // @ts-ignore or ESLint ignoring-like functionality would be ideal. Customers can markup code/files they wish to have the extension ignore.

prpatel05 avatar Apr 29 '22 21:04 prpatel05

@prpatel05 Great suggestion! This should probably be implemented in the Cadence Language Server. OK to move this issue to the Cadence repo?

turbolent avatar Jul 13 '22 17:07 turbolent

Yep let's do it!

prpatel05 avatar Jul 13 '22 17:07 prpatel05