cabal-fmt
cabal-fmt copied to clipboard
An experiment of formatting .cabal files
Updates base restrictions so cabal-fmt can build with GHC 9.8.1.
The suggested way to integrate `cabal-fmt` and *emacs* is currently not working. I suggest the easiest solution is to use [format-all-the-code](https://github.com/lassik/emacs-format-all-the-code), so maybe mention that in the `README.md` instead of...
This PR refactors `cabal-fmt` to expose the main function from the `cabal-fmt` library. Changes: - Fix #77 - Move source for `cabal-fmt-internal` to `src-internal` - Create new library `cabal-fmt` with...
The suggested way to integrate `cabal-fmt` and **emacs** is currently not working. This PR proposes a (currently working) alternative, which is to use `cabal-fmt` via [format-all-the-code](https://github.com/lassik/emacs-format-all-the-code), which is a general...
Picking up #37 as a fix for #34, I've removed the sorting and added options to control this, leaving the default as-is. ``` $ cabal run cabal-fmt -- --help Build...
We should consider making this prettier and whatnot but this is the main thing I had in mind e.g. https://github.com/justinwoo/cabal-fmt/releases/tag/test
Hi, i am mainly using cabal-fmt for its capabilities to add newly created modules to exposed-modules. However, it does not work so well when I am moving modules around. cabal-fmt...
Currently, `ghc-options` are listed as a wrapped text blob. For example, take this excerpt: ```cabal common lang build-depends: base >=4.12 &&
when invoking cabal-fmt from a text editor I want to send the buffer content (not saved to disk) to the fomatter and I want `expand src` to take effect I...
If the cabal file has a line such as: ``` hs-source-dirs: src ``` but the `src` directory does not exist, then `cabal-fmt` gives the error message: cabal-fmt: ./src: getDirectoryContents:openDirStream: does...