Project: aptanastudio
Issue APSTUD-2728: Add warning when adding a theme rule that duplicates an existing rule
When adding a new rule to a theme, it's possible a user may add a rule that duplicates an existing one by trying to color the same scope. The user is confused because the new rule generally won't work. Suggest popping up a warning dialog indicating that the another rule exactly matches the current definition, and ask them if they would like to edit that rule instead. "Rule ^Rule^ exactly matches this definition. Would you like to edit that rule instead?" Options: Yes, and delete this rule No This could possibly be done as a warning as well. Some UI experimentation might be necessary to see what is most intuitive.
Story points: 8