Been playing around with the beta plugin of Kotlin...
# datascience
p
Been playing around with the beta plugin of Kotlin notebooks in IntelliJ. For most part it works great (few small cosmetic UI things, but very usable already). I did notice however that some info is added to the notebook file, by just viewing it (so not changing code):
Copy code
"ktnbPluginMetadata": {
   "isAddProjectLibrariesToClasspath": false
  },
Could this info not be better stored outside the notebook? Now just viewing a notebook, triggers git changes.
i
Hi! Thank you for the feedback! Not sure how we would match the file and its options in case if rename if these options are stored outside. Generally it should be ok to commit, metadata won't do any harm. Maybe default options could be not saved, but it makes the logic less clear. Maybe @Julia Beliaeva has some ideas
j
Hi, this is indeed a bug. The workaround is to go to "File | Settings | Tools | Kotlin Notebook | Settings for New Notebooks" and enable "Add project libraries to the notebook classpath" checkbox. Alternatively, update plugin to at least
232.7295.16
version (but this requires to use
232.7295.+
version of the ide).