steep
steep copied to clipboard
langserver: Support --with-expectations-path option
Add --with-expectations=PATH option to the langserver subcommand. It suppresses warnings and info messages using expectations file like check command does. And it helps to users to develop RBS files gradually.
With this patch, many warnings/infos for the Steep project are suppressed on my VSCode.
Before:
After:
Some warnings are still shown. But it must be helpful to typing gradually :-)
Note: I noticed https://github.com/soutaro/steep/issues/468 had been filed after I created this patch. I'm unsure which is better to enable the "expectations" mode in the langserver. Please let me know if you feel other way is better. Thanks,