Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

meta.property-list.css missing in Tree-sitter #157

Open

Description

@Arcanemagus

Prerequisites

Description

Property lists are missing the meta.property-list.css scope, leading to issues like autocomplete-css not giving any suggestions.

Steps to Reproduce

  1. As the Tree-sitter CSS grammar is currently only enabled in HTML <style> blocks, fist create an HTML file in Atom with the following contents:
    <style media="screen">
      .class {
        margin: 0 auto;
        
      }
    </style>
    
  2. Place the cursor anywhere within the list of properties (e.g. line 3)
  3. Run the Editor: Log Cursor Scopes command

Expected behavior:

A list of scopes that includes meta.property-list.css, such as this from the TextMate grammar:
image

Actual behavior:

Missing meta.property-list.css:
image

Reproduces how often:

100% of the time.

Versions

OS: Windows 10 x64

Atom    : 1.34.0-nightly9
Electron: 2.0.12
Chrome  : 61.0.3163.100
Node    : 8.9.3
apm  2.1.3
npm  6.2.0
node 8.9.3 x64
atom 1.34.0-nightly9
python 2.7.15
git 2.19.1.windows.1
visual studio 2015

Additional Information

Originally brought up by @Yurickh in atom/atom#18327 (comment).

Activity

  1. Ben3eeE commented on Nov 7, 2018

    @Ben3eeE
    Contributor

    Is this an issue with other tree-sitter grammars? In addition to language-css.

  2. G-Ray commented on Sep 4, 2019

    @G-Ray

    @Ben3eeE any news about this ? IIUC work need to be done in https://github.com/atom/autocomplete-css. Can you share some details to get potential contributors on board please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions