davidnussio / vscode-jq-playground

Visual Code Studio jq playground
https://marketplace.visualstudio.com/items?itemName=davidnussio.vscode-jq-playground
MIT License
46 stars 8 forks source link

on Windows 10 jqpg file cannot process local file. #50

Closed alex-y-kozlov closed 4 years ago

alex-y-kozlov commented 4 years ago

Steps:

1) create a file c:\program\test.json 2) file contents ' {"foo": 42, "bar": "less interesting data"} ' 3) open jq file in VSCode and type:

jq .foo
C:\program\test.json

4) click editor or console. get an error parse error: Invalid numeric literal at line 1, column

The same thing on the mac works fine. json file path is different: /Users//program/test.json

davidnussio commented 4 years ago

Thank you for reporting the issue. I just released a update patch that fix this issue.

I tested with absolute path and relative to the current working dir.

2020-06-28_22-32

alex-y-kozlov commented 4 years ago

Just tried it. Confirmed, - works! Wow! Your extension is GREAT~ but your turn around time is simply OUT OF THIS WORLD! Amazing! Thank you, David!