-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Close CSS Code Hints after inputting property value #9293
Comments
Comment by MarcelGerber Hm, it definitely works for me. So, just to be sure, these are the steps I followed:
Before: |
Comment by kylelondonuk Hi, I opened issue #9496 and was wondering whether this fix is available yet? the problem still seems to exist in Brackets 1.3 downloaded today. Cheers |
Comment by nethip
|
Comment by MarcelGerber I do think this fix should be reviewed soon. Would you mind? Maybe |
Comment by ficristo There is a test failing under By the way I'd write the code like the following: I find it easier to read. - lastContext = CSSUtils.PROP_NAME;
+ if (lastContext === CSSUtils.PROP_VALUE) {
+ // Close the session if we're coming from a property value.
+ // See https://github.com/adobe/brackets/issues/9496
+ return null;
+ }
+
+ lastContext = CSSUtils.PROP_NAME;
needle = needle.substr(0, this.info.offset); |
Comment by MarcelGerber
|
Comment by ficristo You are missing a brace. |
Comment by MarcelGerber Argh, yesterday simply wasn't my day. Fixed it now and squashed the commits as. |
Comment by ficristo Thank you, LGTM. |
Issue by MarcelGerber
Wednesday Feb 04, 2015 at 20:10 GMT
Originally opened as adobe/brackets#10524
For #9496 and #4888
MarcelGerber included the following code: https://github.com/adobe/brackets/pull/10524/commits
The text was updated successfully, but these errors were encountered: