-
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] Convert numbers to strings, so StringMatch can match it. #9997
Comments
|
Came across this while writing docs for #11200. Have sent them to you via slack. |
OK, that is serious in that it would break brackets when trying to edit preferences file? |
Run this in brackets console to see what error get produced. var StringMatch = require("utils/StringMatch");
StringMatch.stringMatch(1024, "10", { preferPrefixMatches: true }); Converting 1024 to string works fine. |
Yes it broke hints when I pressed enter. So this fixes that as well. |
Thanks |
|
I don't know any ext using number preference but since brackets supported that even before this feature I believe we should support it here as well. Right now it is broken. |
|
You can copy any number type preference from the wiki page "'Preference code hints for developers". I am on phone so can't give exact steps to repro this |
|
|
It was nice to get this in time. |
Sunday Jul 26, 2015 at 16:54 GMT
Originally opened as adobe/brackets#11484
Converts
"number"
values into strings soStringMatch.stringMatch
can match it.@
abose This is critical to go with the release.sprintr included the following code: https://github.com/adobe/brackets/pull/11484/commits
The text was updated successfully, but these errors were encountered: