Visitar URL original
Add magic line comments regex pattern as configuration for uncommentMagicCommands · Issue #16499 · microsoft/vscode-jupyter · GitHub
Skip to content

Add magic line comments regex pattern as configuration for uncommentMagicCommands #16499

Open

Description

I found this issue that was closed and could not ask there. I am having the same use case, databricks uses a different magic line format, like:

# MAGIC %run ./another_notebook

When working with databricks connect locally, if I change that line to

#! %run ./another_notebook

It does work locally, but not when running on databricks.

A possible solution would be to expose the pattern of the magic line comments as configuration. I can see it hardcoded in
uncommentMagicCommands and it would be in line with the cell marker regular expressions already exposed as configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions