dataform icon indicating copy to clipboard operation
dataform copied to clipboard

IDE support (not DataForm IDE) for .sqlx files

Open dorzey opened this issue 6 years ago • 5 comments

Is there any planned support for .sqlx files in say vscode or atom?

dorzey avatar Oct 18 '19 10:10 dorzey

Hi @dorzey, thanks for the interest!

Since our IDE is based on monaco (open source vscode), we can fairly easily bring the same level of syntax highlighting etc into vscode.

Formatting is a little harder as that code is wired into @dataform/api; that said we should be able to disentangle it and pull it into some API more native to vscode.

In any case, we'll be sure to add this to our roadmap!

BenBirt avatar Oct 21 '19 09:10 BenBirt

Thanks, @BenBirt - any idea on ETA for these kinds of features?

darrenhaken avatar Oct 22 '19 13:10 darrenhaken

I'd love to have this!

christophepas avatar Dec 13 '19 11:12 christophepas

Hi everyone, we've released an alpha of a vscode extension including the following features:

  • Syntax highlighting for .sqlx files
  • Realtime compilation of your project
  • cmd + click on a ref() function to go to the file that it references

Let us know what you think of it!

GJMcGowan avatar Sep 11 '20 13:09 GJMcGowan

Thanks for your work on the vscode extension! Are there plans to add formatting support to the extension as well?

faaez avatar Nov 16 '21 03:11 faaez

We're considering doing this, potentially via SQLFluff!

Closing this bug however, as it's for the IDE support which does exist (though needs some maintenance).

Ekrekr avatar Feb 10 '23 17:02 Ekrekr