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

Add support for C++/Rust templates/generics #19

Open
nitnelave opened this issue Dec 5, 2021 · 0 comments
Open

Add support for C++/Rust templates/generics #19

nitnelave opened this issue Dec 5, 2021 · 0 comments

Comments

@nitnelave
Copy link

AFAIU, it should be a simple matter of adding "<>" as "parenthesis-like" objects: it could pose problems with expressions with comparisons, though:

template <typename T, typename P>
void do_the_thing(int i) {
  do_the_thing_impl(i, i > 3);
}

If the cursor is on "typename P" and I press "da,", I expect that the text ", typename P" is deleted. But if it's on the "i" in "i > 3", "da," should delete ", i > 3" (and not just ", i " as if ">" was the end of the argument).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant