AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

feat(dx): add a code-workspace for vscode

Open ntindle opened this issue 1 year ago • 4 comments

User description

Background

Developing autogpt is kinda a pain rn across all the different services. This allows you to have segmented terminals for each that don't try and activate weird poetry envs automatically

Changes 🏗️

PR Quality Scorecard ✨

  • [x] Have you used the PR description template?   +2 pts
  • [ ] Is your pull request atomic, focusing on a single change?   +5 pts
  • [ ] Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • [ ] Have you documented your changes clearly and comprehensively?   +5 pts
  • [ ] Have you changed or added a feature?   -4 pts
    • [ ] Have you added/updated corresponding documentation?   +4 pts
    • [ ] Have you added/updated corresponding integration tests?   +5 pts
  • [ ] Have you changed the behavior of AutoGPT?   -5 pts
    • [ ] Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

PR Type

Enhancement, Configuration changes


Description

  • Added a new VSCode workspace configuration file to streamline development.
  • Defined folder paths for various project directories to organize the workspace.
  • Configured Python analysis settings to enhance code intelligence and auto-completion.
  • Recommended useful extensions for Python development, Flutter, Prisma, SQLite, and workspace terminals.

Changes walkthrough 📝

Relevant files
Configuration changes
autogpt-workspace.code-workspace
Add VSCode workspace configuration for AutoGPT project     

.vscode/autogpt-workspace.code-workspace

  • Added a new VSCode workspace configuration file.
  • Defined folder paths for various project directories.
  • Set Python analysis settings for better code intelligence.
  • Recommended extensions for Python, Flutter, Prisma, SQLite, and
    workspace terminals.
  • +69/-0   

    💡 PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    ntindle avatar Jun 27 '24 21:06 ntindle

    PR Description updated to latest commit (https://github.com/Significant-Gravitas/AutoGPT/commit/8120b4e28dc668f7b9767155da8f8ef3e5799fae)

    qodo-code-review[bot] avatar Jun 27 '24 21:06 qodo-code-review[bot]

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review [1-5] 2
    🧪 Relevant tests No
    🔒 Security concerns No
    ⚡ Key issues to review None

    qodo-code-review[bot] avatar Jun 27 '24 21:06 qodo-code-review[bot]

    Deploy Preview for auto-gpt-docs canceled.

    Name Link
    Latest commit 2e4276dba4b566b15696c37ea077eb9b105bc295
    Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/6690148375f4b20007b72b0a

    netlify[bot] avatar Jun 27 '24 21:06 netlify[bot]

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Enhancement
    Enhance type checking by setting it to strict mode

    To ensure better compatibility and performance, consider setting the
    python.analysis.typeCheckingMode to strict instead of basic.

    .vscode/autogpt-workspace.code-workspace [47]

    -"python.analysis.typeCheckingMode": "basic"
    +"python.analysis.typeCheckingMode": "strict"
     
    
    • [ ] Apply this suggestion
    Suggestion importance[1-10]: 8

    Why: Setting the type checking mode to strict can catch more potential issues during development, improving code quality and reducing bugs.

    8

    qodo-code-review[bot] avatar Jun 27 '24 21:06 qodo-code-review[bot]