MagicStack / MagicStack/MagicPython
Incorrect tokenization of querystring
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
* **Editor name and version**: VS Code 1.62
* **Platform**: Any
* **Color scheme**: N/A
* **MagicPython version**: Most recent commit from master
* **A sreenshot**:

* **5-10 lines of surrounding code**:
```python
url = 'https://www.foo.com/bar?quux=%7B%22persistedQuery%22%3A%7B%22version%22%3A1%2C%22sha256Hash%22%3A%...%22%7D%7D'
```
Originally from @p-i- in https://github.com/microsoft/vscode/issues/137461
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Python URL string in VS Code 1.62 with the latest MagicPython commit and compare its tokenization with the screenshot. No source file or test is named, so locate the query-string handling in the syntax highlighter and add a regression check once the expected highlighting is established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100