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

Handle use of < and > as brackets #8

Open
davidshepherd7 opened this issue Jun 26, 2015 · 4 comments
Open

Handle use of < and > as brackets #8

davidshepherd7 opened this issue Jun 26, 2015 · 4 comments

Comments

@davidshepherd7
Copy link
Owner

For C/C++ includes, C++ templates, Java generics, ... the < and > operators are used as brackets.

It might be possible to detect matching pairs and correct the spacing for these cases.

@davidshepherd7 davidshepherd7 changed the title Handle use of <> as brackets Handle use of < and > as brackets Jun 26, 2015
Repository owner deleted a comment from Dickby Oct 22, 2017
Repository owner deleted a comment from Dickby Oct 22, 2017
@andreas-roehler
Copy link

May an example which triggers the bug be provided?
As for the functionality requested: Melpa delivers packages simple-paren and syntactic-close.

@andreas-roehler
Copy link

andreas-roehler commented Oct 16, 2018

[Moved to #11]

@davidshepherd7
Copy link
Owner Author

May an example which triggers the bug be provided?

Yeah inside features/c++-mode.feature there are a bunch of tests tagged with known-failure.

As for the functionality requested: Melpa delivers packages simple-paren and syntactic-close.

Thanks, I'll have a look at those when I get a chance.

@andreas-roehler
Copy link

A generic solution from here might be saying: EO takes action only if no whitespace is before.

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

No branches or pull requests

2 participants