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 #23

Closed
Tracked by #32
ErikSchierboom opened this issue Jan 29, 2021 · 8 comments
Closed
Tracked by #32

Configure online editor #23

ErikSchierboom opened this issue Jan 29, 2021 · 8 comments
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
@hsadia538
Copy link
Contributor

@lpil I have started working on it. Should the highlightJS language for this remain as Rust?

@lpil
Copy link
Member

lpil commented Jul 4, 2022

@hsadia538
Copy link
Contributor

@lpil its not mentioned in the list of identifiers as per this

How should I refer it

@lpil
Copy link
Member

lpil commented Jul 4, 2022

I don't know, I only know about Gleam I'm afraid. You'll need to look into the Exercism documentation or keep it as the the Rust syntax.

@ErikSchierboom
Copy link
Member Author

@lpil Is there an NPM package for the gleam highlightjs functionality?

@lpil
Copy link
Member

lpil commented Jul 5, 2022

No but I can make one if that's useful

@hsadia538
Copy link
Contributor

@ErikSchierboom please close the issue if no changes are required and is already up to date

@ErikSchierboom
Copy link
Member Author

ErikSchierboom commented Jul 5, 2022

@lpil An NPM package would be perfect!

edit: ping me when it is published and I'll update the website

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.

3 participants