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

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

Open
pblocz opened this issue Mar 24, 2025 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality good first issue Good for newcomers

Comments

@pblocz
Copy link

pblocz commented Mar 24, 2025

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

@pblocz pblocz added the feature-request Request for new features or functionality label Mar 24, 2025
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Mar 24, 2025
@vs-code-engineering vs-code-engineering bot added the triage-needed Issue needs to be triaged label Mar 24, 2025
@amunger amunger added good first issue Good for newcomers and removed triage-needed Issue needs to be triaged labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants