thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.64k stars 132 forks source link

Characters inserted at wrong location when editing JSON body #1622

Closed Garrett-Wolfe closed 1 month ago

Garrett-Wolfe commented 1 month ago

Describe the bug When editing the JSON body of a request, new characters are not actually inserted where the cursor appears visually.

Example cursor_error

To Reproduce

  1. Open a new request
  2. Navigate to Body tab and then select JSON
  3. Start typing

Expected behavior Characters should be inserted where the cursor is

Platform:

Detailed VS Code Info Version: 1.93.1 Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Linux x64 6.8.0-45-generic

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

rangav commented 1 month ago

@Garrett-Wolfe please search for existing issues for solution.

Garrett-Wolfe commented 1 month ago

@rangav I did search for existing issues. If you're thinking about these, they are not the same issue:

1499

1563

423

rangav commented 1 month ago

Its a custom font issue, please go though the solutions above and try it

https://github.com/thunderclient/thunder-client-support/issues/1326#issuecomment-1714123998

Garrett-Wolfe commented 1 month ago

Oh I see. I didn't think to look through closed issues. Thanks