Uh oh!
There was an error while loading. Please reload this page.
support changing tabsize of paragraph - #919
Conversation
Leemoonsoo
commented
May 26, 2016
Thanks for addressing the issue. I think it'll be more useful if tab size can be configured globally or per interpreter, rater than individual paragraph. What do you think? |
astroshim
commented
May 27, 2016
@Leemoonsoo Good point. I agree with you that changing tab size in the interpreter or notebook is better than paragraph. so I think Configuring tab size of notebook level makes more sense than interpreter level, what do you think? |
Leemoonsoo
commented
May 27, 2016
I think tab size is more like per interpreter rather than notebook or paragraph. Because Does it make sense? |
@Leemoonsoo It really makes sense and I thought that too. |
corneadoug
commented
Jun 9, 2016
@astroshim Would you then create a new PR, or modify this one? |
astroshim
commented
Jun 9, 2016
@corneadoug Thank you for your concern! I'm thinking to find right way how to handle this issue. |
bzz
commented
Jun 21, 2016
To be able to change indention is very reasonable option, esp. as soon as you start working with Python. @astroshim It could be hard to implement per-interpreter as @Leemoonsoo suggests for now, so how about changing this implementat to per-notebook settings? I think it would be useful. My only concern is whether it actually changes the paragraph code, or not. I have checked, and Ace editor we use in soft-tab configuration (although I can not find Then, how does changing this setting affect the paragraph (that already has no |
astroshim
commented
Jun 21, 2016
@bzz Thank you for your detail review! |
Leemoonsoo
commented
Jun 21, 2016
Like comment #966 (comment) from @felixcheung, it'll be great if interpreter-setting.json can configure code-editor. For example, add "editor" field, I think this approach can be used not only for 'tabsize', but also for many other configuration values as example above. Implementing notebook level first would be an option, but if it is not very urgent issue, then it's worth to consider configure through interpreter-setting.json instead. Then many other features (syntaxHighlighting, autoCompletionOnTab, etc) can easily benefit by it. |
astroshim
commented
Jun 21, 2016
Thank you for your detailed explanation @Leemoonsoo and I agree with moving interpreter-setting.json. |
astroshim
commented
Jul 26, 2016
#1218 is better way. |
What is this PR for?
The code editor tab size is fixed as 4.
It would be better to support changing tabsize to users.
What type of PR is it?
Improvement
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-887
How should this be tested?
Screenshots (if appropriate)
Questions: