forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow execute on enter and Intellisense for native REPL with notebook UI #23442
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
33 commits
Select commit
Hold shift + click to select a range
5f279f1
start adding command
anthonykim1 7992d4b
allow execute on enter and execute on blank space with hard coded bool
anthonykim1 31f7db4
remove unintended enum to experiment
anthonykim1 4523502
change to TODO
anthonykim1 6defed9
compile() arg 1 must be a string, bytes or AST object
anthonykim1 ac7cc8c
WORKING --PROPERLY CHECKING IF SOMETHING IS VALID AND COMPLETE
anthonykim1 6389fdb
Try to handle interrupt on windows
anthonykim1 e3b974c
hide execute on enter from command palette
anthonykim1 3039670
add execInREPLEnter to package.nls.json
anthonykim1 e6034b7
temp save interactive.open and multi-line
anthonykim1 ab490dd
temp save --> sending to IW, intellisense pt2
anthonykim1 e25ec45
refactoring, adding disposables
anthonykim1 58b7772
cleanup
anthonykim1 931f3bf
remove handling Windows interrupt for now
anthonykim1 f1dd8a0
more cleanup
anthonykim1 55cad61
rename variable
anthonykim1 0593349
shift enter sends to REPL or Terminal depending on setting
anthonykim1 dbf48e6
hide context menu depending on setting
anthonykim1 cfed9d7
fixing test
anthonykim1 76d6164
fix more test
anthonykim1 c0bc3b8
remove execInREPLEnter from package.json and nls.json
anthonykim1 f512670
Update package.nls.json
anthonykim1 1b2c451
match setting python.sendToNativeREPL.description
anthonykim1 d369f11
Update package.nls.json
anthonykim1 8b27c2f
Update src/client/repl/pythonServer.ts
anthonykim1 a745cb1
switch checkValidCommand to return boolean
anthonykim1 393d2fd
Update src/client/repl/replCommands.ts
anthonykim1 0cffa5a
Stop using var!
anthonykim1 a6036cd
delete stale experiment, properly get setting
anthonykim1 57b2bdd
refactor registerReplCommands
anthonykim1 0788e99
clean up more
anthonykim1 910783b
allow users with shift+enter functional
anthonykim1 e270705
properly add to disposables
anthonykim1 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
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.
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.
This does not have the experimental tag?
Uh oh!
There was an error while loading. Please reload this page.
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.
Right, this is the settings which the value is ultimately overridden by the experiment value "pythonRunREPL".
Initially thought everything was just going to be experiment, but got convoluted with going the settings based experiment route
Following:
I think I would need to replace of existing "pythonRunREPL" from just experiment to settings (basically replace the setting tag from
sendToNativeREPL
topythonRunREPL
). Would that allow us to leave the control tower as is? @cwebster-99Uh oh!
There was an error while loading. Please reload this page.
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.
I think it would be the fully require name
python.REPL.sendToNativeREPL
.