ZIm/crates/languages/src/tsx
Smit Barmase 33fc1f4af2
languages: Fix JS/TS imports not showing correct suggestions after using period (#27235)
Closes #21728

This PR improves autocomplete for imports for all kinds of javascript
and typescript files.

Adds `.` as `completion_query_characters` which will make it act like
word for auto completion context. This allows capturing compete
`format.` as query.

Before:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/849fb342-db73-48e7-a9d8-93f0e5a14b58"
/>

After:
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/e3ac3272-3217-4bcd-857f-4a83afc5980e"
/>

Release Notes:

- Improved autocomplete suggestions for JavaScript and TypeScript
imports.
2025-03-21 15:13:31 +05:30
..
brackets.scm vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
config.toml languages: Fix JS/TS imports not showing correct suggestions after using period (#27235) 2025-03-21 15:13:31 +05:30
embedding.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights-jsx.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights.scm Revert "Highlight super and this as keywords in JS/TS/TSX" (#26342) 2025-03-09 16:11:37 +00:00
indents.scm Automatically indent JSX (#18816) 2024-10-10 15:15:12 +03:00
injections.scm Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
outline.scm Added JavaScript runnable detection for context and suite methods (#21719) 2024-12-09 13:17:51 +02:00
overrides.scm Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
runnables.scm Added JavaScript runnable detection for context and suite methods (#21719) 2024-12-09 13:17:51 +02:00
textobjects.scm Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00