microsoft / microsoft/vscode-textmate

Scoping Issues For Relative Rule References

Open
#174 1 comment 0 reactions 1 assignee View on GitHub

@hediet is already working on this.

Since May 2, 2022.

bug
Dominant language
TypeScript
Stars
678
Forks
135
Avg merge
1d 14h
Merged PRs (30d)
2

Description

This line collects the dependencies of a relative reference:
https://github.com/microsoft/vscode-textmate/blob/9157c7f869219dbaf9a5a5607f099c00fe694a29/src/grammar.ts#L139

However, it passes in the patternRepository of the current rule.

collectSpecificDependencies then continues to use this patternRepository as new local context for resolving relative references.

However, collectSpecificDependencies should continue with the repository of its own parents.

Related: https://github.com/microsoft/vscode-textmate/issues/174

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.