Skip to content

Formatting not working #37

Description

@tobias-groeger

When I am trying to format R code nothing happens.

Details

  • I am using zed version 0.204.3
  • I am using the R extension version v0.2.4
  • R packages:
$ Rscript -e "packageVersion('languageserver')"
[1] ‘0.3.16’
$ Rscript -e "packageVersion('lintr')"
[1] ‘3.2.0’
$ Rscript -e "packageVersion('styler')"
[1] ‘1.11.0’
  • The zed log shows the LSP is used for formatting: [project.lsp_format] Formatting via LSP
  • When formatting a file manually with Rscript -e 'library("styler"); style_file("<file>")' the file is formatted as expected

Is there any configuration option I am missing to enable formatting?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions