Created attachment 154088 [details] Autocomplete not suggesting props for a simple component SUMMARY When entering props for a JSX component (eg: when working with react/react-native), the autocompletion does not show results reliably. For simple components it seems to not show any props, but for larger components from libraries I can use autocomplete for only some of them. I'll try to dig more into this to maybe see a pattern. STEPS TO REPRODUCE 1. Install typescript-language-server (https://github.com/typescript-language-server/typescript-language-server) 2. Enable the Kate LSP plugin 3. Open a react/react-native project 4. Create a simple component accepting props 5. Create another component and render the previous component 6. Try to use auto-completion, see how the props are not suggested. OBSERVED RESULT The props are not suggested in the autocomplete popup, but the component signature is shown in another popup (with the name of the props available). See the attached screenshot. EXPECTED RESULT All props accepted by a JSX component should be suggested in the autocomplete popup. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Kernel Version: 6.0.8-1-MANJARO (64-bit) ADDITIONAL INFORMATION
Created attachment 154089 [details] Autocomplete suggesting only one prop As you can see in this screenshot, the autocomplete shows only one of the 6 available props, making the feature unreliable.
Compiled latest version from git and it seems fixed, thanks for your hard work!