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

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

Open
1 task done
Arcanemagus opened this issue Nov 7, 2018 · 2 comments
Open
1 task done

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

Arcanemagus opened this issue Nov 7, 2018 · 2 comments

Comments

@Arcanemagus
Copy link

Arcanemagus commented Nov 7, 2018

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).

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Nov 7, 2018

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

@G-Ray
Copy link

G-Ray commented Sep 4, 2019

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants