Skip to content

Configure online editor #418

Closed
Closed

Description

@ErikSchierboom

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

Activity

  1. changed the title [-][v3] Configure online editor[/-] [+]Configure online editor[/+] on Aug 17, 2021
  2. Pablo-No commented on Sep 6, 2021

    @Pablo-No

    I think it should remain 4-space indentation.
    However the number of spaces is very controversial.

  3. arcuru commented on Sep 9, 2021

    @arcuru
    Contributor

    Yea, this is set as 4 spaces for indentation already. I'm closing this as that's not something we should bother to change, and we should try to avoid falling into bikeshedding :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    x:action/improveImprove existing functionality/contentx:knowledge/noneNo existing Exercism knowledge requiredx:size/tinyTiny amount of workx:type/contentWork on content (e.g. exercises, concepts)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions