如何更改 GitLab web IDE 中的编辑器配色方案?

How can the editor color scheme in the GitLab web IDE be changed?

我想在 GitLab web 中使用深色主题 IDE,但是用户设置中与配色方案相关的选项不会影响编辑器主题。目前有办法改变这个吗?如果没有,会在以后的版本中添加吗?

目前只有 NavigationSyntax 主题自定义可用,如下所述:GitLab IDE

我认为即将发布的补丁中没有任何关于自定义的内容,因为新 UI 大约在一年前推出。

您可以为 Chrome or Firefox. This is the dark theme that I use Dark-Gitlab 使用 Stylish 等工具。

这将改变 GitLab 在浏览器中的显示方式。

更新GitLab 13.0, May 2020

Dark Theme in the Web IDE

For people who spend time working in code editors, the ability to customize the environment to match their preferences is important. Dark themes are some of the most popular for other editors and important for providing a comfortable experience. It’s also clear that GitLab users love their dark themes as a Dark Application theme for all of GitLab is the second most popular request in the GitLab Issue Tracker.

The GitLab Web IDE is now completely themed dark for users who choose the Dark syntax highlighting theme preference.

This is an important step in delivering an editing experience users love and a valuable step in understanding how the GitLab UI responds to dark themes. You can read more about the design process here.

参见 documentation and issue

而且,还是with GitLab 13.0

Syntax Highlighting Themes for the Web IDE

GitLab supports six syntax highlighting preferences when viewing code.

Themes are important to developers when viewing and editing code on GitLab since it’s imperative that they work comfortably throughout the day.

We’ve now released support for all six syntax highlighting preferences in the Web IDE.
This includes:

Over the last few releases (for example, 12.8 and 12.9) we’ve been steadily adding and improving support for syntax highlighting preferences in the Web IDE.
These updates follow this effort and help to lay the foundation for our Dark Theme in the Web IDE, also launching in 13.0.
We’re excited to continue to expand on developer experience and making the Web IDE feel more like home.

Over the last few releases (for example, 12.8 and 12.9) we’ve been steadily adding and improving support for syntax highlighting preferences in the Web IDE. These updates follow this effort and help to lay the foundation for our Dark Theme in the Web IDE, also launching in 13.0. We’re excited to continue to expand on developer experience and making the Web IDE feel more like home.

documentation and Epic


原回答:

If not, will it be added in a future release?

二月。 2020 年可能是未来的发布日期,GitLab 12.8

参见“Dark syntax highlighting theme for Web IDE

GitLab has long supported alternative syntax highlighting themes for use when browsing files in the repository or viewing diffs during the code review process.

However, our code editor areas have not supported the use of this preference despite being the most requested feature for the Web IDE.
(issue 195701)

The Web IDE now supports the Dark syntax highlighting preference in the code area.
We’ve started with this theme, as it’s the most widely used one beyond our default, but we’ll continue to expand our support for syntax highlighting preferences in the Web IDE.

We’ll also be working on expanding the dark theme to the rest of the Web IDE, including the file tree and sidebars.

参见documentation