-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title background #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great PR, few small changes
src/getColor.ts
Outdated
} | ||
|
||
const getConfig = () => { | ||
export const getSetting = (value: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the filename getColor
doesn't fit anymore once you've exported getSetting
Maybe move this to a new settings.ts
file
README.md
Outdated
For example: | ||
|
||
``` | ||
// To settings.json => workspace settings. Defaults to the last color (.* is a wildcard). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I would put this as the example. If you're trying to say that the last regex wins, we can write that without an example IMO.
However writing a small example is a good idea
@Qantt Just made a few small remarks |
Hi, thanks for the remarks. I am going to take a look at this when I get off work. It's morning here so it's going to take a while though. |
Updated based on your PR review, good catches! It should be noted that in vscode extension development mode the title background color does not change, but it works fine when installing from vsix. 🚀 |
Approved |
I am working with a quite large monorepo and this tool would help me a lot. I added an ability to color title background. It works the same way as tab coloring (based on the current user location). Title background coloring makes it even more easy to deduct current location in the project.