forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add code gathering for single cell #6803
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 all commits
Commits
Show all changes
127 commits
Select commit
Hold shift + click to select a range
2b7580a
Set up UI button
joyceerhl 3b78f6f
Add gather files
joyceerhl 0245d13
Fix typo
joyceerhl 9fa557c
Add GatherExecution to JupyterServer
joyceerhl ba0924e
Set up sending messages from MainPanel to InteractiveWindow
joyceerhl 8f57458
Delete unnecessary files
joyceerhl 14b806b
Add missing types to @phosphor/coreutils .d.ts file
joyceerhl b7896c8
Fix compilation errors
joyceerhl 8f0a75a
Merge branch 'master' into t-huer/gather2
joyceerhl a4751d1
Implement INotebookExecutionLogger interface
joyceerhl a34304c
Cast vscodeLanguageClient.CompletionItem to any to fix build err
joyceerhl 31778fd
Await on method calls for gatherExecution
joyceerhl 7a8c39b
Add GatherExecution to ServiceRegistry
joyceerhl ecdb52b
Add jison and parser build script
joyceerhl ab55fd0
Temporarily disable tsc checks
joyceerhl af21426
Define IGatherExecution after INotebookExecutionLogger
joyceerhl 7ea8067
Regen package-lock
joyceerhl b2a2bbb
Add gather svg
joyceerhl 636d592
Add missing type to @phosphor/coreutils .d.ts file
joyceerhl 36b1e0d
Delete gather tests for now
joyceerhl 04da72a
Resolve merge conflicts, regen package-lock.json
joyceerhl 10d3c83
Add @jupyterlab dependencies
joyceerhl ff24947
Correctly implement INotebookExecutionLogger
joyceerhl 0e8c197
Remove wip gulp task
joyceerhl df04c20
Copy parser to out as part of gulp compile task
joyceerhl f7306ab
Remove unnecessary signal emission
joyceerhl 4d63d68
Remove deepCopy() call since convertVscToGatherCell does the same
joyceerhl db42a41
Restore tsconfig settings
joyceerhl 9b2b674
Move perf timing back into executeObservable
joyceerhl 64d994d
Rm unused import
joyceerhl cc78b49
Resolve merge conflicts
joyceerhl 926bf56
Rm unused import
joyceerhl 5fc80a4
Make sure we get the same instance of GatherExecution
joyceerhl 1be55a2
Works!
joyceerhl fbd9795
Fix bug in lexer
joyceerhl 5b90d8f
Merge branch 'master' into t-huer/gather2
joyceerhl 2b96d9e
Use traceInfo and traceError instead of this.logger
joyceerhl dccda38
Exclude functions which don't modify their args
joyceerhl 4b41d98
Do not render gather button on edit cell
joyceerhl f1e1273
Resolve merge conflicts
joyceerhl f3a365c
Add newline after each slice for readability
joyceerhl 9c7553c
Remove console.log calls
joyceerhl 2efdd3d
Ignore df.tail
joyceerhl 25dbd08
Only render gather code button for code cells with outputs
joyceerhl 348ecff
Add unit tests
joyceerhl 785fd41
Rename to *.unit.test.ts
joyceerhl afc0d43
Move cell marker stripping back
joyceerhl 9b489bc
Render gather button on all code cells
joyceerhl cec5f4a
Add jsdoc comments to GatherExecution
joyceerhl 7858172
Move cell marker stripping back
joyceerhl 89236d9
Parser TypeErrors on empty string
joyceerhl 443d130
Merge branch 'viewhist' into t-huer/gather2
joyceerhl 612431e
Open gathered code over origin file, another visible editor, or besid…
joyceerhl 4634655
Merge branch 'master' into t-huer/gather2
joyceerhl daf3901
Update build script since settingregistry.d.ts for @jupyterlab/coreut…
joyceerhl 8a3426a
Merge branch 'master' into t-huer/gather2
joyceerhl b43c64c
Add traceInfo, rename executionLogger, add comment at top of gathered…
joyceerhl 99b36ae
Don't set the language of the gathered script as intellisense + codel…
joyceerhl 46283e5
Merge branch 'master' into t-huer/gather2
joyceerhl 6b8b1d8
Bug fix, ensure that IPython get_ipython is imported
joyceerhl 5a84e69
Fix bug where gathered code was opening on top of interactive window …
joyceerhl 2db11a0
Merge branch 'master' into t-huer/gather2
joyceerhl 4a171b2
Follow what's done in interactiveWindowCommandListener.viewDocument
joyceerhl b9be267
Merge branch 'master' into t-huer/gather2
joyceerhl 154d8cd
Merge branch 'master' into t-huer/gather2
joyceerhl 33fcafa
Remove verbose logging
joyceerhl 7e560e3
Merge master
joyceerhl b227693
Merge t-huer/gather2
joyceerhl 62077b8
Add function test
joyceerhl 18cf37d
Minor linter fix
joyceerhl 50f9934
Get functional test passing
joyceerhl 7892437
Fix failing tests
joyceerhl 3d14cd1
Wrap gatherCode function with public facing implementation
joyceerhl 26e90ab
Add test for gather code button
joyceerhl d5a8bfb
Merge master
joyceerhl 3a9a8e3
Fix variable naming
joyceerhl 5f6df39
Add functional test for code added from an editor
joyceerhl 0fac350
Copy parser when compiling
joyceerhl b4e3f1e
Add updated Gather parser
joyceerhl 8540fc8
Merge branch 'master' into t-huer/gather2
joyceerhl e12004d
Allow users to edit default slicing rules via settings.json
joyceerhl 76f4a87
Update test to pass in configService to gatherExecution
joyceerhl ed0af1f
Merge master
joyceerhl e5cfabd
Fix naming convention
joyceerhl 9d49fe4
Ensure that GatherExecution.DataflowAnalyzer.sliceConfiguration is up…
joyceerhl 68018fc
Technically it's a unit test
joyceerhl de91ddb
Add script to build python parser from jison
joyceerhl 2896013
Don't parse code cells whose contents are just comments. Otherwise Ty…
joyceerhl fb1500e
Minor edits
joyceerhl 6e1b8c8
Enable flatMap
joyceerhl 5f56f9c
Find uses in classes
joyceerhl 6300369
Use the new MSR python-program-analysis npm package
joyceerhl 9cdad18
Remove scripts for parser since we're using the npm package now
joyceerhl 8af6bdc
Don't need flatMap
joyceerhl d010d63
Merge branch 'master' into t-huer/gather2
joyceerhl 109c538
Bump @msrvida/python-program-analysis, remove unneeded dependencies
joyceerhl afc8687
Update package-lock
joyceerhl 5dfa07b
Postinstall script needs to look elsewhere for the settingregistry file
joyceerhl 5dab648
Use npm package for slicing functionality too
joyceerhl a771328
Fix build errors
joyceerhl c2cb7de
Minor change
joyceerhl b5b8950
Restore strict mode
joyceerhl 1175718
Remove unneeded code
joyceerhl 23feae3
Bump @msrvida/python-program/analysis version
joyceerhl 2be486c
Merge branch 'master' into t-huer/gather
joyceerhl ca9a943
Merge master
joyceerhl ef267c0
Update to use Rich's new MockDocument constructor signature
joyceerhl ef877eb
Put gather single cell behind a feature flag
joyceerhl ad1e699
Merge master
joyceerhl 3266677
Update datascience dependencies
joyceerhl a30bf51
Remove extra comma
joyceerhl 69f79fc
Use traceError instead of console.error
joyceerhl e09790f
Move listening for gather feature flag change into GatherExecution
joyceerhl c898ad5
Fix breaking unit tests
joyceerhl 292e947
Handle GatherCode message in a listener
joyceerhl 041e3c1
Add reload button
joyceerhl 8023324
Add news entry
joyceerhl f201c48
Merge master
joyceerhl 3735488
Probably shouldn't have changed that, although this does fail code hy…
joyceerhl 5143d2c
Add missing dependency that VSIX wants
joyceerhl c3ee42b
Oops, take that dependency back out
joyceerhl 2933af0
Add to react helpers
joyceerhl 3ba2951
Add more missing dom4 stuff
joyceerhl 7766c36
Code hygiene
joyceerhl 8eb0d91
Fix failing functional test
joyceerhl f9a4c83
Force version to be 0.1.0
joyceerhl 33d329b
Use issue number
joyceerhl 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add code gathering tools |
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.