bodil / bodil/vscode-prettier-toml

Define custom ruleset

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I like this plugin but it would be cool if you could define some rules.
Currently it's formatting toml files like this:

[database]

[database.options]
type = "mongodb"

[database.con]
server = "localhost"
port = 1337

It would be cool if you have a setting to format it like this:

[database]

[database.options]
type = "mongodb"

[database.con]
server = "localhost"
port = 1337

So it uses tabs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TypeScript formatter entry point and any existing configuration or formatting tests. Use the TOML examples as the expected behavior: a setting should allow nested tables and their contents to use the requested tab indentation, with tests covering the shown output.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.