Skip to content

Development

How to contribute to Roughly

Client Setup

  • Run cd client && bun install. This installs all necessary npm modules in the client
  • Press Ctrl+Shift+B in VS Code to start compiling the client in watch mode.
  • Switch to the Run and Debug View in the Sidebar (Ctrl+Shift+D).
  • Select Launch Client from the drop down (if it is not already).
  • Press ▷ to run the launch config (F5).
  • In the Extension Development Host instance of VSCode, open a document with a .R extension.

Words of warning

The launch.json contains a setting:

"autoAttachChildProcesses": true,

For me this led to the issue that the language server wasn’t spawned because I had CodeLLDB from nixpkgs installed.

Roadmap

  • static analysis
    • type checking
    • name binding
      • are all names defined
      • unused names (variables & parameters)
  • variable renaming
  • inlay hints

References