posit-dev / posit-dev/positron

Make the individual projects open in Positron feel more distinct from one another

Open
#974 6 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: core enhancement
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

I mentioned this once in slack and the feeling has only intensified as I use VS Code more: I really prefer the way my individual RStudio Projects feel distinct vs. how the same feels in VS Code.

(1) I think the main thing I notice is how RStudio vs VS Code interacts with macOS app switcher:

Screenshot 2023-08-07 at 3 53 09 PM

This post (https://stackoverflow.com/a/68816831) captures a lot re: why I care about this, even if the mechanics described there sound awful and dated:

In case you are using VS Code for multiple purposes (C#, Python, Database client, etc.), it's useful to separate each one instances in taskbar with different colors and themes.

I think it's possible that data science projects feel more distinct and, therefore, worthy of their own window than, e.g., 3 different software development projects. Imagine you're working on an R package, a Quarto website, a Shiny app, and a data analysis.

Is there any way we can get the same app switcher experience as RStudio?

(2) I think the frame around VS Code windows is also much more subtle than RStudio instances. My VS Code windows feel like an undifferentiated blob of stacked black rectangles and, as I cycle through them, I have to scrutinize a relatively small bit of text in the ?title bar? to figure out which is which. In contrast, when I switch between RStudio projects, I get the app switcher experience, with the project name front and center. Somehow the RStudio experience feels much better.

(3) To go out in a blaze of glory, I'll highlight something from the SO post above:

with different colors and themes

This has been a much-wished for feature for RStudio:

Positron gets project-level theming for free 🎉 because VS Code supports this (these are all positron windows):

Screenshot 2023-08-07 at 4 23 21 PM

So it would be really interesting to think about how to lean into that. For example, having a different default theme for different types of projects? I don't have any desire to manage tons of themes and hand pick one for each project. I'd just like the projects to feel more distinct.

This Peacock extension seems pretty interesting, in terms of the general idea: https://marketplace.visualstudio.com/items?itemName=johnpapa.vscode-peacock

Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files, tests, or entry points are identified. Start by reviewing the macOS app-switcher behavior, window framing, and project-level theming examples described here, then determine which aspect can be scoped into a concrete change. Done should make individual projects easier to distinguish without requiring users to manage many themes.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vscode
Domain
design, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.