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

styler options for scope #63

Closed
andrewtcrooks opened this issue Oct 23, 2019 · 1 comment · Fixed by #75
Closed

styler options for scope #63

andrewtcrooks opened this issue Oct 23, 2019 · 1 comment · Fixed by #75

Comments

@andrewtcrooks
Copy link

andrewtcrooks commented Oct 23, 2019

In the best article on styler:
I see there are many more available options that could be passed.

The current available options inside jupyterlab code formatter for styler are

  1. scope = boolean
  2. strict = boolean

According to the docs though styler has several options and scope has more than just 2 options

  1. scope = ("spaces", "indentation", "line-breaks", "tokens")
  2. strict = boolean
  3. math_indentation = list(...)
  4. reindentation = list(...)

Would it be possible to add these additional options?

@ryantam626
Copy link
Collaborator

Ah, I don't personally use R that much, I will try to give it a look this weekend and expose these options 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants