daaain / daaain/Handlebars

Use of handlebars with re-indent?

Open
#57 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
303
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Hello,

This is more of a newbie question than an issue, but I wonder if it is possible to have the handlebars syntax follow/work with the reindentation feature of sublime? When I use this feature (I get a frustrating amount of improperly indented code to work with, with several handlebars if/else statements), anything within the handlebars conditional isn't indented one tab.

Not an issue, just a low priority request.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's Handlebars syntax support and how Sublime Text handles reindentation for conditional blocks. Done means content inside Handlebars if/else conditionals is indented by one tab when the editor's reindent feature is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars, javascript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.