Skip to content

Comments

Remove VSCode config and documentation files#1371

Merged
Zeyi-Lin merged 9 commits intomainfrom
feat/s3
Dec 10, 2025
Merged

Remove VSCode config and documentation files#1371
Zeyi-Lin merged 9 commits intomainfrom
feat/s3

Conversation

@SAKURA-CAT
Copy link
Member

Deleted all files in the .vscode directory and several documentation markdown files. This cleans up editor-specific settings and outdated or unnecessary documentation from the repository.

Deleted all files in the .vscode directory and several documentation markdown files. This cleans up editor-specific settings and outdated or unnecessary documentation from the repository.
@SAKURA-CAT SAKURA-CAT requested a review from Zeyi-Lin December 10, 2025 14:02
@SAKURA-CAT SAKURA-CAT self-assigned this Dec 10, 2025
@SAKURA-CAT SAKURA-CAT added the 💪 enhancement New feature or request label Dec 10, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @SAKURA-CAT, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the project's development environment by removing specific VSCode configurations and outdated or unnecessary documentation. Concurrently, it introduces comprehensive IntelliJ/PyCharm project configurations, suggesting an alignment with or enhanced support for JetBrains IDEs. This cleanup and configuration update aim to reduce repository clutter and standardize development setup.

Highlights

  • VSCode Configuration Removal: All editor-specific configuration files for VSCode (e.g., extensions.json, launch.json, settings.json, swanlab.code-snippets) have been removed from the .vscode directory.
  • Documentation Cleanup: Several markdown documentation files (e.g., 实验元数据.md, 开放API.md, 插件化设计.md, 登录认证.md, 硬件信息采集.md) have been deleted from the docs/ directory.
  • IntelliJ/PyCharm Configuration Addition: New .idea directories and associated configuration files have been added at the project root and within the core/ subdirectory, indicating support or a shift towards IntelliJ/PyCharm.
  • Git Ignore Update: The .gitignore file has been updated to properly ignore the new .idea directories and their contents.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to clean up editor-specific settings and documentation. While removing the .vscode directory is a positive step towards making the repository editor-agnostic, adding JetBrains IDE settings (.idea files) contradicts this goal. It's highly recommended to add .idea/ to the .gitignore file to avoid committing user-specific editor configurations. Additionally, this PR removes several documentation files that appear to contain crucial information. The removal of this documentation could be detrimental to the project unless it's being replaced or moved elsewhere. Please clarify the reasoning behind the documentation removal.

I am having trouble creating individual review comments. Click here to see my feedback.

.gitignore (23)

critical

Editor-specific configuration files, such as those in the .idea directory for JetBrains IDEs, should not be committed to the repository. By commenting out this line, you are allowing these files to be tracked by Git. This can lead to conflicts and clutter the project history with personal settings. It's best practice to keep the repository editor-agnostic. Please re-add .idea/ to this file to ignore these configurations.

.idea/

docs/实验元数据.md (1-138)

high

This pull request removes several documentation files, including this one about 'Experiment Metadata'. The pull request description states they are 'outdated or unnecessary', but these documents seem to cover important aspects of the project. Removing them without a clear replacement could make it harder for new contributors and users to understand the project. Could you please clarify if this information is documented elsewhere or explain why it's no longer relevant?

Added a custom dictionary for the word 'noctx' in the project settings. Suppressed 'noctx' and 'revive' linter warnings in core.go and api.go, respectively, to address linter feedback and document intentional code decisions.
Added explanatory comments regarding future use of context in core.go and clarified nolint:revive usage in api.go and parse.go, indicating that package naming will not be changed for now.
Added 'cunyue' to the project dictionary and updated inline comments in Go files to use proper comment syntax for clarity and consistency.
Deleted the 'nolint:revive' comment from the package declaration in api.go, allowing standard linting checks to apply.
Deleted the core/internal/api/api.go file as it is no longer needed. Also updated the package comment in parse.go to remove the nolint directive.
Introduces a new api.go file for the SwanLab API, updates the .golangci.yml to configure revive linter for 'API' variable naming, and adds a nolint directive in parse.go to suppress revive warnings for the package name.
Cleaned up the package declaration by removing the nolint directive and an extraneous 'revive' line in parse.go.
Removes the custom var-naming rule for 'API' in the revive linter and adds a new exclusion for var-naming warnings in the internal/api directory.
@Zeyi-Lin Zeyi-Lin merged commit fb8493b into main Dec 10, 2025
6 checks passed
@SAKURA-CAT SAKURA-CAT deleted the feat/s3 branch December 11, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants