CodeYourFuture / CodeYourFuture/Module-Structuring-and-Testing-Data
Check your setup
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
### Link to the coursework
CYF [VS Code extension pack](https://marketplace.visualstudio.com/items?itemName=CodeYourFuture.cyf-extension-pack)
### Why are we doing this?
You must have the **CYF [VS Code extension pack](https://marketplace.visualstudio.com/items?itemName=CodeYourFuture.cyf-extension-pack)** installed and Prettier enabled. Don't use another formatter.
#### 🧹 Formatting with Prettier
Using a shared formatting convention makes sure your "[diffs](https://github.com/CodeYourFuture/CYF-Workshops/pull/94/files)" ( *differences* between the codebase and your changes) only show the code you *intentionally* wrote, and not a bunch of spaces or tabs. It will also help you read your own code as you work on it.
1. In Visual Studio open the settings file (Code > Preferences > Settings)
1. Search for editor format
1. Set and to
1. Set the "Default Formatter" to be Prettier
1. In your editor, write some html and save the file. It should be formatted (indented) automatically.
### Maximum time in hours
.15
### How to get help
Ask for help on Slack if you are having trouble with Prettier. We will work together on the same files in some workshops, so if you don't have this set up, you will be blocked and unable to participate.
### How to submit
It will be entirely obvious if you don't do this. 😜 We can all see!
Contributor guide
Assessment
This issue has not been assessed yet.