microsoft / vscode-custom-data

Documentation and sample for using VS Code custom data format
MIT License
196 stars 75 forks source link

align-items and align-content miss various values #62

Closed Profesor08 closed 1 year ago

Profesor08 commented 1 year ago

Code assistance is not complete. For some properties it shows all available values, for some just half, for some nothing.

Does this issue occur when all extensions are disabled?: Yes

I have disabled all extensions manualy and removed all configurations from settings.json. Also tried Start Extension Bisect, it shows CODE issue.

Steps to Reproduce:

  1. Create new ot open existing .scss file with some styles.
  2. Toggle suggestions for white-space property, there will be no one useful.
  3. Toggle suggestions for align-items property, there will be just some incomplete list of values, no start, end, etc related to grids.
  4. Toggle suggestions for overflow property, there will be all properties available.

Screenshots

  1. There is OK image

  2. There is half. Expect to see start, end, etc in list. image

  3. There is nothing useful image

aeschli commented 1 year ago

white-space has improved in the meantime. align-items misses various values.

https://github.com/microsoft/vscode-custom-data is the module that extracts the data from MDN. It's a mix of manual work as well as irmproving the scripts that do the extraction. Help is welcome.

Profesor08 commented 1 year ago

white-space has improved in the meantime. align-items misses various values.

https://github.com/microsoft/vscode-custom-data is the module that extracts the data from MDN. It's a mix of manual work as well as irmproving the scripts that do the extraction. Help is welcome.

I already have checked this repo, it has all values for white-space, but vscode not showing them. This is why I have started this issue.

aeschli commented 1 year ago

The latest insider build from VS Code uses the latest version of vscode-custom-data and has the updated values for white-space

aeschli commented 1 year ago

align-items (from MDN):

normal flex-start flex-end center start end self-start self-end baseline first baseline last baseline stretch safe unsafe

align-content (from MDN):

start end flex-start flex-end center normal baseline first baseline last baseline space-between space-around space-evenly stretch safe unsafe

Profesor08 commented 1 year ago

Last update to 1.74.0 fixed issue with missing autocomplete for white-space. I think it was some vscode issue.