{"id":14108984,"url":"https://github.com/hasit/vscode-gi","last_synced_at":"2026-01-21T15:39:12.283Z","repository":{"id":69388076,"uuid":"69493545","full_name":"hasit/vscode-gi","owner":"hasit","description":"Visual Studio Code extension for generating .gitignore files easily.","archived":false,"fork":false,"pushed_at":"2018-08-06T17:48:11.000Z","size":7450,"stargazers_count":20,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-14T10:13:59.143Z","etag":null,"topics":["command-palette","git","gitignore","gitignore-files","visual-studio-code"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=rubbersheep.gi","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-28T18:49:07.000Z","updated_at":"2024-06-11T11:14:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e7d4005-a566-48b1-81dc-215d96869972","html_url":"https://github.com/hasit/vscode-gi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasit%2Fvscode-gi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasit%2Fvscode-gi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasit%2Fvscode-gi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasit%2Fvscode-gi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasit","download_url":"https://codeload.github.com/hasit/vscode-gi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228351570,"owners_count":17906506,"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","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":["command-palette","git","gitignore","gitignore-files","visual-studio-code"],"created_at":"2024-08-14T10:01:57.643Z","updated_at":"2026-01-21T15:39:12.273Z","avatar_url":"https://github.com/hasit.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# ![vscode-icon](assets/icon-64x64.png)\n\n[![gi version](https://vsmarketplacebadge.apphb.com/version-short/rubbersheep.gi.svg)](https://marketplace.visualstudio.com/items?itemName=rubbersheep.gi) [![gi installs](https://vsmarketplacebadge.apphb.com/installs/rubbersheep.gi.svg)](https://marketplace.visualstudio.com/items?itemName=rubbersheep.gi) [![gi ratings](https://vsmarketplacebadge.apphb.com/rating-short/rubbersheep.gi.svg)](https://marketplace.visualstudio.com/items?itemName=rubbersheep.gi#review-details)\n\n[![Build Status](https://travis-ci.org/hasit/vscode-gi.svg?branch=master)](https://travis-ci.org/hasit/vscode-gi)\n\n`gi` stands for 'gitignore'. It is an extension for generating .gitignore files from inside Visual Studio Code. `gi` uses the [gitignore.io](https://www.gitignore.io) API to keep the list of operating systems, IDEs and programming languages updated.\n\n![Usage of gi](assets/gi.gif)\n\n## Install\nPress `Cmd+P` for MacOS and `Ctrl+P` for Linux/Windows to launch VS Code Quick Open, paste the following command, and press enter.\n\n```\next install gi\n```\n\n## Usage\n\nOnce you install and reload Visual Studio Code, you can run the extension by launching the Command Palette with `Shift+Cmd+P` for MacOS and `Shift+Ctrl+P` for Linux/Windows. Type in the following into the command palette.\n\n```\ngi\n```\n\n![Launch gi from Command Palette](assets/cp.png)\n\nOnce you press enter, `gi` will load a list of operating systems, IDEs, and programming lanuages. This might take a second so bear with it.\n\n![List presented by gi](assets/list.png)\n\nYou can search for (yay `showQuickPick()`!) the operating system, IDE, or programming lanuage you want to generate a .gitignore file for. Even though I would like you (the user) to be able to pick multiple items from the list, it is currenly not supported by [vscode namespace API](https://code.visualstudio.com/docs/extensionAPI/vscode-api). I have put in a feature request [here](https://github.com/Microsoft/vscode/issues/12925), but it seems that it has been on the todo list for quite some time now [here](https://github.com/Microsoft/vscode/issues/238).\n\n`gi` will show the result of your actions in two places depending on importance.\n1. InformationMessage - InformationMessage is the toast that slides down and requires an action from you. High level details such as '.gitignore created' are shown here.\n2. StatusBarMessage - Status bar (View -\u003e Toggle Status Bar) is at the bottom of the window. Low level details such as 'You picked node.' are shown here.\n\nAt any moment you can press the `Escape - \u003cesc\u003e` key to stop `gi`.\n\n## Todo \n\n- Add tests.\n- Add multi-select support to list.\n\n## Contributing\n\nThis is my very first extension for Visual Studio Code. If you find the code to be bug ridden, with mistakes or just plain old amazing, send in a word. You are welcome to comment/ask questions/post issues/send PRs on the [Github page](https://github.com/hasit/vscode-gi). \n\n## Note\n\n`gi` uses the API exposed by [gitignore.io](https://www.gitignore.io). I made this extension as a learning experience.\n\nI would like to thank [Joe Blau](https://joeblau.com) for this work on [gitignore.io](https://www.gitignore.io)'s API and [Jason Long](http://www.jasonlong.me) for his help with creating the awesome icon used by `gi`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasit%2Fvscode-gi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasit%2Fvscode-gi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasit%2Fvscode-gi/lists"}