Flaxon 0.3.0 and Teloce-Py 0.3.0 are available on PyPI. Release instructions are maintained on this site; source links identify the framework snapshot. Check version and upgrade guidance.
Flaxon VS Code Extension - Quick Cheat Sheet
A 2-minute overview of everything the Flaxon VS Code Extension provides.
๐ Main Features
โ Route Explorer
View every route in your project from the sidebar.
โ CodeLens
Run or debug routes directly above your functions.
@app.get("/users")
# โถ Run ๐ Debug
async def get_users():
...
โ IntelliSense
Smart auto-completion for:
- Routes
- Schemas
- Validation
- Exceptions
- Requests
- WebSockets
โ Snippets
| Trigger | Creates |
|---|---|
froute |
GET Route |
fpost |
POST Route |
fws |
WebSocket |
fschema |
Schema |
fplugin |
Plugin |
ftest |
Test |
โ Hover Documentation
Hover over Flaxon APIs to see documentation without leaving the editor.
โ Diagnostics
Detects:
- Missing imports
- Invalid routes
- Non-async handlers
- Missing returns
- Schema issues
- WebSocket mistakes
โ One-Click Run
Run your app directly from VS Code.
Flaxon: Run App
โ Integrated Debugging
Supports:
- Breakpoints
- Variables
- Call Stack
- Exceptions
โ Project Generator
Generate:
- Projects
- Routes
- Schemas
- Plugins
โจ๏ธ Useful Commands
| Command | Purpose |
|---|---|
| Create Project | Generate a new Flaxon project |
| Run App | Start the application |
| Debug App | Launch debugger |
| Show Routes | Open Route Explorer |
| Generate Route | Create route |
| Generate Schema | Create schema |
| Generate Plugin | Create plugin |
| Restart Language Server | Restart IntelliSense |
โจ๏ธ Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+Shift+P |
Command Palette |
Ctrl+Shift+R |
Route Explorer |
Ctrl+Shift+F5 |
Run App |
Ctrl+Shift+U |
Output Panel |
๐ Project Detection
The extension automatically activates when it finds:
app.py
main.py
run.py
flaxon.py
โ๏ธ Recommended Settings
{
"flaxon.entryPoint": "app:app",
"flaxon.enableRouteExplorer": true,
"flaxon.enableCodeLens": true,
"flaxon.enableDiagnostics": true,
"flaxon.enableCompletions": true
}
๐ก Typical Workflow
Create Project
โ
Write Routes
โ
Use Snippets
โ
Route Explorer
โ
Run App
โ
Debug
โ
Test
๐ Common Fixes
| Problem | Solution |
|---|---|
| No routes | Save the file |
| No IntelliSense | Restart Language Server |
| No CodeLens | Enable CodeLens |
| Extension inactive | Open a Python file |
| Debug issues | Install Python extension |
๐ฆ Best Experience
Recommended VS Code extensions:
- Python
- Pylance
- Error Lens
- GitHub Pull Requests
๐ฏ What You Get
- โก Fast project scaffolding
- ๐ง Intelligent auto-completion
- ๐ Route Explorer
- โถ One-click run
- ๐ Integrated debugging
- ๐ Hover documentation
- ๐ Code snippets
- ๐ Live diagnostics
- ๐ Language Server support
In short: The Flaxon VS Code Extension brings an IDE-like development experience to Flaxon, making it easier to build, navigate, debug, and maintain Python web applications without leaving Visual Studio Code.