imliam / vscode-inline-parameters

An extension for Visual Studio Code that adds inline parameter annotations when calling a function.
https://marketplace.visualstudio.com/items?itemName=liamhammett.inline-parameters
MIT License
196 stars 22 forks source link

Baseline is not aligned with regular text #32

Closed Cyberbeni closed 11 months ago

Cyberbeni commented 3 years ago

macOS 11.0.1 (20B29) VSCode Version: 1.51.1, Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f liamhammett.inline-parameters-0.2.1 Font: https://github.com/ryanoasis/nerd-fonts/tree/5371994aa892fcd4eed149c63d905d6815b36a38/patched-fonts/JetBrainsMono/Regular/complete 1080p monitor with "Default for display" resolution

~/Library/Application Support/Code/User/settings.json contents:

{
    "window": {
        "zoomLevel": 0
    },
    "editor": {
        "fontFamily": "JetBrainsMono Nerd Font",
        "fontLigatures": false,
        "insertSpaces": false,
        "tabSize": 3
    },
    "inline-parameters": {
        "fontSize": "1em",
        "padding": "0em 0.25em 0em 0em",
        "margin": "0 em"
    }
}

The parameters' baseline is 1 pixel lower than the regular text: Screenshot 2020-12-04 at 23 48 10