bodil / bodil/vscode-prettier-toml
Define custom ruleset
- 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