![]() ![]() Make sure to not include sensitive information in any screens you share! Workspaces of SourcegraphĪs part of our research, we asked Sourcegraph engineers to share their set up. What editors, themes and fonts do you use? Tweet us at to share your thoughts and images. Keep scrolling to check out some of the setups Sourcegraphers have deployed to help them create universal code search. While these results are not statistically significant, one trend does stand out: developers will customize their environments to improve the readability of code. These traits can reduce errors and lead to better applications. Programming fonts make it easier to distinguish characters and can render operators with custom ligatures to enhance readability. Why customize your programming font? Glad you asked! Code, like no other language, can be dramatically altered by the slightest change. Other fonts include MonoStroom, Cascadia Code, and Hack. Among these users, FiraCode was the most popular choice, followed by JetBrains Mono. Over half of our engineers customize their programing font. ![]() IDE users had from 80% to 90% of their screens dedicated to code or the terminal, with the rest occupied by file trees and other UIs such as menus and tabs. Editor users had around 96% of editor screen real estate dedicated to code. There are clearly two camps: those who use an Integrated Developer Environment (IDE), which in this case is mainly VS Code, and terminal-based editors such as neovim/vim/emacs users. This seems to contradict the dark themes offered by many other developer tools, where dark is often interpreted as near 100% black and text is often 100% white.Ĭonversely, all light mode users at Sourcegraph prefer the maximum contrast with 100% white backgrounds and a black primary code color.Ĭontrast representative of typical dark and light modes. Background colors averaged 85% black and the primary code color to background contrast ratio averaged 9 to 1. Curiously, the majority of our dark mode users chose a lower contrast between code and background than their light theme oriented peers. Three-quarters of our engineers preferred a dark theme over a light theme. While our research is far from complete, we thought you might find a breakdown of the visual characteristics of where our team writes code of interest. Our goal is to make reading code easier, so it makes sense that we would study the place developers can decide exactly how their code should look: their editors. Since searching and reading code are intrinsically related, the Sourcegraph design team began to study how we could improve the display of code in Sourcegraph. We read so much code, that many of us have become quite particular about how it is displayed. We read books, blog posts, documentation, but mostly, we read code.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |