Skip to content

Styling of the active file via RStudio Addin removes EOF line break #310

Closed

Description

@lorenzwalthert

Styling the active file should make sure that there is always exactly one blank line at the end of the file.
Reference: #309 (comment).

Activity

  1. lorenzwalthert commented on Oct 23, 2018

    @lorenzwalthert
    CollaboratorAuthor

    This fix provided in #311 was obviously not thought through. We should only append the empty string when there is no empty string already. Otherwise

    identical(style_via_addin(x), style_via_addin(style_via_addin(x)))
    #> FALSE
  2. lorenzwalthert commented on Nov 4, 2018

    @lorenzwalthert
    CollaboratorAuthor

    Closed with #435.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions