{"id":30136451,"url":"https://github.com/wraith13/file-attributes-vscode","last_synced_at":"2025-10-10T10:33:17.847Z","repository":{"id":304326405,"uuid":"1018360648","full_name":"wraith13/file-attributes-vscode","owner":"wraith13","description":"This is a VS Code Extension that refers to .gitattributes and .gitignore, and displays a message at the top of files that are either auto-generated or not under source control.","archived":false,"fork":false,"pushed_at":"2025-07-28T10:25:11.000Z","size":1678,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T23:27:13.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=wraith13.file-attributes","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wraith13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-12T05:19:33.000Z","updated_at":"2025-07-28T10:25:15.000Z","dependencies_parsed_at":"2025-07-12T12:19:52.226Z","dependency_job_id":"cb3447f2-995c-4f7a-b3f8-60d92d71191b","html_url":"https://github.com/wraith13/file-attributes-vscode","commit_stats":null,"previous_names":["wraith13/file-attributes-vscode"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wraith13/file-attributes-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Ffile-attributes-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Ffile-attributes-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Ffile-attributes-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Ffile-attributes-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wraith13","download_url":"https://codeload.github.com/wraith13/file-attributes-vscode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraith13%2Ffile-attributes-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003549,"owners_count":26083595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-10T23:08:32.744Z","updated_at":"2025-10-10T10:33:17.842Z","avatar_url":"https://github.com/wraith13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Attributes VS Code Extension README\n\nThis is a VS Code Extension that refers to `.gitattributes` and `.gitignore`, and displays a message at the top of files that are either auto-generated or not under source control.\n\nSupport languages: English(en), Čeština(cs), Deutsch(de), Español(es), Français(fr), Magyar(hu), Italiano(it), 日本語(ja), 한국어(ko), Polski(pl), Português Brasileiro(pt-br), Русский(ru), Türkçe(tr), 简体中文(zh-cn), 繁體中文(zh-tw)\n\n## Screenshots\n\n![Screenshot: \"This file is auto-generated.\"](./images/screenshot.png)\n![Screenshot: \"This file is ignored by source control.\"](./images/screenshot2.png)\n\n## Tutorial\n\n### 0. ⬇️ Install File Attributes\n\nShow extension side bar within VS Code(Mac:\u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eX\u003c/kbd\u003e, Windows and Linux: \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eX\u003c/kbd\u003e), type `file-attributes-vscode` and press \u003ckbd\u003eEnter\u003c/kbd\u003e and click \u003ckbd\u003eInstall\u003c/kbd\u003e. Restart VS Code when installation is completed.\n\n### 1. ✨️ Automatic Warning Display\n\nThis extension has no settings or commands. When you open files that are specified as auto-generated in `.gitattributes` or ignored by `.gitignore`, a warning message is automatically displayed at the top of the file.\n\nEnjoy!\n\n## Indicating Auto-Generated Files in `.gitattributes`\n\nTo explicitly mark files as auto-generated in your repository, you can use the `.gitattributes` file. By specifying certain attributes, you inform tools and contributors that these files are generated automatically and should not be manually edited.\n\nFor example, you can add the following line to your `.gitattributes` file:\n\n```gitattributes\n# Mark all files in the 'generated/' directory as auto-generated\ngenerated/* linguist-generated=true\n```\n\nOr, to mark specific file types as auto-generated:\n\n```gitattributes\n# Mark all .pb.go files as auto-generated\n*.pb.go linguist-generated=true\n```\n\nThe `linguist-generated=true` attribute is recognized by many tools (such as GitHub) to identify generated files. This extension also uses this attribute to display a message at the top of the file in VS Code, warning users that the file is auto-generated.\n\n**Note:** You can adjust the file patterns as needed for your project structure.\n\nNo further configuration is required—just maintain your `.gitattributes` file as usual.\n\n## Indicating Ignored Files in `.gitignore`\n\nTo have this extension display a warning for files ignored by source control, add file patterns to your `.gitignore` file as you normally would. For example:\n\n```gitignore\n# Ignore all log files\n*.log\n\n# Ignore build output directories\n/dist/\n/build/\n```\n\nWhen you open a file in VS Code that matches a pattern in `.gitignore`, the extension will automatically show a message at the top of the file indicating it is ignored by source control.\n\nNo additional configuration is required—just maintain your `.gitignore` as usual.\n\n## Release Notes\n\nsee ChangLog on [marketplace](https://marketplace.visualstudio.com/items/wraith13.file-attributes-vscode/changelog) or [github](https://github.com/wraith13/file-attributes-vscode/blob/master/CHANGELOG.md)\n\n## Support\n\n[GitHub Issues](https://github.com/wraith13/file-attributes-vscode/issues)\n\n## License\n\n[Boost Software License](https://github.com/wraith13/file-attributes-vscode/blob/master/LICENSE_1_0.txt)\n\n## Download VSIX file ( for VS Code compatible softwares )\n\n[Releases · wraith13/file-attributes-vscode](https://github.com/wraith13/file-attributes-vscode/releases)\n\n## Other extensions of wraith13's work\n\n|Icon|Name|Description|\n|---|---|---|\n|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/unsaved-files-vscode/2.1.1/1562823380255/Microsoft.VisualStudio.Services.Icons.Default) |[Unsaved Files](https://marketplace.visualstudio.com/items?itemName=wraith13.unsaved-files-vscode)|Easy access to unsaved files for VS Code.|\n|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/file-path-bar/2.1.7/1657292091279/Microsoft.VisualStudio.Services.Icons.Default) |[File Path Bar](https://marketplace.visualstudio.com/items?itemName=wraith13.file-path-bar)|Show active file path in status bar.|\n|![](https://wraith13.gallerycdn.vsassets.io/extensions/wraith13/open-in-github-desktop/1.4.3/1658183901851/Microsoft.VisualStudio.Services.Icons.Default) |[Open in GitHub Desktop](https://marketplace.visualstudio.com/items?itemName=wraith13.zoombar-vscode)|Open in GitHub Desktop from VS Code.|\n\nSee all wraith13's expansions: \u003chttps://marketplace.visualstudio.com/publishers/wraith13\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraith13%2Ffile-attributes-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwraith13%2Ffile-attributes-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraith13%2Ffile-attributes-vscode/lists"}