Mina Lee created ZEPPELIN-1399:
----------------------------------

             Summary: Refactor automatic interpreter name insert
                 Key: ZEPPELIN-1399
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1399
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.7.0
            Reporter: Mina Lee
            Assignee: Mina Lee
             Fix For: 0.7.0


`lastReplName` is saved in note.json after paragraph running.
`%lastReplName` is added to any new paragraph automatically.

Some behavior feels unnatural for me with current implementation.

1.
Imagine your default interpreter name is `intp1`. If you type `%intp2` in first 
paragraph and add new paragraph in second place without running first 
paragraph, text of the paragraph would be `%intp1` not `%intp2`.

2.
It always insert %lastReplName text automatically even if you don't specify 
interpreter magic keyword in previous paragraph.

I would like to suggest not to save `lastReplName` info in note.json but just 
read text of previous paragraph and add %interpreterName to new paragraph if 
previous paragraph has one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to