quarto-dev/quarto-vscode

VScode: Quarto Installation Not Found

VitorBSP opened this issue · 3 comments

I trying a lot of things to use Quarto in VSCode, but none worked, Quarto still not working in VScode, but works very well in RStudio.

The problem:
image
But extension is installed:
image
And Quarto too:
image

Some things I've tested/tried:
image
None of that worked in VSCode terminal, but in linusxbash:
image
And works in RStudio terminal too:
image
And rendering works with quarto preview apresentacao.qmd
image

my configs

R version: 4.2.1

os: Pop!_OS 22.04 LTS

system: x86_64, linux-gnu

rstudio: 2022.02.3+492 Prairie Trillium (desktop)

pandoc: 2.17.1.1 @ /usr/lib/rstudio/bin/quarto/bin/ (via rmarkdown)

vscode: 1.68.1

Am I doing something wrong?

Either Quarto isn't on the PATH within VS Code or there is some problem running Quarto from VS Code. From a terminal in VS Code what happens if you execute which quarto ?

The VS Code extension also has a setting for providing an explicit path to Quarto so you might give that a try as well.

Either Quarto isn't on the PATH within VS Code or there is some problem running Quarto from VS Code. From a terminal in VS Code what happens if you execute which quarto ?

The VS Code extension also has a setting for providing an explicit path to Quarto so you might give that a try as well.

Gives a huge path, but no find quarto:
which: no quarto in (/home/vitorpereira/anaconda3/bin:/home/vitorpereira/anaconda3/condabin:/app/bin:/app/bin:/app/bin:/usr/bin:/home/vitorpereira/.var/app/com.visualstudio.code/data/node_modules/bin)

what should I do?

You need to arrange for Quarto to be on your system PATH when running VS Code (you should consult the appropriate documentation on how to do this)