question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Save color per repo in user settings

See original GitHub issue

Our team was excited about this extension, but now we don’t want to use it because the colors are saved to workspace settings (which we use for other shared things), and we don’t want to force a certain color on everyone for each repo (we’d be bikeshedding for days if we had to decide on that) 😕

Is there any way to have the option to save color settings per directory / repo in user settings rather than in workspace settings?

I have 0 knowledge of VS Code extension development, but I’d be willing to take a crack at implementing this given some time. Not sure how much effort it might be. Looks like maybe this function is a good place to start:

export async function updateConfiguration<T>(
  setting: AllSettings,
  value?: T | undefined
) {
  let config = vscode.workspace.getConfiguration();
  return await config.update(
    `${extSuffix}.${setting}`,
    value,
    vscode.ConfigurationTarget.Global
  );
}

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
johnpapacommented, Mar 12, 2019

You make great points. The current approach requires you to not commit your changes if you dont want it to affect your colleagues.

We are exploring ideas on how to do this in #7

Please join the discussion … I’m very open to ideas

1reaction
musicfuelcommented, Mar 12, 2019

See the discussion currently going on in #7 regarding the latest on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings. On macOS -...
Read more >
Customize pipeline configuration - GitLab Docs
On the left sidebar, select Settings > CI/CD. Expand General Pipelines. Select the Auto-cancel redundant pipelines checkbox. Select Save changes. Use the ...
Read more >
Set Git repository settings - Azure Repos | Microsoft Learn
There are several ways to customize your Azure Repos Git repositories by using branch and repository settings and policies.
Read more >
Best Practices for Using GitHub Issues - Rewind
Best Practice 5: Use (But Don't Overuse) Labels · Use prefixes to reflect the kind of property that a label expresses. Instead of...
Read more >
How to configure Prettier and VSCode - Gleb Bahmutov
How to set up Prettier, ESLint and VSCode per project and have ... repos will have its style; I am using subfolders in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found