basalt-rs / basalt-rs/basalt

Handle language templates

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Competitor UI enhancement
Dominant language
TypeScript
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

If a question has a template, use it instead of the blank editor when opening a new question.

It would be super cool if we found a way to use Ace's snippet format for expanding these for the best support. In lieu of that, be sure to make `$1` be removed and have the cursor placed there.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the new-question flow and how language templates and the Ace editor are initialized. Verify that a template replaces the blank editor, that `$1` is removed, and that the cursor is placed at its position; Ace snippet-format support is an optional direction mentioned by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.