question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TextMate scope selectors: child combinator is not implemented

See original GitHub issue

Selectors such as "scope1 > scope2" aren’t working.

Expected behavior: it should select all scope2 elements that are the direct children of scope1

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
graceful-potatocommented, Feb 3, 2020

@alexdima To be honest i found out about this selector quite recently, but the changelog says it was introduced in 2012.

1reaction
alexdimacommented, Feb 3, 2020

@jeff-hykin AFAIK > did not exist when we first wrote vscode-textmate. I cannot find any mention of it at https://macromates.com/manual/en/scope_selectors

However, with TextMate 2.0, it appears that they appear in the scope selector grammar at https://macromates.com/textmate/manual/references#scope-selector

Read more comments on GitHub >

github_iconTop Results From Across the Web

Direct children (Child combinator) selector not restricting to ...
Note: This property is applied to list items, i.e. elements with display: list-item; by default this includes <li> elements. Because this ...
Read more >
Child combinator - CSS: Cascading Style Sheets | MDN
The child combinator (>) is placed between two CSS selectors. It matches only those elements matched by the second selector that are the ......
Read more >
Hacking the Core | - Pulsar
Info on building from source + hacking on Pulsar's core.
Read more >
Ecmascript Syntax - Package Control
Ecmascript Sublime Syntax · Remaining Work · Why Bother · Feature Coverage · Non-JS extensions · SublimeText Symbols · Themes · Scopes ·...
Read more >
PDF - Springer Link
A CSS rule is applied using selectors followed by one or more declarations, ... This is why a property is applied to all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found