Commit c5f79f4
Log EditorConfig usage and resolved configuration to prevent silent config conflicts (#3867)
* Initial plan
* Add logging for EditorConfig usage and resolved configuration
- Log when EditorConfig support is enabled
- Log the config file path if found
- Log when settings come from .editorconfig (when no Prettier config exists)
- Log the complete resolved configuration
- Simplify logging messages in PrettierEditService
This helps users understand what configuration is being applied, especially
when .editorconfig has settings that affect formatting.
Co-authored-by: ntotten <282782+ntotten@users.noreply.github.com>
* Add logging for custom config path from VS Code settings
Also log when a custom prettier.configPath is specified in VS Code settings
to provide complete visibility into what configuration is being used.
Co-authored-by: ntotten <282782+ntotten@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ntotten <282782+ntotten@users.noreply.github.com>1 parent 53a3b1c commit c5f79f4
2 files changed
Lines changed: 44 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
405 | 417 | | |
406 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
407 | 430 | | |
408 | | - | |
409 | | - | |
410 | | - | |
| 431 | + | |
411 | 432 | | |
412 | 433 | | |
413 | 434 | | |
| |||
419 | 440 | | |
420 | 441 | | |
421 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
422 | 461 | | |
423 | 462 | | |
424 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
| 681 | + | |
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| |||
0 commit comments