summaryrefslogtreecommitdiff
path: root/lib/elixir/lib/code/formatter.ex
Commit message (Expand)AuthorAgeFilesLines
* Properly take "do" into account on line breaks, closes #7052José Valim2017-11-211-21/+25
* Only consider a document doesn't fit if it has breaksJosé Valim2017-11-071-2/+2
* Group operands but not the operatorJosé Valim2017-11-071-12/+15
* Consider comments inside function callsJosé Valim2017-11-071-101/+121
* Pass the proper precedence to binary operator handling, closes #7005José Valim2017-11-071-3/+3
* Adds Kernel.defguard/1 macro to build guard-safe macrosChris Keele2017-11-061-0/+2
* Restrict next break fits and eols on operators and function callsJosé Valim2017-10-271-12/+14
* Fix formatting of multiline "foo.{...}" calls (#6979)Andrea Leopardi2017-10-261-0/+4
* Respect the user's choice on callsJosé Valim2017-10-261-16/+16
* Treat => and : as operators in the formatterJosé Valim2017-10-261-33/+28
* Consistently add spaces after notJosé Valim2017-10-251-3/+3
* Support next break fits inside tuplesJosé Valim2017-10-251-23/+38
* Run the formatter in the formatter and remove code duplicationJosé Valim2017-10-241-6/+10
* Recognize hashbangs in the formatterJosé Valim2017-10-241-0/+5
* Format @spec with map literal with multi keysPedro Medeiros2017-10-191-1/+8
* Ensure left side of | in maps has parens when necessaryJosé Valim2017-10-191-12/+24
* Simplify rules for & with binary operatorsJosé Valim2017-10-161-9/+2
* Keep integer/float underscores in the formatter, closes #6931José Valim2017-10-161-9/+14
* Make sure to not break guards on clauses with commentsJosé Valim2017-10-111-10/+13
* Allow quote without parensJosé Valim2017-10-111-2/+4
* Format more files with little formatting requirementJosé Valim2017-10-111-0/+1
* Format more pending files and ensure proper clause args breakJosé Valim2017-10-111-2/+3
* Improve formatting on more filesJosé Valim2017-10-111-0/+3
* Respect multiline decision regarding keyword listsJosé Valim2017-10-111-9/+36
* Group left and right side of operatorsJosé Valim2017-10-101-3/+3
* Format all files that have less than 10 entries in myers differenceJosé Valim2017-10-101-0/+2
* Nest function heads on cursorJosé Valim2017-10-101-2/+1
* Do not introduce trailing whitespace on heredocsJosé Valim2017-10-101-22/+46
* Format the formatterJosé Valim2017-10-101-10/+10
* Consistently format operators in captureJosé Valim2017-10-101-10/+2
* Ensure maps/structs with updates convergeJosé Valim2017-10-101-1/+1
* Always wrap binary operators in groupsJosé Valim2017-10-101-3/+3
* Do not apply next_break_fits if eol is presentJosé Valim2017-10-091-1/+3
* Keep the user's choice on non-module remote calls with no argsJosé Valim2017-10-091-4/+7
* Format bitstring generators in comprehensionsJosé Valim2017-10-091-0/+10
* Do not apply special keyword syntax if there are generatorsJosé Valim2017-10-091-5/+5
* When when and | also respect new linesJosé Valim2017-10-091-8/+9
* Do not skip parens for right associative operatorsJosé Valim2017-10-091-4/+3
* Only keep locals_without_parens if they never had parens to start withJosé Valim2017-10-091-6/+7
* Add Mix.Config-related calls to locals_without_parens in the formatterAndrea Leopardi2017-10-091-1/+6
* Keep () in no args type funs for clarityJosé Valim2017-10-091-2/+2
* Allow groups to inherit the parent breakJosé Valim2017-10-091-1/+1
* Add do-block special forms to the list of locals_without_parensJosé Valim2017-10-091-0/+4
* Add doctest to the list of locals without parensJosé Valim2017-10-091-0/+2
* Fix arity of defdelegate in the code formatterJosé Valim2017-10-091-1/+1
* Consistently respect user's choice on clausesJosé Valim2017-10-091-4/+8
* Add Kernel.reraise/2,3 to the list of parenless calls in the formatterAndrea Leopardi2017-10-091-0/+2
* Properly track one args in formatter, closes #6645José Valim2017-10-091-28/+42
* More improvements to the formatter grammar, docs, and locals without bindingsJosé Valim2017-10-081-1/+7
* Add mix formatJosé Valim2017-10-081-20/+44