question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autocompletion for objects don't work in debugging mode

See original GitHub issue

The auto-completion feature for the objects doesn’t seem to work when the radian gets into the debugging mode. This looks like a bug. An example to reproduce it:

R>> square <- function(x) {
  browser()
  apply(x, 2, mean)
}
R>> square(mtcars)
Called from: square(mtcars)
Browse[1]> ls()
[1] "x"
Browse[1]> x$  # <--- doesn't autocomplete
Browse[2]> Q
R>> df <- mtcars
R>> df$  # <--- autocomplete works

Thanks a ton again! I love radian ❤️

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
randy3kcommented, May 22, 2020

It is how rstudio handles debugger completion, we might be able to borrow something there. Or we could rewrite a completion engine, in that case also fixes https://github.com/randy3k/radian/issues/29

0reactions
lafet1commented, Oct 21, 2020

Hi, I just recently started using radian and stumbled on this issue. I’m curious whether there’s been any development on this front or not. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to inspect/debug Autocomplete option elements
When i try to inspect one of the option elements using right click and Inspect Element , the dropdown menu disappears and inspect...
Read more >
Debug console auto-completion interferes and messes up my ...
I just can't wrap my head around how an auto complete that happily messes with a valid variable name my_var that exists in...
Read more >
Debugging | Autocomplete - Algolia
Using debug mode to inspect panel elements​​ Setting the debug option to true keeps the panel open when inspecting elements in your browser ......
Read more >
(BUG) Debugger console doesn't auto complete on macOS ...
(BUG) Debugger console doesn't auto complete on macOS 12.3 and IntelliJ IDEA 2022.1 ... Run `hello.js` in the Debug mode with IntelliJ IDE...
Read more >
IntelliSense in Visual Studio Code
Why am I not getting any suggestions? ... This can be caused by a variety of reasons. First, try restarting VS Code. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found