Julia in VS Code: What's New? | David Anthoff, Zac Nugent | JuliaCon 2021

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 16

  • @chrisrackauckasofficial
    @chrisrackauckasofficial 3 года назад +16

    VS Code is progressing nicely. Though I have to say... Microsoft has a better bookshelf. Full Harry Potter series vs academic books? No contest.

  • @MattiasVillani
    @MattiasVillani 3 года назад +5

    I had to enable the new Jupyter notebook for Julia in the Julia VS Code extension settings.

    • @davidanthoff-ucberkeley4103
      @davidanthoff-ucberkeley4103 3 года назад +5

      Yes, that was a change that we introduced after I recorded the video: at the moment you need to set the configuration for `julia.notebookController` to `true` to enable the notebook feature. We put the feature behind this flag for now because we have a small problem that we can't write kernel information into the notebook files at the moment. If you are OK with that, go ahead and enable the feature and try it out! If not, you'll need to wait a little longer until we have that resolved. At that point we'll enable the feature without a configuration flag.

    • @MattiasVillani
      @MattiasVillani 3 года назад

      @@davidanthoff-ucberkeley4103 Thanks. I also had to deactivate my conda environment, otherwise the Julia kernel could not be found by VS. Thanks for all the splendid work!

    • @ChinmayPendharkar
      @ChinmayPendharkar 3 года назад +2

      @@davidanthoff-ucberkeley4103 Yikes. Any possibility you could add this 👆🏾 information (about needing to set the configuration) to the description of this RUclips video? I spent a good hour trying to figure out why I wasn't able to set the Jupyter Notebook kernel to Julia till I saw this comment. It would help others who're watching your video and trying to follow along.

    • @BjrnRemseth
      @BjrnRemseth 3 года назад

      @@MattiasVillani Sorry about the n00b questions, but: How does one do that (disable conda, is it done in vscode or from the command line directly to conda? How to change the julia.notebookController, where is that config located?) ?

    • @MattiasVillani
      @MattiasVillani 3 года назад +1

      @@BjrnRemseth
      - Deactivating your conda environment is done in terminal (outside of VS, if you like) using the command 'conda deactivate'.
      - In VS code use the keyboard shortcut Ctrl+Shift+p to open VS command palette. Go to 'Preferences: Open Settings (UI)'. Type 'julia notebook' to filter down to that setting and click the checkbox to enable the experimental jupyter notebook integration.

  • @chrisjduplessis
    @chrisjduplessis 3 года назад

    Thank you so much for this. I've been looking for a Jupyter-like editor with intellisense and a variable explorer. Is it just me or do the code blocks run twice as slow as the REPL?

  • @djangoworldwide7925
    @djangoworldwide7925 Год назад

    It was beautiful to see a human integrating AI figures in his presentation. Thank you. I am Django. You are welcome to like my comment. I enjoyed writing it.

  • @tubesteaknyouri
    @tubesteaknyouri 3 года назад +2

    Great work!

  • @blie8767
    @blie8767 3 года назад +1

    Good news.
    I deleted all (as much as I found) of Julia + Python + Jupyter from my home PC, installed the MS Store Julia app, and added the MS Jupyter extension for VSCode (I didn't uninstall it, and had already the Julia extension installed).
    * In VSCode, the terminal window runs Julia v.1.6.2 - OK.
    * I then opened an IPYNB file in VSCode... it opens fine, but when I try to run it, VSCode throws an error message that it cannot find Julia v.1.6.0 (the old version) and it cannot find Python.
    Hm. Where do I delete references to old versions of Julia, and why does it require Python?

  • @daler6
    @daler6 3 года назад

    On a second point, when I do install the Python extension, I am able to create a notebook using Julia, but I do not see anything in the workspace section.

  • @GabeWeymouth
    @GabeWeymouth 3 года назад

    Is there documentation for the "package release" script yet? I'm getting an error "ERROR: You need to have a fork of the registry in your github account." which probably means I haven't set this up in quite the way you were expecting...

  • @DuarteMolha
    @DuarteMolha 2 года назад +1

    What a strange way of saying the jupyter. No one I know says it that way

  • @daler6
    @daler6 3 года назад

    I have installed Julia, VSCode, the Julia extension, and the Jupyter extension. I did set the configuration for `julia.notebookController` to `true`. As soon as I open a new Jupyter notebook, I receive a message indicating that the Python extension is required. Is that supposed to be the case?

    • @MartinDMaas
      @MartinDMaas 3 года назад

      It happened to David in the video, as well.