Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
199 stars 29 forks source link

Disable unused variable warnings #106

Open RZYN2020 opened 1 year ago

RZYN2020 commented 1 year ago

I'm using the Magic Racket extension for VS Code and I'm getting warnings for unused variables and imported packages in my code. While it's generally a good practice to remove unused variables, in some cases, I find it more convenient to keep them for debugging purposes. I've searched online but couldn't find a clear answer on how to disable unused variable warnings specifically for Magic Racket.

Can we add an option to disable unused variable warnings in Magic Racket for VS Code? It would be helpful. Thank you!

image

jryans commented 1 year ago

Thanks for filing! 😄 I agree it would be nice to offer more control over these linting messages.

For your purposes, do you only want to control "unused variable", or are there others you want to control as well?

RZYN2020 commented 1 year ago

Thanks for filing! 😄 I agree it would be nice to offer more control over these linting messages.

For your purposes, do you only want to control "unused variable", or are there others you want to control as well?

It may also be helpful to have control over "unused require" statements.