User snippets in interactive window input
See original GitHub issueHope I didn’t overlook any duplicates.
Would be cool if the interactive window input suggested user snippet completions.
{
"import numpy": {
"prefix": "inp",
"body": [
"import numpy as np"
],
"description": "import numpy"
}
}
Expected Behavior
Typing inp
, I’d expect the first suggestion to be import numpy
. In a Python file it is. In the IW input, I get other stuff.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Snippets in Visual Studio Code
Snippets in Visual Studio Code. Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements....
Read more >Python interactive window (REPL) - Visual Studio
The Interactive window executes each line as you enter it, which includes options such as importing modules, defining variables.
Read more >Visual Studio Code Snippets – the Definitive VS Code Snippet ...
To create the snippets file, run the 'Preferences: Configure User Snippets' command, which opens a quickpick dialog as below. Your selection ...
Read more >How do I find/excute Python Interactive Mode in Visual Studio ...
When editing Python code, select something and press Shift + Enter . This will open the interactive window and run your selection as...
Read more >Custom polymorphic code snippets in VS Code
File > Preferences > User Snippets (Windows) ... a ton of typing but we can do even more with VS Code snippets by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is resolved in the preview interactive window, which features improved VS Code workbench integration and is currently the default in VS Code Insiders. Please let us know if it works for you and give us any feedback you have about the new experience 😊 If you find any bugs or have concerns, please file a new issue at https://github.com/microsoft/vscode-jupyter/issues so we can fix it. Thank you!
Unfortunately, no