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

[v3] Configure online editor #468

Closed
Tracked by #477
ErikSchierboom opened this issue Jan 29, 2021 · 2 comments
Closed
Tracked by #477

[v3] Configure online editor #468

ErikSchierboom opened this issue Jan 29, 2021 · 2 comments

Comments

@ErikSchierboom
Copy link
Member

This issue is part of the migration to v3. You can read full details about the various changes here.

In Exercism v3, students can now choose to work on exercises directly from their browser, instead of having to download exercises to their local machine. The track-specific settings for the in-browser editor are defined in the top-level "online_editor" field in the track's config.json file. This field is defined as an object with two fields:

  • "indent_style": the indent style, either "space" or "tab".
  • "indent_size": the indent size, which is an integer (e.g. 4).

You can find a full description of these fields in the spec.

Goal

The "online_editor" field should be updated to correspond to the track's best practices regarding indentation.

Example

"online_editor": {
  "indent_style": "space",
  "indent_size": 4
}

Tracking

exercism/v3-launch#2

@glennj
Copy link
Contributor

glennj commented Jan 29, 2021

@exercism/bash do we have strong opinions about indentation? 4 spaces is my preference. The Google style guide specifies 2 spaces. I think this issue can be closed.

@kotp
Copy link
Member

kotp commented Jan 29, 2021

It is currently space and 4, and though I prefer 2 spaces, it should be fine.

@kotp kotp closed this as completed Jan 29, 2021
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

3 participants