Skip to content

backtick on the console interrupts with code completion #15557

Open

Description

@bounlu

In the console, if backtick is used e.g. to handle column names with special characters, the code completion with TAB stops after this point.

For example:

vcf_file %>% rename(CHROM = `#CHROM`) %>% as.data.fra<TAB> -> no completion

vcf_file %>% rename(POSITION = POS) %>% as.data.fra<TAB> -> completes to as.data.frame()

System details

RStudio Edition : Desktop
RStudio Version : 2024.12.0+467
OS Version      : x86_64-apple-darwin20
R Version       : 4.4.2
  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on Dec 26, 2024
  2. ronblum commented on Dec 30, 2024

    @ronblum
    Contributor

    @bounlu Thank you for raising this! I can reproduce the issue in RStudio Desktop 2023.09.1+494 on Windows 11, as well. I'll mark this for review.

  3. added
    autocompletion
    and removed
    new
    on Dec 30, 2024
  4. added this to the Later milestone on Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autocompletionbug

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions