Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .vscode folder to .gitignore #33

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

SarahFrench
Copy link
Member

I've been using VS Code's debugger to learn about this codebase, which means making files in a .vscode folder. By gitignoring this folder I can save and forget about the debugging config I've made there.

Here's the debug config I've been using. I'd prefer to not commit it to this repo as committing the .vscode/launch.json file would mean that people have to use the config prescribed by the repo.

{
    "version": "0.2.0",
    "configurations": [
        {
            // Allows running the project in debug mode against the example files
            "name": "Run Tool in Debug Mode",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceFolder}",
            "args": [
                "diff", // diff or update
                "--goldens=./examples/example_golden_files",
                "--tests=./examples/example_test_cases",
                "--filters=complex_resource",
            ],
        },
    ],
}

@SarahFrench SarahFrench requested a review from a team as a code owner December 11, 2024 16:13
@SarahFrench
Copy link
Member Author

Thanks!

@SarahFrench SarahFrench merged commit fcceab6 into main Dec 11, 2024
4 checks passed
@SarahFrench SarahFrench deleted the gitignore-vscode-folder branch December 11, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants