vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Expand Session watcher when parantheses

Open BoudSTER opened this issue 1 year ago • 1 comments

Hi, first of all thanks you fort this great extension !

Describe the bug I have a problem with variable autocompletion when my code is in parantheses. I alerady this issue :) https://github.com/REditorSupport/vscode-R/issues/323

To Reproduce No problem when I use this code:

  raw %>% select()

But from the moment I put my code in brackets, autocompletion no longer works:

(
  raw %>% select()
)

Additional context It's actually quite limiting for me because I use this system of parentheses a lot in my code for debugging. Eg :

(
  umi_side_DuplexUMI
  %>% select(-umi2)
  %>% group_by(sample, umi1)
  %>% summarise(count = sum(count))
  %>% arrange(count)
  %>% mutate(count_cumsum=cumsum(count))
  %>% ungroup()
  %>% group_by(sample)
  %>% mutate(n = 1:n())
) -> umi1DuplexUMIyUMI

Thank you in advance for your positive or negative response :)

Have a nice day,

BoudSTER

BoudSTER avatar Feb 26 '24 12:02 BoudSTER

I think(?) this would be fixed by #1469

ElianHugh avatar Mar 02 '24 00:03 ElianHugh