Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 5145e53

Browse files
author
Marcel Gerber
authored
Merge pull request #10524 from MarcelGerber/css-hints-after-value
Close CSS Code Hints after inputting property value
2 parents 361e81d + 7f740f6 commit 5145e53

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • src/extensions/default/CSSCodeHints

src/extensions/default/CSSCodeHints/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,12 @@ define(function (require, exports, module) {
334334
selectInitial = true;
335335
}
336336

337+
if (lastContext === CSSUtils.PROP_VALUE) {
338+
// close the session if we're coming from a property value
339+
// see https://github.com/adobe/brackets/issues/9496
340+
return null;
341+
}
342+
337343
lastContext = CSSUtils.PROP_NAME;
338344
needle = needle.substr(0, this.info.offset);
339345

0 commit comments

Comments
 (0)