zed
zed copied to clipboard
"Disable <rule_name> for the entire file" adds extra asterisk to comment
Summary
The "Disable <rule_name> for the entire file" context menu option adds an extra asterisk to the start of the comment stopping it from actually disabling the rule.
Description
Steps to reproduce:
- create any file that breaks a linter rule
- press
[cmd + .]to open context menu - choose
Disable <rule_name> for the entire file - notice Zed adds a comment starting with
/**instead of/*
Expected Behavior:
Adds comments with a single asterisk e.g. /* eslint-disable <rule_name> */
See attached gif below:
Zed Version and System Specs
Zed: v0.186.3 (Zed Preview) OS: macOS 15.4.1 Memory: 18 GiB Architecture: aarch64