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

Unable to access syntax highlighting for IPython BigQuery magic #644

Closed
HalfMillennium opened this issue Jul 12, 2021 · 3 comments
Closed

Comments

@HalfMillennium
Copy link

What I am trying to do...

I'm currently attempting to take advantage of a merged PR that provided syntax highlighting while using IPython's BigQuery magic %%bigquery, but I'm unsure how to set this up. (#553)

How I would like to learn how to do it...

I would like to have a better understanding of what I need to setup (a connected SQL language server?) in order to make use of the highlighting, since there is very little mention of BigQuery elsewhere in the repo.

@krassowski
Copy link
Member

Welcome :) There is nothing needed to configure. Just install the extension and it should work out of the box. If it is not working please fill in the template for bug reports.

I just tried this on binder: https://mybinder.org/v2/gh/krassowski/jupyterlab-lsp/master?urlpath=lab%2Ftree%2Fexamples%2FPython.ipynb and it "just works":

its-working-bigquery

@krassowski
Copy link
Member

However, if you want anything more than syntax highlighting you will need to have an sql language server installed which as I mentioned earlier is likely not supporting bigquery-specific constructs.

@HalfMillennium
Copy link
Author

However, if you want anything more than syntax highlighting you will need to have an sql language server installed which as I mentioned earlier is likely not supporting bigquery-specific constructs.

Thanks for the response! I'll send out a bug report soon, as I'm still having issues locally.

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