-
Notifications
You must be signed in to change notification settings - Fork 167
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
When using Dataform in Google Cloud Platform the Dataform extension in VS Code does not work #1589
Comments
Hello! Firstly, as you're using GCP then I would be remiss if I didn't note that we have a Dataform editor in GCP which is a lot more polished and has more functionality than what the vscode extension provides - https://cloud.google.com/dataform/docs/overview Secondly, you need to have the dataform CLI installed globally, as well as all npm packages inside the project. I think the later is the error you're getting at the moment. So just run |
Dataform GCP syntax highlighting is very buggy and problematic. Just one simple example, it breaks the moment you add any regular expression: select REGEXP_REPLACE(JSON_QUERY(a.json_field, "$.jsonKey"), r'([\'\"])', '') as VALUE
FROM table a
WHERE a.some_field > 1; Even markdown syntax highlighting gets it right where as dataform can't. |
Hi I'm having the same problem. I have packages installed, with dataform globally and
This isn't an option for me because the git integration available in the web interface doesn't allow me to break up my work into commits (and push them without pushing everything I've changed) or to amend commits or to pull amended commits or force-pushed branches. It's just not a good trade-off to have to use a less complete version of git. |
We've had a bunch of changes to the vscode extension by @moker-spaghetti this year. I would be surprised if these issues remained! Could you install the latest version, and try recreating? Thanks. |
We have the following setup:
When installing and enabling Dataform extension in VS Code it shows this error:
The Dataform Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
In the output:
Dataform encountered an error: Could not find a recent installed version of @dataform/core in the project. Ensure packages are installed and upgrade to a recent version.
Does it mean that this extension works only with Dataform Core local repositories?
I just need syntax highlighting and cmd + click on a ref() function feature to go to the file that it references.
Please suggest.
The text was updated successfully, but these errors were encountered: