Comments (4)
Hi @onContentStop, thanks for submitting this issue.
The “includeFontFamilies” config setting was designed mostly for programming fonts developers purchase.
As far as I know, I don’t have access to look at what system monospaced fonts are installed. I could dig into this a bit more to see if anything has changed since the last time I checked. Otherwise, if you have any ideas about how this could be accomplished, please feel free to open a PR.
There is another way to accomplish this without looking at the file system for installed monospace fonts. What fonts are missing and what platform are you using (mac, windows, linux)?
from vscode-shifty.
It's not necessarily that a specific font is missing, but more that it would be a generic solution.
On Linux, you can get this information by running in a shell fc-list :mono family | sed 's/\\-/-/g'
.
On Windows it is more complicated, involving reading the registry and getting font metrics with .NET. I don't have an elegant solution for that.
from vscode-shifty.
Thanks for the suggestion @onContentStop.
I would certainly like to have a more generic solution since it would remove another one of my config settings (ignoreCodefaceFontFamilies) as well. When I have time I will do more research on how this could work across different platforms. The command you mentioned above doesn't work on macOS either.
As I mentioned before, PRs are welcome if you are also interested in digging into this.
from vscode-shifty.
Sure, I'll get to work figuring out how to integrate into your code, then make a Linux implementation at the very least. Unfortunately that nice one-liner I wrote relies on you having fontconfig installed (on Mac, through Homebrew), so it won't work for most OSX machines unless they install that. I can work on a generic Objective-C solution for that though. As for Windows, I still don't know :(
from vscode-shifty.
Related Issues (12)
- Shifty status does not span multiple instances of VS Code
- Shift theme/font on notification bar
- Shift happens more than one time
- Remaining time not displayed correctly in shifty status
- Feature Request: Shift by filetype HOT 1
- Music HOT 1
- Feature Request: Shift my smart lightbulbs
- Clock doesn't show on all VS Code windows HOT 8
- Selecting Ignore does not reset the clock HOT 5
- [Bug] Not work with the Remote-Development HOT 2
- Feature request: Font size HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-shifty.