halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
32.47k stars 9.45k forks source link

Add devcontainer support #6252

Open JohnNiang opened 3 days ago

JohnNiang commented 3 days ago

What type of PR is this?

/kind improvement /area core

What this PR does / why we need it:

This PR adds devcontainer support for a better development experience.

Does this PR introduce a user-facing change?

None
f2c-ci-robot[bot] commented 3 days ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from johnniang. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/halo-dev/halo/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.06%. Comparing base (bc10336) to head (b83e560). Report is 56 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6252 +/- ## ============================================ + Coverage 54.51% 58.06% +3.55% - Complexity 3523 3757 +234 ============================================ Files 646 648 +2 Lines 21862 22014 +152 Branches 1528 1547 +19 ============================================ + Hits 11917 12782 +865 + Misses 9328 8612 -716 - Partials 617 620 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ruibaby commented 2 days ago

是不是配置一下 extensions 字段?比如添加 VSCode 的 Java Pack、Vue Official、EditorConfig、ESlint 这些所需插件。