quarto-dev / quarto-dev/quarto

Intellisense issues in VSCode

Open
#190 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Bug description

Working on a qmd document with R in VSCode, I frequently get an error message relating to saving the .intellisense.r file. This message pops up often while editing various qmd documents. It does not happen when editing regular R code so I suspect it is an issue with the Quarto extension for VSCode. Clicking the 'overwrite' button dismisses the dialog but it pops up again soon after.

Screenshot 2023-05-31 at 11 56 41
Steps to reproduce

Edit a qmd document containing R code blocks in VSCode with Quarto extension installed. At random times, the error message will pop up.

Expected behavior

Shouldn't see this error message.

Actual behavior

Get an error message from VS Code.

Your environment
  • IDE: VSCode 1.78.2
  • OS: MacOS 13.3.1 (a)
  • Quarto VSCode extension 1.86.2
Quarto check output

[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.361
Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
Version: 3.11.3
Path: /opt/homebrew/opt/python@3.11/bin/python3.11
Jupyter: (None)

  Jupyter is not available in this Python installation.
  Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
Version: 4.2.2
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
knitr: 1.42
rmarkdown: 2.21

[✓] Checking Knitr engine render......OK

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by editing a qmd document with R code blocks in VSCode and observe when saving the .intellisense.r file triggers the dialog. Start by tracing the Quarto VSCode extension's handling of that file during qmd editing; done means the overwrite error no longer reappears.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.