fackr Public
Go to file
T
Code
Use Git or checkout with SVN using the web URL.
README
No matching headings.
LSP Test Files for fackr
This directory contains Python files for testing LSP (Language Server Protocol) features in the fackr editor.
Prerequisites
Make sure you have a Python LSP server installed:
pylsp(python-lsp-server):pip install python-lsp-serverruff:pip install ruff(for linting/formatting)pyright:pip install pyright(for type checking)
Test Files
| File | Feature | Keybinding |
|---|---|---|
| 01_hover.py | Hover Information | F1 |
| 02_completion.py | Code Completion | Ctrl+Space |
| 03_diagnostics.py | Diagnostics | Automatic |
| 04_goto_definition.py | Go to Definition | F12 |
| 05_references.py | Find References | Shift+F12 |
| 06_rename.py | Rename Symbol | F2 |
| 07_formatting.py | Code Formatting | Ctrl+Shift+F |
How to Test
- Open fackr:
fackr test_lsp/01_hover.py - Follow the instructions in the comments at the top of each file
- Each file is self-contained and tests a specific LSP feature
LSP Keybindings Reference
| Key | Action |
|---|---|
| F1 | Show hover information |
| Ctrl+Space | Trigger code completion |
| F12 | Go to definition |
| Shift+F12 | Find all references |
| F2 | Rename symbol |
| Ctrl+Shift+F | Format document |
| Alt+M | Open LSP server manager |
Troubleshooting
- If LSP features don't work, check that the language server is running
- Use Alt+M to open the server manager and verify server status
- Some features may take a moment to initialize when first opening a file