quarto-dev / quarto-dev/quarto

AI (Copilot/Codeium) autocompletions not working in visual mode

Open
#512 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description
In the visual mode, autocompletion with Github Copilot/Codeium does not work anymore. They work fine in the source mode

Steps to reproduce
Create a new quarto document in VSCode/RStudio
Turn to visual mode
Start a (R/Python) code chunk
Start typing - note no completions are available
Turn to source mode
Note completions work
Expected behavior
AI autocompletions also work in visual mode

Actual behavior
AI (Copilot/Codeium) autocompletions not working in visual mode

Your environment
RStudio 2024.04.2+764 "Chocolate Cosmos" Release (e4392fc9ddc21961fd1d0efd47484b43f07a4177, 2024-06-05) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.04.2+764 Chrome/120.0.6099.291 Electron/28.3.1 Safari/537.36, Quarto 1.5.56 (D:/quarto/bin/quarto.exe)

Positron Version: 2024.07.0 (system setup) build 2024.07.0-125
Code - OSS Version: 1.91.0
Commit: cae4905332a0f41a6233e196b48a6679b832000a
Date: 2024-07-31T22:26:02.970Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Quarto check output
Quarto 1.5.56
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.5.56
Path: D:\quarto\bin
CodePage: 936

[>] Checking tools....................OK
TinyTeX: (external install)
Chromium: (not installed)

[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\kv989\AppData\Roaming\TinyTeX\bin\windows
Version: 2024

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

[>] Checking Python 3 installation....OK
Version: 3.11.5 (Conda)
Path: D:/Anaconda/python.exe
Jupyter: 5.3.1
Kernels: python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........OK
Version: 4.2.2
Path: D:/R-4.2.2
LibPaths:

  • D:/R-4.2.2/library
    knitr: 1.45
    rmarkdown: 2.25

[>] 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

No source file or test is named. Reproduce the issue in a new Quarto document using VSCode or RStudio, compare completions in visual and source modes, and trace the visual-mode entry point. Done means GitHub Copilot and Codeium provide R or Python completions while editing code chunks in visual mode.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.