randy3k / radian

A 21 century R console
MIT License
2.03k stars 76 forks source link

autocomplete only works once #261

Open verajosemanuel opened 3 years ago

verajosemanuel commented 3 years ago

i got it working ok, but autocomplete for Radian console inside vscode only works for the first command. The subsequent times does not appear at all and I must restart VsCode to get it running again (once)

"r.bracketedPaste": true,
"r.lsp.debug": true,
"r.lsp.diagnostics": true,
"r.rterm.option": [
"--no-save",
"--no-restore",
"--r-binary=C:\\Users\\joe\\R\\R-4.0.3\\bin\\R.exe"
],
"workbench.iconTheme": "vscode-icons",
"editor.largeFileOptimizations": false,
"workbench.colorTheme": "Shades of Purple",
"files.associations": {
    "*.rmd": "markdown",
    "*.Rmd": "rmd"
},
"r.rterm.windows": "C:\\ProgramData\\Anaconda3\\Scripts\\radian.exe",
"r.rpath.windows": "C:\\Users\\joe\\R\\R-4.0.3\\bin\\R.exe",
"r.sessionWatcher": true,
"r.alwaysUseActiveTerminal": false
randy3k commented 3 years ago

You meant the auto completion in radian? What if you run it from Terminal or other console emulator directly.

verajosemanuel commented 3 years ago

I run it from VSCode, not working in any other terminal at all. At least in Vscode is working ok except for the auto completion

long39ng commented 3 years ago

I have this issue as well -- from both the VS Code terminal and KDE Konsole

https://user-images.githubusercontent.com/25417022/115639424-d39eb880-a314-11eb-86de-eefcfe8a4edd.mp4

randy3k commented 3 years ago

It seems due to the custom prompt.

long39ng commented 3 years ago

It is indeed! Thanks!