Skip to content
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

Support onTypeRename #1092

Closed
dbaeumer opened this issue Sep 15, 2020 · 3 comments
Closed

Support onTypeRename #1092

dbaeumer opened this issue Sep 15, 2020 · 3 comments
Labels
feature-request Request for new features or functionality new request
Milestone

Comments

@dbaeumer
Copy link
Member

For language like HTML it would be cool to be able to rename a closing tag automatically if a user changes the name of an opening tag. To make this happen we propose a new message onTypeRename which is comparable to on type format.

@dbaeumer dbaeumer added the feature-request Request for new features or functionality label Sep 15, 2020
@dbaeumer dbaeumer added this to the 3.16 milestone Sep 15, 2020
@angelozerr
Copy link
Contributor

angelozerr commented Sep 15, 2020

@dbaeumer is it to support HTML mirror cursor but with standard LSP requests?

If it that, it means that LSP client should support mirror cursor, LSP should provide a client capability for onTypeRename .

I love this idea and I would like to use it for our XML Language Server..

@dbaeumer
Copy link
Member Author

Yes, that is the idea also we will not talk about multiple cursor. The idea is to have ranges that must be kept in sync. The client can then decide on how to visualize this.

@octref
Copy link
Contributor

octref commented Sep 27, 2020

@dbaeumer Would love to adopt it 😉

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality new request
Projects
None yet
Development

No branches or pull requests

3 participants