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
aside from #254 which adds support for renaming files on usage side, there are other options to improve file renaming experience.
vscode/lsp supports a notification on file renaming. (client sends a file-renamed event to server) we can ask user to rename the module usages or rename usages directly.
add a command (like the one we have for creating interface) to rename a module.
@amiralies do you think the current excellent functionality for renaming is lacking?
Even if one were to add a specific command to rename a module, users would need to first imagine that such a command exists, and then discover it. Not sure about the overall value.
Activity
cristianoc commentedon Jun 6, 2021
@amiralies do you think the current excellent functionality for renaming is lacking?
Even if one were to add a specific command to rename a module, users would need to first imagine that such a command exists, and then discover it. Not sure about the overall value.
amiralies commentedon Jun 6, 2021
Yeah i'm not sure about that too.
but currently there's no way to rename a module semantically from the module (file) itself.
The notification way may be more useful.
Scenario:
but i'm not sure if it's possible to implement since the compiler tries to compile renamed module immediatly.
just getting started