diff --git a/test-files/TEST_RESULTS.md b/test-files/TEST_RESULTS.md new file mode 100644 index 0000000..90709a9 --- /dev/null +++ b/test-files/TEST_RESULTS.md @@ -0,0 +1,36 @@ +# Slint LSP Integration Test Results + +Date: 2026-01-29 + +## Test Environment +- IntelliJ IDEA: 2025.2.4 +- Slint LSP Version: 1.14.1 +- Plugin Version: 1.0-SNAPSHOT + +## Test Results + +### File Type Recognition +- [ ] .slint files show Slint icon +- [ ] File type is recognized as "Slint" + +### Syntax Highlighting +- [ ] Keywords highlighted (import, export, component, inherits) +- [ ] Strings highlighted +- [ ] Comments highlighted +- [ ] Properties highlighted + +### LSP Features +- [ ] LSP server starts automatically +- [ ] Code completion works +- [ ] Hover documentation works +- [ ] Goto definition works +- [ ] Diagnostics show errors/warnings +- [ ] Code formatting works +- [ ] Find references works +- [ ] Rename refactoring works + +## Issues Found +(Document any issues here) + +## Notes +(Any additional observations) diff --git a/test-files/hello.slint b/test-files/hello.slint new file mode 100644 index 0000000..c423f5b --- /dev/null +++ b/test-files/hello.slint @@ -0,0 +1,22 @@ +import { Button, VerticalBox } from "std-widgets.slint"; + +export component HelloWorld inherits Window { + width: 400px; + height: 300px; + + VerticalBox { + alignment: center; + + Text { + text: "Hello, World!"; + font-size: 24px; + } + + Button { + text: "Click me"; + clicked => { + debug("Button clicked!"); + } + } + } +}