Note that GitHub Copilot isn’t optimized for R; the documentation says Copilot works “especially well” for Python, JavaScript, TypeScript, Ruby, Go, C#, and C++. However, Copilot does make R code ...
Version 1.22 of Visual Studio Code, released in March 2018, offers improved syntax-aware code-folding as well as better support for large files. For syntax-aware code-folding, folding ranges in HTML, ...