Open core-ai-bot opened 3 years ago
Comment by zaggino Wednesday Dec 14, 2016 at 23:22 GMT
@
Athorcis can you review and verify this fixes #12970 ?
I've tried this but it doesn't seem to resolve the steps described in your issue.
Comment by haslam22 Thursday Dec 15, 2016 at 21:13 GMT
@
zaggino Just tested it again on Windows & Ubuntu with the latest master and it works fine with the steps described in the issue. I may have missed something so I'll take another look later
Comment by haslam22 Friday Dec 16, 2016 at 19:14 GMT
Reset the branch, I think I messed up my fork somehow. Should work fine now.
Comment by haslam22 Saturday Dec 17, 2016 at 04:55 GMT
I was able to produce a fix for the steps in the issue but I didn't try using .twig files (issue describes step 2 as any file type that's not supported). I can now see that overriding .twig is a specific scenario that doesn't work, but all other extensions are fine.
So I've added a fix for this as well. You can now override .twig
files and make it work with the Twig language.
Apologies for any spam.
Comment by Athorcis Saturday Dec 17, 2016 at 14:35 GMT
Thx for your work, i don't have the bug anymore
Comment by zaggino Tuesday Dec 20, 2016 at 07:54 GMT
@
haslam22 let me know when you think it's ready, I see you're still adding some commits.
Comment by haslam22 Tuesday Dec 20, 2016 at 11:05 GMT
@
zaggino All finished now, thanks for taking the time to review.
Issue by haslam22 Tuesday Dec 13, 2016 at 20:05 GMT Originally opened as https://github.com/adobe/brackets/pull/12979
This fixes #12970 by removing invalid mappings from the preference state, occurring when a language has not been loaded yet. When the language is eventually loaded, an
_updateFromPrefs
call restores the preferences.haslam22 included the following code: https://github.com/adobe/brackets/pull/12979/commits