-
-
Notifications
You must be signed in to change notification settings - Fork 391
ghcide: Implements a CodeAction to disambiguate ambiguous symbols #1264
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
Changes from 43 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
b35aa37
wip
konn cbcb0f0
Draft completed
konn a068257
Removes Unuseds
konn e506ddf
Redundant extension
konn a995c5e
linting
konn 169db8f
Makes HLint happy
konn 4e92ee9
tweak for transfer annotation logic (not working)
konn 72477dd
Initial implementation done
konn 65724fa
Import list reorder
konn 4ed8abc
Remove redundant fmt
konn 80aafa7
Merge branch 'master' into hide-import
konn 197a8a3
Merge branch 'master' into hide-import
konn d99f84c
Merge branch 'master' into hide-import
konn 30f2f16
lint
konn 9e656c5
Missing import
konn 3e68f24
Merge branch 'master' into hide-import
konn d19b4fb
Excludes false-positive qualified imports
konn eb3cd11
A first test (not enough though)
konn 0239aa0
fmt.sh
konn a6ddab2
Some more test cases
konn 4816c84
More test cases
konn 3b6c048
Ah! CRLF have bitten me!
konn ed73a63
Merge branch 'master' into hide-import
konn dff4d03
Tentative workaround for #1274
konn 0696e5a
Wait much to ensure rewrite suggestion to be collected
konn c2907dd
Tests for type suggestion
konn 41d6c75
Slightly more wait
konn 223808b
A little smarter waiting strartegy for actions
konn abbebf5
Merge branch 'master' into hide-import
konn 0721ef9
Import list slim up
konn 7487446
Adjusted to the master
konn b5b7f03
Update ghcide/src/Development/IDE/Plugin/CodeAction.hs
konn d4075dc
Rewrote using `expectDiagnostics`
konn 130afec
Case for Prelude.++
konn a3486ac
Corrects test name
konn c252aca
Renames `rawIEWrapName` to `unqualIEWrapName`, and moved to the appro…
konn f6594fd
Rewrote qualifying strategy with `Rewrite`
konn e694694
Use exactprint also for hideImplicitPreludeSymbol
konn 0550b6f
Unify exact actions and `suggestImportDisambiguation`
konn bf99f31
Moves a comment to the right place
konn 1a736ad
Merge branch 'master' into hide-import
konn d96d612
Won't panic on errornous input, let HLS keep going
konn 10cc815
No, each errornous rewrite must not be dropped seprately, but discard…
konn 82345d1
Update ghcide/src/Development/IDE/Spans/Common.hs
konn 191df1b
ieNames
konn 3b2b4e8
Makes Splice plugin compiles
konn ced501f
Merge branch 'master' into hide-import
konn d75b51e
Stop using nfp
konn 13b9f2c
Since there is global `setEntryDPT dp00`, we don't add offset here
konn 54f5a49
Merge branch 'master' into hide-import
konn 4aae21a
Removes redundant (why warned here?)
konn a45667b
Made `hideImplicitPreludeSymbol` total
konn 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
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.