ZIm/crates/project2/src
Kirill Bulatov a67a283bdf Do not use prettier for formatting node_modules/** files (#3286)
Fixes

> the most annoying thing i'm running into right now is that when i'm
patching something inside node_modules, Zed tries to pretty-format it
according to my prettier config. this messes up the patch because it has
formatting changes now. i need the pretty formatting on save to be off
inside node_modules, that never makes sense

feedback from #influencers 

Do note though, that language servers will still format any file inside
node_modules, but at least it's not prettier now.
VSCode seem to format the node_modules/** files via language servers
too, so that seems ok for now, and the rest could be fixed during

> "project diagnostics" (eslint) seem to be running inside node_modules,
e.g. i'm seeing 3182 "errors" in my project. that doesn't make sense and
probably wastes resources in addition to being annoying

feedback later.

Release Notes:

- Fixed prettier formatting files inside node_modules
2023-11-09 11:19:38 -05:00
..
ignore.rs WIP 2023-10-23 11:43:08 +02:00
lsp_command.rs Rename Handle to Model 2023-10-30 19:44:01 +01:00
project2.rs Do not use prettier for formatting node_modules/** files (#3286) 2023-11-09 11:19:38 -05:00
project_settings.rs Load themes from settings and rework Settings trait 2023-10-25 20:37:55 +02:00
project_tests.rs Detect prettier in npm workspaces correctly (#3219) 2023-11-03 22:15:49 +02:00
search.rs Detect prettier in npm workspaces correctly (#3219) 2023-11-03 22:15:49 +02:00
terminals.rs Add the entity trait and implement for models, views, subscriptions, and observations 2023-10-30 17:50:21 -07:00
worktree.rs Fix prettier errors around Zed's settings.json/keymap.json files 2023-10-31 12:26:49 +02:00
worktree_tests.rs WIP 2023-10-23 11:43:08 +02:00