Skip to content

Commit 1b9c04b

Browse files
authored
feat(vscode): improve readme (#4489)
1 parent edf91e1 commit 1b9c04b

1 file changed

Lines changed: 85 additions & 16 deletions

File tree

vscode/extension/README.md

Lines changed: 85 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,96 @@
1-
# SQLMesh VSCode Extension
1+
# SQLMesh Visual Studio Code Extension
22

3-
## Functionality
3+
**Transform your data engineering workflow with intelligent SQL development and powerful lineage visualization.**
44

5-
The following section outlines all the functionality in the Visual Studio Code extension. It is broken up into logical sections.
5+
## Overview
66

7-
### Authentication
7+
The SQLMesh VSCode extension brings the power of SQLMesh directly into your editor with intelligent code assistance, interactive lineage visualization, and seamless integration with Tobiko Cloud.
88

9-
The extension allows you to manage your tcloud session within Visual Studio Code.
9+
## 🚀 Quick Start
1010

11-
- Sign in
12-
- Sign out
13-
- Sign in with a specified flow
11+
1. **Install the extension** from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=tobikodata.sqlmesh)
12+
2. **Set up your Python environment** with SQLMesh
13+
3. **Configure your Python interpreter** in VSCode
14+
4. **Start building data pipelines!**
1415

15-
You can see your user account in the bottom left.
16+
For a more detailed guide, see the [VSCode Extension Guide](https://sqlmesh.readthedocs.io/en/stable/guides/vscode/).
1617

17-
### Formatting
18+
## ✨ Features
1819

19-
The extension allows you to:
20+
### 🔗 Interactive Lineage Visualization
21+
- **Real-time lineage graphs** showing data flow between models
22+
- **Interactive exploration** with clickable nodes
23+
- **Model dependency tracking** across your entire project
2024

21-
- Format individual documents explicitly
22-
- Format individual documents on save
23-
- Format a whole project
25+
### 🧠 Intelligent Code Assistance
26+
- **Smart auto-completion** for model names and SQLMesh keywords
27+
- **Hover tooltips** with model descriptions and metadata
28+
- **Go-to-definition** navigation for model references
29+
- **Real-time error detection** with inline diagnostics
2430

25-
### Linting
31+
### 🎨 Code Formatting & Quality
32+
- **Automatic formatting** for SQLMesh models
33+
- **Integrated linter** with built-in and custom rules
34+
- **Format on save** support
35+
- **Project-wide formatting** commands
2636

27-
The extension allows you to see linting errors and warnings inline.
37+
### ☁️ Tobiko Cloud Integration
38+
- **Seamless authentication** within VSCode
39+
- **Cloud project management**
40+
- **Secure credential handling**
41+
42+
## 📖 Usage
43+
44+
Here's an overview of the extension's features:
45+
46+
### Viewing Model Lineage
47+
1. Open any SQLMesh model file
48+
2. Navigate to the "Lineage" tab in the panel
49+
3. Explore your data pipeline visually
50+
51+
### Using Auto-completion
52+
- Start typing model names or SQLMesh keywords
53+
- Press `Ctrl+Space` to trigger suggestions
54+
- Navigate with arrow keys and press `Enter` to accept
55+
56+
### Formatting Code
57+
- **Single file**: Right-click → "Format Document"
58+
- **Entire project**: Command Palette → "Format SQLMesh project"
59+
- **Auto-format**: Enable "Format on Save" in VSCode settings
60+
61+
### Managing Tobiko Cloud Authentication
62+
- **Sign in**: Command Palette → "Sign in to Tobiko Cloud"
63+
- **Sign out**: Command Palette → "Sign out of Tobiko Cloud"
64+
- **View status**: Check the bottom-left status bar
65+
66+
## 🐛 Troubleshooting
67+
68+
If you encounter issues, please refer to the [VSCode Extension Guide](https://sqlmesh.readthedocs.io/en/stable/guides/vscode/) for troubleshooting steps.
69+
70+
## 📚 Documentation
71+
72+
- [Full SQLMesh Documentation](https://sqlmesh.readthedocs.io/)
73+
- [VSCode Extension Guide](https://sqlmesh.readthedocs.io/en/stable/guides/vscode/)
74+
- [Tobiko Cloud Documentation](https://docs.tobiko.cloud/)
75+
76+
## 🤝 Contributing
77+
78+
We welcome contributions! Please:
79+
80+
1. [Report bugs](https://github.com/tobikodata/sqlmesh/issues) you encounter
81+
2. [Request features](https://github.com/tobikodata/sqlmesh/issues) you'd like to see
82+
3. Share feedback on your experience
83+
84+
## 📄 License
85+
86+
This extension is licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.
87+
88+
## 🔗 Links
89+
90+
- [SQLMesh GitHub Repository](https://github.com/tobikodata/sqlmesh)
91+
- [Tobiko Data Website](https://tobikodata.com)
92+
- [Extension Marketplace Page](https://marketplace.visualstudio.com/items?itemName=tobikodata.sqlmesh)
93+
94+
---
95+
96+
**Happy data engineering!** 🚀

0 commit comments

Comments
 (0)