thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Text editing broken with proportional font

Open VulumeCode opened this issue 1 year ago • 4 comments

Describe the bug When using a proportional font as editor.fontFamily, the text editor in Thunder Client gets buggy

To Reproduce Set a proportional font in editor.fontFamily Make a request with a body Try to select and copypaste text in the body The wrong characters are copypasted.

Same thing happens in the response window.

Expected behavior Be able to work with proportional font

Platform:

  • OS: Windows11
  • vscode version: 1.87.1
  • node version: 18.17.1
  • extension version: v2.19.0

Are you using the free version/paid version/trial:

Free

VulumeCode avatar Mar 11 '24 13:03 VulumeCode

Hi @VulumeCode

Not all custom fonts are supported, see here - https://github.com/rangav/thunder-client-support/issues/1326#issuecomment-1714123998

rangav avatar Mar 11 '24 13:03 rangav

Seems like a real usability bug though. Maybe an option is needed to overwrite the font?

VulumeCode avatar Mar 11 '24 13:03 VulumeCode

Will add a vscode setting to use default font or VS Code Editor font

rangav avatar Mar 11 '24 15:03 rangav

Is there a setting to set the font for thunder client code windows specifically instead of using the editor font family? All the request and response editors are broken for my setup :/ Screenshot 2024-09-25 at 5 36 26 PM Edit: fixed it, it was the font not being installed as mentioned on a different issue.

I think you can set the fallback font for your extension to monospace which might help?

Thanks for this great tool.

gnowland avatar Sep 26 '24 00:09 gnowland