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

JSON body cursor wrong position

Open kstan79 opened this issue 4 years ago • 1 comments

Describe the bug during i prepare http request with json body, i notice that the cursor is not exactly sit at correct position. I cause when i try something the text offset 1 space. I suspect this is font issue but cant solve it anyway. I don't have similar problem when i edit any source code in vscode.

To Reproduce use below example:

{
    "action": "save",
    "data": {
        "global_tenant": [
                {
                  "tenant_code":"T1",
                  "tenant_name":"tenant 1"
                }
            ]
    }
}
Screenshot 2021-10-28 at 11 55 35 AM

Expected behavior Cursor shall focus at correct position

Platform:

  • OS: Mac OSX
  • vscode version: 1.61.2
  • extension version: v1.9.1

kstan79 avatar Oct 28 '21 03:10 kstan79

Thanks @kstan79 for reporting the issue, will add to bug list.

rangav avatar Oct 28 '21 07:10 rangav

If you changed your vscode default font settings, could be related to below issue.

please see here https://github.com/rangav/thunder-client-support/issues/815#issuecomment-1318738562

rangav avatar Nov 17 '22 19:11 rangav

closing this issue, feel free to re-open if needed

rangav avatar Nov 21 '22 10:11 rangav