This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
implement AddImport #1656
Merged
Merged
implement AddImport #1656
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3193a93
first draft of add import on python.
heejaechang 4fa2440
filter out unnecessary imports
heejaechang 8d5c968
removed unused usings
heejaechang 9989184
more refactoring
heejaechang c90dfc0
addressed PR feedbacks
heejaechang 2868a1a
added initial tests
heejaechang 46dd915
Merge branch 'master' of https://github.com/microsoft/python-language…
heejaechang 615f905
adding more tests
heejaechang 7d0325c
rename
heejaechang f409d47
simplify test a bit more
heejaechang 7915241
added more tests
heejaechang 3881d24
changed codeaction source to use diagnostic service which should have…
heejaechang f94461a
removed unused usings
heejaechang 3d18131
add ability to index library to IndexManager
heejaechang 8af626e
trying GetAnalysisAsync
heejaechang 5e0c5bf
add closed module support for add imports.
heejaechang 8e73bbb
removed assert that keep crashing debug bit LS
heejaechang 282ffc0
add closed module test.
heejaechang 062596f
fixed merge conflicts
heejaechang 18735af
use explicit type rather than tuple since it has many members
heejaechang 7b681c1
add readonly
heejaechang 6823f7e
use existing formatUI to format localizable string
heejaechang 50055f5
disabled locally imported code action for now
heejaechang 87e8eef
fixed a bug where it didn't handle circular import properly, and adde…
heejaechang c1a8eec
handle circular imports better. some refactorings and etc.
heejaechang bc854e1
tweaked code action ordering a bit
heejaechang f5d3b25
fix push/pop mismatch due to class decl being duplicated issue
heejaechang 6aa8c94
added test for symbol ordering
heejaechang ade67a4
added abbreviation for well known module
heejaechang 79fa68f
added some comments
heejaechang df49da7
added context based filtering
heejaechang 14ae66c
clean up
heejaechang bf14ff6
make sure we don't suggest imports that can be used in import statement
heejaechang 6535f2c
added support for quick fix in hover
heejaechang 26c1dba
added one more test and fixed one bug
heejaechang 3e7a014
addressed easy feedback first
heejaechang 883dfd4
made add import not to load modules implicitly and only use modules a…
heejaechang f964c4a
added more abbreviation supports
heejaechang 52a2e5a
removed unnecessary time out
heejaechang c0abc41
support reverse abbreviation case where user types "np" and we sugges…
heejaechang a5da0d3
made abbreviation to check existing symbol names to use unique name f…
heejaechang e71c803
change order of where we show special one (abbreviation one).
heejaechang 4a44e76
add unit test for new ordering
heejaechang 4710421
Merge branch 'master' of https://github.com/microsoft/python-language…
heejaechang 4fdbba7
addressed PR feedbacks
heejaechang 4ce017a
more refactoring
heejaechang 719db2a
fixed merge conflicts
heejaechang 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
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.