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

[TECH ED] 🧰 Check your setup #30

Open
AbdihamidAli opened this issue Sep 2, 2023 · 0 comments
Open

[TECH ED] 🧰 Check your setup #30

AbdihamidAli opened this issue Sep 2, 2023 · 0 comments
Labels
Week 3 Adding labels to the issues

Comments

@AbdihamidAli
Copy link
Owner

From Module-HTML-CSS created by SallyMcGrath: CodeYourFuture#53

Link to the coursework

CYF VS Code extension pack

Why are we doing this?

You must have the CYF VS Code extension pack installed and Prettier enabled. Don't use another formatter.

🧹 Formatting with Prettier

Using a shared formatting convention makes sure your "diffs" ( 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)
  2. Search for editor format
  3. Set editor.formatOnSave and editor.formatOnPaste to true
  4. Set the "Default Formatter" to be Prettier
  5. 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 code in our components workshop, 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. 😜

@AbdihamidAli AbdihamidAli added the Week 3 Adding labels to the issues label Sep 2, 2023
@AbdihamidAli AbdihamidAli added this to the Module-HTML-CSS milestone Sep 2, 2023
@AbdihamidAli AbdihamidAli moved this from 📋 Backlog to 🏗 In progress in CYF Software Development Coursework Planner Sep 12, 2023
@AbdihamidAli AbdihamidAli moved this from 🏗 In progress to ✅ Done in CYF Software Development Coursework Planner Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Week 3 Adding labels to the issues
Projects
Development

No branches or pull requests

1 participant