Disable "Rename Symbol" option when working with embedded documents
Problem
Renaming composite type is currently not possible. However, in an attempt to rename it, VS code returns a "No Result" message.
Suggested solution
Disable "rename symbol" for composite types if possible
Renaming composite type is currently not possible.
What do you mean exactly by that?
Where exactly didyou try to use the Rename/F2 feature? The field that holds the composite type in a model? The type block? One of the properties inside the type block?
Renaming the composite type name – the type block
Indeed, it's currently not implemented.
The current state is not the best for that one, so it would be good to either implement or disable, though I don't think we can disable it only on type, only everywhere 🤔
Rename was done in https://github.com/prisma/language-tools/pull/1420