Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snippets for developers #911

Open
vczb opened this issue Jan 18, 2021 · 1 comment
Open

snippets for developers #911

vczb opened this issue Jan 18, 2021 · 1 comment

Comments

@vczb
Copy link

vczb commented Jan 18, 2021

Is your feature request related to a problem? Please describe.

whenever I need to know what property the component receives I need to go to the documentation to check it, and this creates a bad development experience

Describe the solution you'd like

I wish there were a set of snippets for VSCode that would assist in development, the intellisense and auto complete features are very useful

example:

  "store.home": {
    "blocks": [
      "rich-text"
    ]
  },
  "rich-text": {
    "props": {
      "text": "VTEX Store Framework",
      "textAlignment": "CENTER",
      "textPosition": "CENTER",
      "font": "t-heading-1"
    }
  }
}

how do i know if textAlignment receives LEFT, CENTER or RIGHT

showing only in the documentation

https://vtex.io/docs/components/all/vtex.rich-text@0.12.0/

I would like a simpler solution for this

Describe alternatives you've considered

Other types of auto complete are also valid

Thanks very much

@klzns
Copy link
Contributor

klzns commented Jan 18, 2021

Thanks, @vczb. We indent to change that soon ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants