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

Configure online editor #129

Closed
Tracked by #138
ErikSchierboom opened this issue Jan 29, 2021 · 5 comments · Fixed by #230
Closed
Tracked by #138

Configure online editor #129

ErikSchierboom opened this issue Jan 29, 2021 · 5 comments · Fixed by #230
Labels
x:action/improve Improve existing functionality/content x:knowledge/none No existing Exercism knowledge required x:size/tiny Tiny amount of work x:type/content Work on content (e.g. exercises, concepts)

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

@ErikSchierboom ErikSchierboom mentioned this issue Jan 29, 2021
9 tasks
@ErikSchierboom ErikSchierboom changed the title [v3] Configure online editor Configure online editor Aug 17, 2021
@ErikSchierboom ErikSchierboom added x:action/improve Improve existing functionality/content x:knowledge/none No existing Exercism knowledge required x:size/tiny Tiny amount of work x:type/content Work on content (e.g. exercises, concepts) labels Aug 18, 2021
@safwansamsudeen
Copy link
Contributor

@ErikSchierboom this too should be closed... only CoffeeLint by default uses two spaces. Might be change the current value (of 4)?

@ErikSchierboom
Copy link
Member Author

What do most people use when writing coffeescript?

@safwansamsudeen
Copy link
Contributor

Two spaces. See this and this, two popular CoffeeScript repos here on GitHub.

@ErikSchierboom
Copy link
Member Author

Then it should be changed

@safwansamsudeen
Copy link
Contributor

@ErikSchierboom #230.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/improve Improve existing functionality/content x:knowledge/none No existing Exercism knowledge required x:size/tiny Tiny amount of work x:type/content Work on content (e.g. exercises, concepts)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants