-
Notifications
You must be signed in to change notification settings - Fork 237
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
We don't brace completion on '<' #95
Comments
This is a very weird case because |
Looking into a safe way to do this. We could do a regex to look for an id token on left, but I don't think that's sufficient because I can say a<b and that can mean a less than b or type a<b... finished by a closing >. |
Now with HTML escapes: I can say a<b and mean either a less than expression or the prefix of a<b> |
That's true, but that depends mostly on whether or not you tend to have whitespace around your operators. Again, I can see this being a point of contention for users. |
Any final thoughts on this? Otherwise I think this is too ambiguous. There's a few heuristics we could try, but not sure if the cost justifies the value. |
In writing generics, I notice that we don't brace complete on '<'. I got used to our great support of all the other types of braces :)
The text was updated successfully, but these errors were encountered: