when I use a markdown cell in vscode it returns "No render found for text/plain". What should I do?
I have tried by reinstalling the jupyter extension but nothing
Related
Vs code is not checking any of my files for errors.
The below picture has an error at line: 13, cause I haven't imported the "Data" component.
But VScode is not showing any error.
https://i.stack.imgur.com/OYaIy.png
VScode is just not checking any of my files, for example it lets me save a file like this.
https://i.stack.imgur.com/qNAMz.png
I have ESLint extension installed in VScode.
Please help me with this situation.
From VScode Github
Remove "breadcrumbs.enabled": false line from your VScode settings
I am trying to apply a style/color theme for .qmd files, so that they appear like .rmd files in VS code. I have been able to change the style/color for .qmd files by entering the following code the settings.json file.
"files.associations": {
"*.qmd": "rmd"
},
This does work for updating the theme of the .qmd file to look like R markdown (rmd) files. However, when rendering a PDF I get the following error:
==> rmarkdown::render(),
encoding = 'UTF-8') Error: pandoc version 1.12.3 or higher is required
and was not found (see the help page ?rmarkdown::pandoc_available).
Execution halted
[VSC-R] filename.qmd process exited with exit code 1 [VSC-R]
terminating R process
I believe this is because Quarto can only render a .qmd file, and file.associations changes it to .rmd? Thoughts on solutions? Thanks in advance!
.rmd example
.qmd example
I am trying to add an URL to jump to another file named in Chinese in the notebook markdown cell with the following code:
[测试](./测试.ipynb)
But when I click, an error occurs:
Unable to open %E6%B5%8B%E8%AF%95.ipynb'
Unable to read file 'd:\coding\repos\test\%E6%B568B%E8%AF695.ipynb'(Error: Unable to resolve nonexistent file 'd:\coding\repos\test\%E6%B5%8B%E8%AF%95.ipynb)
There seems no encoding option that can be set for .ipynb file. (I tried to add a setting.json file in .vscode folder to set encoding, but it failed.) And there is no error when using jupyter-lab. So I think this might be a bug of vscode. I opened an issue in vscode. But before that issue is solved, is there any method I can deal with this?
Update Updating to 1.68.1 solves the problem.
I did not get it solved in VS Code until VS Code developers dealt with the issue. And Updating to a later release, 1.68.1 solves the problem.
I uploaded my first Jupyter Notebook to Github here:
https://github.com/Athelian/OkCupid/blob/master/OkC%20Analysis.ipynb
But I cannot figure out how to get syntax highlighting to display in the preview after clicking the link. I've noticed others don't have this issue when they upload .ipynb files.
Is there any way to get it display like a real notebook?
like the title mentioned, how to disable jupyter editor in vscode?
every time,I want to new a file just for text or markdown,I do not like to appear a choice between two, but just default for the inner editor applied by vscode. and how can I configure this.
for right now,I never need to use jupyter notebook.
It seems to be appeared unexpected after vscode update or installed some python package.
This can be disabled by python.dataScience.useNotebookEditor if you are using the Python extension.
Source: https://github.com/microsoft/vscode/issues/103526
Update:
You also need the Jupyter extension along with Python extension for VS Code. The setting key has been renamed from python.dataScience.useNotebookEditor to jupyter.useNotebookEditor^update
With the July/August 2021 introduction of the new Native Notebook Support in VS Code, the answers involving your settings.json are now obsolete. Now the Notebook editor will be used to open .*ipynb files even if you've never installed the Python or Jupyter extensions.
However, you can open a *.ipynb file in the regular text editor by right-clicking on the file in the VS Code File Explorer, doing "Open With", and then selecting the "Text Editor".