Theming affects the entire Web IDE
Summary
Filing this as a bug because I can't imagine this was intended behaviour: setting a personal theme preference for syntax highlighting affects the entire Web IDE UI, rather than only the actual file contents rendering in the Web IDE. This makes the Web IDE experience quite horrible.
Steps to reproduce
- Select a syntax highlighting theme in your personal settings -> preferences -> syntax highlighting. I picked Solarized Light.
- Open any file in any repo in the Web IDE. Rather than applying the chosen theme to the actual code inside files only, the theme gets applied to the entire IDE making it look all kinds of horrible, particularly because it undoes what syntax highlighting achieves in the first place: making code stand out from the UI around it.
What is the current bug behavior?
The syntax theme applies to the entire UI instead of only to parts of the UI that have code that needs syntax highlighting.
What is the expected correct behavior?
The syntax theme should only be applied to file content that should have its syntax highlighted.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
n/a
Results of GitLab application Check
n/a
Possible fixes
- Add a secondary themeing choice where folks can pick how the Web IDE should be styled independently of the file content syntax highlighting, or
- Update the theme to include appropriate theming for the Web IDE and rename the theme choice from "syntax highlighting" to a more something that more accurately reflects its role, like "code view theme".
Edited by Pomax