Hello,
Thank you for this extension!
This is more of a feature question: somehow vscodes doesn't support symbols/outlines for R, is there a way to add such functionalities to VS Code (for R)?
https://marketplace.visualstudio.com/items?itemName=patrys.vscode-code-outline
in vim, such functionality are supported through plugins such as ctags/taglist/tagbar, etc.
Best,
Isaac
@ipstone Thank you for information. It looks good function!
However, I didn't understand yet, how to implement.
So, I put it as todo.
hi @Ikuyadeu - perhaps this link is helpful for providing outline view function for vscode R: https://github.com/Microsoft/vscode-go/blob/master/src/goOutline.ts
I am relative new to vscode - will explore more to see how to add this feature.
@ipstone Thank you for additional information!
I checked, it looks fit for language server protocol than here.
I will survey more.
I would love this feature... Not sure where it is best handled, but please (someone... anyone!) bring this one. 馃憤
I agree that this is a language server feature. The language server would need an implementation of DocumentSymbolProvider.
Language server issue for this: https://github.com/REditorSupport/languageserver/issues/46
This is now supported by the latest version of the language server. Until it鈥檚 updated on CRAN, it can be installed with:
devtools::install_github("REditorSupport/languageserver")
just a quick comment: install the language server (default): works fine for my setup: install.packages("languageserver")
R version 3.6.1 (2019-07-05)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Most helpful comment
@ipstone Thank you for additional information!
I checked, it looks fit for language server protocol than here.
I will survey more.