-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightbulb for Edit rule in configuration file #5318
Comments
In a lightbulb the user will see "Edit in configuration file" -> if they do not have one we will create a config file, then hopefully we can create the rule in the file if it does not already exist and highlight the word "warning" This allows the user to now turn it off or set it to "error" level |
Updates to this flow: Change "Configure" to -> "Edit rule in config file" -> if the user cares about the specific name of the rule, we'll ultimately take them to see it in the config file, plus I may be wrong but I think hovering over it/disable next line also shows them the rule? I think some of the rule names are very long so it's cleaner to just say "edit rule". If there is no Bicep config file found, we should popup an intermediate step of a notification: "No Bicep config file found, would you like to add a Bicep config file to the workspace root?" [Add File] [Cancel] Added related information to #5866 |
|
Via #5314, we will be removing the lightbulb that automatically turns off a rule in the bicep config file.
From @StephenWeatherford's idea, we should look to add a lightbulb that allows the user to edit the rule in the configuration file by opening it and (hopefully) taking them to that rule in question. This does a few things
Note: This option would be shown BELOW the disable next line issue
The text was updated successfully, but these errors were encountered: