Comments (3)
Hi Steffen,
Thank you for lightening-fast feedbacks :-).
The 4-space indentation is default (see https://github.com/dungpa/fantomas/blob/master/src/Fantomas/FormatConfig.fs#L22).
Indeed all unit tests are using this default option.
In test examples, I use --indent 2
to demonstrate different spacing.
from fantomas.
Oh cool. I was only looking at the first couple of use cases from the readme. Maybe you should change them to 4 spaces.
Thanks.
from fantomas.
I updated README as per your suggestion. Let me know if you have more comments.
from fantomas.
Related Issues (20)
- Idempotency problem when reformatting type declaration with large when clause HOT 13
- [Feature request] Smarter ignore folder check HOT 3
- Setter is also private HOT 1
- Private keyword is lost from getter with unit
- Inline keyword is missing in property
- Xml doc on properties is missing HOT 1
- [max_line_length] does not work HOT 3
- `fsharp_max_function_binding_width` docs sample is just a copy of `fsharp_max_value_binding_width` HOT 4
- Additional newline for interface in object expression
- Shifted Quote HOT 1
- left out lhs in SynMeasure.Divide should not be restored as SynMeasure.One
- Block comments in measure are lost or restored twice and in wrong place HOT 1
- block comment in Rational between lparen and numerator is moved before lparen
- block comment in Rational between numerator and / is lost
- block comment in Rational between / and denominator is moved before /
- block comment in Rational between denominator and rparen is moved behind rparen
- block comment between measure1 and / is moved between / and measure2 in SynMeasure.Divide
- block comment between measure1 and * is moved between * and measure2 in SynMeasure.Product
- block comment between ^ and exponent in SynMeasure.Power is lost
- block comment between ^- and exponent in SynMeasure.Power is lost HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fantomas.