Comments (2)
We don't drop them anymore but they do not come out in the right order either, so let's keep this one.
from ormolu.
Right now comments that are placed on the same line as an import are output correctly. As for others itโs generally impossible to guess which comment refers to which import. This would require perhaps actually understanding what comments talk about.
I donโt see what can possibly be improved here, so closing.
from ormolu.
Related Issues (20)
- Cannot parse module with only conditional CPP block HOT 1
- AST differs on inline lambda case
- package-qualified imports are sorted poorly HOT 4
- Haddock comment in single line export list breaks format
- Ormolu doesn't take Cabal mixins into account HOT 2
- [Question] Odd fixity behavior with <|> HOT 2
- Use .cabal or cabal.project to discover which files to format HOT 4
- (Manage? Match?) .cabal info of file to format, from directory path of project, while using --stdin-input-file, when the name of file is not available. HOT 2
- Make it easier to debug fixity issues HOT 2
- Options for formatting HOT 8
- Cannot format operators starting with a hash when using UnboxedSums or UnboxedTuples HOT 1
- Differing AST on empty {- ^ -} Haddock markup HOT 5
- Interesting comment placements in various scenarios HOT 1
- Idempotency check fails for comment in import list
- Format existential data types better HOT 1
- Overloaded labels (hash) syntax gets formatted with space after hash sign HOT 2
- Support for literate Haskell HOT 3
- Formatting {-# LANGUAGE #-} repeats previous comments like vim modelines HOT 1
- Add `-R, --recursive` option for implying `--mode inplace ` and all `*.hs` file under given directory HOT 2
- Language pragma `JavaScriptFFI` can't be parsed
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 ormolu.