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

(Scala) Notebooks containing the MAGIC keyword are not rendered as notebooks #153

Closed
SontungAnakin opened this issue Apr 28, 2023 · 3 comments

Comments

@SontungAnakin
Copy link

Problem
Notebooks downloaded from Databricks with the//MAGIC are not rendered/recognised correctly as notebooks. Please see the attached example.

Expected behaviour
Handle exported notebooks as they are in Databricks

test_dbr.scala.txt

@SontungAnakin SontungAnakin changed the title (Scala) Notebooks containing MAGIC keyword are not rendered as notebooks (Scala) Notebooks containing the MAGIC keyword are not rendered as notebooks Apr 28, 2023
@gbrueckl
Copy link
Collaborator

thanks for reporting, I am just publishing a fix with v2.1.2 which should be available from the VSCode gallery in the next minutes
please test again with the new version then

btw, you line // MAGIC %run "./test_file.scala" is probably faulty, you usually do not need to specify the extension (.scala) when using %run

@SontungAnakin
Copy link
Author

thank you for the quick response!

please don't mind the content of the test file I just made it up, but good eyes :)

@SontungAnakin
Copy link
Author

Notebooks with MAGIC works nicely now. Thank you!

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

No branches or pull requests

2 participants