You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This produces this warning: Permission "create_child_folder" references parent type "folder" in its name; it is recommended to drop the suffix
I understand what this warning is getting at, but it's not exactly relevant in this case – the "child_folder" just happens to be the same resource as the parent "folder", hence the suffix. Since other warnings are still valuable, it would be great to selectively turn off this warning.
Generally, I'd like to toggle on/off whatever warnings are best for me. Perhaps a // zed-disable-warning: parent-name-in-suffix at the top of the file, or something in the .vscode/settings file?
Problem Statement
This is a refiling of authzed/spicedb-vscode#12 but in the proper repo.
First of all, thanks for making the new VS Code extension and LSP! The coloring, hovers, and lint are awesome to have during schema development. 🎉
Onto the issue: My schema has something similar to this:
This produces this warning:
Permission "create_child_folder" references parent type "folder" in its name; it is recommended to drop the suffix
I understand what this warning is getting at, but it's not exactly relevant in this case – the "child_folder" just happens to be the same resource as the parent "folder", hence the suffix. Since other warnings are still valuable, it would be great to selectively turn off this warning.
Generally, I'd like to toggle on/off whatever warnings are best for me. Perhaps a
// zed-disable-warning: parent-name-in-suffix
at the top of the file, or something in the.vscode/settings
file?Solution Brainstorm
From @josephschorr in the linked issue:
The text was updated successfully, but these errors were encountered: