-
-
Notifications
You must be signed in to change notification settings - Fork 394
Feat: Folding Ranges #3058
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
Merged
Merged
Feat: Folding Ranges #3058
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
098882d
save some progress: add basic starter code for folding ranges
sloorush 2e44b7a
save some progress: add function to traverse through coderange and fo…
sloorush fec1824
save some progress: add parsing of folding ranges
sloorush f9ffcc1
fix: maybe issue with foldingRanges
sloorush 1d28a2c
add: generate folding ranges from coderange
sloorush 60b2136
add: plugin request method instance for folding ranges
sloorush 02a1e9d
ref: alter function and var names
sloorush a032c78
post review: cleanup crk to frk & fix typo
sloorush 892a129
fix: find folding ranges function
sloorush e6a2b5c
format: run formatter and add comments
sloorush e21f5cb
fix: return all response results of folding range request
sloorush 799db9b
Revert "format: run formatter and add comments"
sloorush 5d0d159
add: removed comments after revert
sloorush 332e953
fix: formatting
sloorush c4f386d
docs: add folding range to features section and cabal file
sloorush 8eb7a30
refactor: use destructuring for createFoldingRange function and use c…
sloorush 60e3fb2
test: add basic unit test for findFoldingRanges function
sloorush e3f0007
test: add tests for children and code kind
sloorush 474ffef
test: add more test cases
sloorush 6975302
test: add test for createFoldingRange
sloorush a430a43
test: add integration test for folding ranges
sloorush baf419e
fix: duplicate start line foldingranges and remove single line
sloorush d6a8666
Merge branch 'master' of github.com:sloorush/haskell-language-server …
sloorush e9dc569
refactor: duplicate folding range functionality
sloorush c46a7f4
fix: formatting in code range plugin
sloorush 959a53b
added more descriptive comments and encorporate code review suggestions
sloorush e8ee9f9
revert: automatic formatting for selection range test case file
sloorush 44c5819
fix: ignoring children if root fails to provide folding ranges
sloorush 9181b04
remove: redundant match on crkToFrk
sloorush 86f1068
revert: filtering same line foldings and multiple foldings on the sam…
sloorush c3f1c4a
Merge branch 'haskell:master' into folding-ranges
sloorush 57cb482
revert: formatting change to selection range test file
sloorush ccd9fa5
fix: entire file folding because of root node
sloorush c023548
Merge branch 'master' into folding-ranges
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.