[ 
https://issues.apache.org/jira/browse/TOREE-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329590#comment-15329590
 ] 

Corey A Stubbs commented on TOREE-323:
--------------------------------------

My intuition is that there is a problem with the KernelSpec being generated on 
install. You can see this in the "Welcome To R - demo" and "Welcome To Python" 
notebooks on http://try.jupyter.org. If you go those notebooks and Navigate to 
Edit -> Edit Notebook Metadata you will see the language_info section is where 
syntax highlighting is setup.
{code}
{
  "kernelspec": {
    "name": "python3",
    "display_name": "Python 3",
    "language": "python"
  },
  "language_info": {
    "version": "3.5.1",
    "pygments_lexer": "ipython3",
    "codemirror_mode": {
      "version": 3,
      "name": "ipython"
    },
    "mimetype": "text/x-python",
    "file_extension": ".py",
    "nbconvert_exporter": "python",
    "name": "python"
  }
}
{code}

My guess is we need to add some code to the install scripts: 
https://github.com/apache/incubator-toree/blob/master/etc/pip_install/toree/toreeapp.py#L96.

> Syntax highlighting and autocomplete don't function for PySpark kernel
> ----------------------------------------------------------------------
>
>                 Key: TOREE-323
>                 URL: https://issues.apache.org/jira/browse/TOREE-323
>             Project: TOREE
>          Issue Type: Bug
>            Reporter: Liam Fisk
>            Priority: Minor
>
> In a jupyter notebook using the PySpark kernel python syntax highlighting is 
> patchy/non-existent, and commenting code uses // rather than #.
> Additionally, there is no autocomplete functionality, which will prevent 
> people from using the Toree kernel over manually integrating with PySpark.



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

Reply via email to