Commit Graph
5 Commits
Author SHA1 Message Date
Evan AlmloffandJonathan Kelley 2523581cf4 Autocomplete rsx (#2421)
* autocomplete rsx

* hide the completions module

* fix autocomplete for identifiers that start with a raw identifier

* add field completion hints for props

* remove extra import

* Revert "add field completion hints for props"

This reverts commit 194899c73783e0f9b5d601d53365746d838f2048.

* fix autocomplete inside raw expressions

* fix autofmt

* feat: just use regular ifmt if it's compatible

reuses the tokens for ifmt so RA provides its HIR lowering on simple formatted strings

* fix merging ifmt strings

* add a better error message for components called like functions

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
2024-05-22 07:24:50 -05:00
Jonathan Kelley 9c64fc4769 Fix #1938, allow explicit props 2024-03-18 15:34:46 -07:00
Jonathan Kelley 32595ce161 Fix clippy on box references 2024-03-09 01:54:25 -08:00
Jonathan Kelley 494f7e727d Heavily document component macro 2024-03-09 01:31:40 -08:00
Jonathan Kelley 052fd774cf Chore #2028: radically clean up core-macro 2024-03-09 01:09:20 -08:00