ZIm/crates/project/src
Conrad Irwin ea322e1d1c
Add "code_actions_on_format" (#7860)
This lets Go programmers configure `"code_actions_on_format": {
  "source.organizeImports": true,
}` so that they don't have to manage their imports manually

I landed on `code_actions_on_format` instead of `code_actions_on_save`
(the
VSCode version of this) because I want to run these when I explicitly
format
(and not if `format_on_save` is disabled).

Co-Authored-By: Thorsten <thorsten@zed.dev>

Release Notes:

- Added `"code_actions_on_format"` to control additional formatting
steps on format/save
([#5232](https://github.com/zed-industries/zed/issues/5232)).
- Added a `"code_actions_on_format"` of `"source.organizeImports"` for
Go ([#4886](https://github.com/zed-industries/zed/issues/4886)).

Co-authored-by: Thorsten <thorsten@zed.dev>
2024-02-15 14:19:57 -07:00
..
debounced_delay.rs Add debounce for re-querying completion documentation 2024-01-31 09:50:26 -05:00
ignore.rs Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
lsp_command.rs Add "code_actions_on_format" (#7860) 2024-02-15 14:19:57 -07:00
lsp_ext_command.rs text: Wrap BufferId into a newtype 2024-01-29 20:00:47 +01:00
prettier_support.rs Clean up LSP servers on worktree release 2024-01-23 11:34:51 +02:00
project.rs Add "code_actions_on_format" (#7860) 2024-02-15 14:19:57 -07:00
project_settings.rs WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
project_tests.rs Cleanup logic for registering languages and grammars (#7593) 2024-02-08 16:24:49 -05:00
search.rs Add project search in gitignored test 2023-12-05 12:45:44 +02:00
terminals.rs Add double quote wrap in activate_python_virtual_environment (#7787) 2024-02-14 12:42:06 -08:00
worktree.rs Fix case-only renaming of files in project panel (#7835) 2024-02-15 19:07:10 +01:00
worktree_tests.rs Fix case-only renaming of files (#7768) 2024-02-14 16:00:31 +01:00