Comments (9)
Do you use a custom font?
Which OS are you on?
from refreshversions.
Currently I am on Windows and I use the Inter font with the new UI (which could be the culprit)
I'll admit I didn't think about blaming the font at first considering the behaviour is correct in the versions.properties
file 🤔
One thing I noticed is the appearance of the arrow in the comment which doesn't appear in the versions.properties
so that could be a fix
from refreshversions.
The problem is that the width of the arrow changes from one font to the other, and I don't see how we would detect the font is different. Do you have the same problem when using the default font?
from refreshversions.
I'll check the behaviour with the default font but this might be the issue simply (I apologise if that's the case)
An a side note, why use arrows in the versions catalog and not the versions.properties
file ? Just out of curiosity 😁
from refreshversions.
Historical reasons, and we have the version.
prefix in versions.properties
, which gives more room to the word available
without messing alignment for short keys.
from refreshversions.
The arrow is also only one character wide in IntelliJ IDEA: (Using its default font "JetBrains Mono".)
It's worse in VS Code with "Droid Sans Mono", since it no longer matches the grid:
from refreshversions.
I also have the default font, and I get 1.8-ish character width FYI, like in VS Code, which keeps the alignement good enough for keyboard @GeorgEchterling.
from refreshversions.
Which OS @GeorgEchterling?
from refreshversions.
@LouisCAD Fedora Linux 38 (GNOME, Wayland)
I think IntelliJ IDEA automatically scales down wide characters, since changing the font to Droid Sans Mono doesn't increase the character's width. Or maybe both fonts just don't contain the arrow and the two apps use different fallback fonts. I don't know how to test that.
from refreshversions.
Related Issues (20)
- Support - Declaring a version catalog HOT 3
- JAVA_17 HOT 2
- gradle/libs.versions.toml gets generated under buildSrc directory HOT 1
- Add dependency to build.gradle can not success gradle sync
- `[plugins]` section in `libs.versions.toml` is moved to the top by `refreshVersions` HOT 2
- Dead link in README HOT 1
- Clarification when using AndroidX.compose.bom HOT 3
- Bug: property 'defaultVersionCatalogFile$refreshVersions_core' specifies file '${projectRoot}/gradle/libs.versions.toml' which doesn't exist HOT 2
- org.glassfish.jaxb:jaxb-runtime is used but marked as unused HOT 5
- Dependencies in the classpath configuration in the buildscript block of build.gradle are marked unused HOT 18
- Is it possible to retrieve the version through plugin? HOT 1
- refreshVersions plugin causes classpath issues when applied with wire plugin HOT 6
- Property settings not initialized yet! Has it been used after reset or before init? HOT 9
- Support refreshing versions for plugin jar artifacts HOT 2
- refreshVersionsMigrate does not work with some dependencies that has dot(.) in their name.
- Sample for KSP
- Comparison method violates its general contract! HOT 1
- [Regression] NPM dependency with group not detected(!?). E.g. npm("@fontsource/inter", "_") HOT 2
- Make constants in Libs.kt configurable/longer/...
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 refreshversions.