Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default print method could be improved #127

Open
hadley opened this issue Jul 24, 2017 · 0 comments
Open

Default print method could be improved #127

hadley opened this issue Jul 24, 2017 · 0 comments
Labels
feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Jul 24, 2017

<Person>
  Public:
    age: 37
    clone: function (deep = FALSE)
    initialize: function (name, age = NA)
    name: Hadley

# ->

<Person>
Public:
  age:        37
  clone:      function(deep = FALSE) {}
  initialize: function(name, age = NA) {}
  name:       Hadley

We could colour the field names, using the same approach as in glue (i.e. suggest crayon and only use if available)

@hadley hadley changed the title Print method could be tweaked a little Default print method could be improved Jul 24, 2017
@hadley hadley added the feature a feature request or enhancement label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant