Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text with camel case breaks syntax #17

Open
dzwarg opened this issue Nov 25, 2024 · 0 comments
Open

Text with camel case breaks syntax #17

dzwarg opened this issue Nov 25, 2024 · 0 comments

Comments

@dzwarg
Copy link

dzwarg commented Nov 25, 2024

Hello,

First of all, thank you for writing this plugin for vscode, it's been really helpful and a big improvement in productivity since our team switched to using Hurl.

Now the issue: it seems the syntax highlighting seems to get confused when it encounters a camel case ("camelCase") term, such as:

# Example 1:
#
head_ref_oid: jsonpath "$.data.repository.developPRs.nodes[0].headRefOid"
                                                 ^-- here

Screenshot for Example 1:
example-1

# Example 2:
#
POST https://automation.atlassian.com/pro/hooks/deadbeef
[Options]
skip: false
variable: name="JIRA Automation"
```json
{
  "issues": ["{{issue_id}}"],
  "data": {
    "releaseVersion": "{{version}}",
            ^-- here
    "suffix": "CSS",
    "product": ""
  }
}
```
HTTP 200

Screenshot for Example 2:
example2

# Example 3:
#
PATCH https://my.json.api
Authorization: Bearer {{access_token}}
[Options]
skip: false
variable: name="Authorize Deployment"
```json
{
  "numberFormat": [
         ^-- here
    [
      "General",
      "General",
      "General",
      "General",
      "General",
      "General",
      "General"
    ]
  ]
}
```
HTTP 200

Screenshot for Example 3:
example-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant