-
Notifications
You must be signed in to change notification settings - Fork 293
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
Test Kernel Code Completions #14788
Comments
@DonJayamanne - does this mean |
I seem to get auto complete working briefly but somehow after a few window reloads, I don't have them anymore, it only shows word based suggestions. |
I was seeing something similar, but very inconsistently - and they usually come back within a minute or so or after executing something else. |
kernel must be started to get completions
Oops, please install bash kernel from here |
yes, this is after running a cell. It sometimes still takes a minute before kernel completions show up. |
@DonJayamanne I do ensure that I rerun cells each time but I don't have luck. |
What do you mean by ‘>’ |
The documentation icon. However I know why it was not working. After a couple rebuild or reload of the dev container, the Jupyter extension was stable release but not prerelease ;( It works as expected. A short summary of my testing after verifying the issues I reported against with prerelease:
|
I can't find the option to select a bash kernel (in a codespace that has bash). I know @amunger mentioned a Jupyter Kernels section but I don't see one in the kernel picker. I am on the latest Jupyter prerelease |
You need to install the kernel, and might have to re-load VS Code to see the kernels show up again. |
I did install the kernel and reload the window |
@joyceerhl Please can you share the logs, perhaps just file a new issue |
Filed, but I also cannot get to my Julia or R kernels in a standard Docker devcontainer (no codespace). I have the following features in my devcontainer.json {
"features": {
"ghcr.io/devcontainers/features/desktop-lite:1": {},
"ghcr.io/julialang/devcontainer-features/julia:1": {},
"ghcr.io/rocker-org/devcontainer-features/r-apt:latest": {}
}
} |
Weird, it worked for me, thats the one i used. |
Refs: #14672
Complexity: 5
Create Issue
Pre-Requisites
Julia Kernel Set
Option 1: Download Julia from here https://julialang.org/downloads/
julia
Option 2: Create a dev container json with the following contents (file name
.devcontainer/devcontainer.json
)Reopen in container
julia
R Kernel Setup
Anaconda
see https://datatofish.com/r-jupyter-notebook/Steps
KernelCompletions
KernelCompletions
Python
df.
A, B, C, D
>
icon against the wordhelloWorld
in the completion item and verify you get documetnation for thatdf.A
is displayed and formattedBasically there should be some headers and code should be syntax highlighted
Instructions Julia
helloWorld = 1234
hello
and then force completions for the remainder of the text usingctrl+space
helloWorld
>
icon against the wordhelloWorld
in the completion item and verify you get documetnation for thatab
in another cell and then verify you get completion forabs
abs
is displayed and formattedBasically there should be some headers and code should be syntax highlighted
prin
in another cell and then verify you get completion forprint
print
is displayed and formattedBasically there should be some headers and code should be syntax highlighted
Instructions for R
* Install the Bash shell using the code `python -m pip install bash` * Refresh list of Jupyter kernels in the kernel picker and select `Bash` * Run a cell with the code `var_global <-1` * In the next cell type in `var` and then force completions for the remainder of the text using `ctrl+space` * [ ] Verify you get the completion for `var_global` * [ ] Click on the `>` icon against the word `var_global` in the completion item and verify you get documetnation for that * [ ] Type the text `libr` in another cell and then verify you get completion for `library` (or prett ctrl+space) * [ ] Verify the documetation for `abs` is displayed and formatted Basically there should be some headers and code should be syntax highlightedInstructions for Bash
displayHTML $
$display_id
The text was updated successfully, but these errors were encountered: