ZIm/crates/languages/src
Smit Barmase 18d39e3f81
editor: Improve JSDoc extend comment on newline to follow convention (#30800)
Follow up for https://github.com/zed-industries/zed/pull/30768

This PR makes JSDoc auto comment on new line lot better by:

- Inserting delimiters regardless of whether previous delimiters have
trailing spaces or not
- When on start tag, auto-indenting both prefix and end tag upon new
line

This makes it correct as per convention out of the box. No need to
manually adjust spaces on every new line.


https://github.com/user-attachments/assets/81b8e05a-fe8a-4459-9e90-c8a3d70a51a2

Release Notes:

- Improved JSDoc auto-commenting on newline which now correctly indents
as per convention.
2025-05-16 12:42:11 +05:30
..
bash bash: Fix bracket autoclose behavior (#29817) 2025-05-05 10:02:27 -04:00
c debugger: Rework language association with the debuggers (#29945) 2025-05-06 20:16:41 +02:00
cpp debugger: Rework language association with the debuggers (#29945) 2025-05-06 20:16:41 +02:00
css Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
gitcommit Fix syntax highlighting of git commit messages (#26988) 2025-03-18 18:18:56 +00:00
go debugger: Rework language association with the debuggers (#29945) 2025-05-06 20:16:41 +02:00
gomod Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript editor: Improve JSDoc extend comment on newline to follow convention (#30800) 2025-05-16 12:42:11 +05:30
jsdoc Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
json Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
jsonc Treat bun.lock as JSONC (#27359) 2025-03-24 09:46:23 -04:00
markdown Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
markdown-inline Hide Markdown-Inline language from users with a new 'hidden' flag on language configs (#17104) 2024-08-29 11:23:33 -07:00
python languages: Fix python indent block for more keywords (#30323) 2025-05-09 05:51:33 +05:30
regex Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
rust rust: Add injection for leptos view macro (#30710) 2025-05-14 16:48:22 +00:00
tsx editor: Improve JSDoc extend comment on newline to follow convention (#30800) 2025-05-16 12:42:11 +05:30
typescript editor: Improve JSDoc extend comment on newline to follow convention (#30800) 2025-05-16 12:42:11 +05:30
yaml vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
bash.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
c.rs Allow to fetch cargo diagnostics separately (#29706) 2025-05-01 11:25:52 +03:00
css.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
go.rs debugger: Rework language association with the debuggers (#29945) 2025-05-06 20:16:41 +02:00
json.rs Rename debug: commands to dev: (#30675) 2025-05-14 11:15:27 +02:00
lib.rs debugger/extensions: Revert changes to extension store related to language config (#30225) 2025-05-08 14:01:39 +02:00
python.rs language: Fix indent suggestions for significant indented languages like Python (#29625) 2025-05-07 23:05:42 +05:30
rust.rs debugger: Fix up Rust test tasks definitions (#30232) 2025-05-08 14:39:56 +02:00
tailwind.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
typescript.rs Add TypeScript support to ESLint flat config (#30044) 2025-05-07 12:49:00 +00:00
vtsls.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
yaml.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00