-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Indented syntax improvements] Dart implementation #2467
Merged
Merged
Changes from 66 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
2c4a054
Support optional semicolons at the end of indented lines
jamesnw 94f8c11
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 4d0e43c
Add comment, update error message
jamesnw dc12326
Handle each
jamesnw 332ca09
Allow whitespace in @for, handle initial whitespace for at-rules indi…
jamesnw 3715ee4
@content, @extend newlines
jamesnw 8594fe5
@input newlines
jamesnw 512304b
Whitespace for @mixin, @include
jamesnw c09e506
Whitespace in @media, @-moz-document, @supports
jamesnw 1fa6ccf
Whitespace in @use and @forward
jamesnw 9e49c3b
Whitespace in @function and @return
jamesnw 939d2fa
Whitespace in @if
jamesnw d050c01
Whitespace in @while
jamesnw e8cf0fb
Whitespace in @at-root
jamesnw b6c801a
Merge branch 'main' into indented-syntax-improvements
jamesnw 0aaa63a
Whitespace in arguments and @charset
jamesnw cfa30ee
+ and = syntax whitespace
jamesnw e6442d4
Whitespace in variable declarations
jamesnw 0d81850
Move initial whitespace inside each at rule
jamesnw 2a3c160
Whitespace in lists and maps
jamesnw 65ec459
Handle whitespace in important and unaries
jamesnw 7de5da3
Whitespace in interpolation, unblock expressionUntilComma issues
jamesnw 85d14a9
Consume whitespace in sub-stylesheet parsers
jamesnw dac97ed
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 61304e6
Consume whitespace in parse/css. Meaningless, as it extends scss
jamesnw d7ee188
Whitespace in @supports
jamesnw 976e38a
Whitespace in @media
jamesnw a7f439c
Handle whitespace in arg invocations
jamesnw 14dbd8d
Whitespace in parsers
jamesnw c552cdd
Allow newlines in comments
jamesnw adc94db
Newlines in selector parse
jamesnw 114cfa6
Require whitespace argument
jamesnw 7e58b2d
Allow whitespace inside url parens
jamesnw 78bd20f
Cleanup
jamesnw afdd5ec
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 13c42b2
Handle newlines in parentheses in supports conditions
jamesnw 61b4137
Allow newlines in brackets and parens in selectors
jamesnw 0843edd
Documentation, review
jamesnw 5e880e3
More docs
jamesnw 1ec13e5
Rename consumeNewlines to allowNewlines
jamesnw 5e3db80
Fix bug in semicolons in sass
jamesnw 08747a9
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 38e05bf
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw ba62f15
Use local whitespace functions where value is irrelevant
jamesnw 38ea36b
Apply code suggestions to sass.dart
jamesnw 6d69938
Allow whitespace after debug, error, warn
jamesnw b99d3ac
Revise whitespace in if, function and supports conditions
jamesnw 8ad5805
Don't break inside brackets in declarations
jamesnw ce9522b
Whitespace in destructuring each
jamesnw f0f8c7a
Disallow whitespace after @charset, document _expression arg
jamesnw 233d774
Add changelog
jamesnw aad4b5c
Errors on unmatched brackets
jamesnw cf711de
Allow whitespace after comma in memberlist
jamesnw f093d6a
Support whitespace and comments after semicolon
jamesnw efb0d4d
Exclude semicolons and comments from spans
jamesnw 66838ca
Docs
jamesnw 1ff011a
allowNewlines > consumeNewlines
jamesnw 99311ad
Update pubspec to pass tests
jamesnw 4000989
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 29f76df
Revisions
jamesnw 43ee929
Consume newlines in expressionUntilComma in parentheses and maps
jamesnw ea8b098
Update comments
jamesnw 3a50b08
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw 523e38b
Style changes
nex3 305cc05
Merge branch 'main' of https://github.com/sass/dart-sass into indente…
jamesnw e1df2ad
expressionUntilComma always consumes whitespace
jamesnw 7c6d741
Fix changelog
jamesnw c7cbc29
Merge branch 'main' into indented-syntax-improvements
nex3 d6fd656
Make this a full release
nex3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of this header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nex3 I removed that. I also removed an extra period at the end of the next point that I noticed. (see 7c6d741)