{"id":15022816,"url":"https://github.com/tragiccode/tragiccode-vscode","last_synced_at":"2025-04-02T04:31:52.925Z","repository":{"id":21481272,"uuid":"92965817","full_name":"TraGicCode/tragiccode-vscode","owner":"TraGicCode","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-07T10:48:23.000Z","size":134,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T10:51:15.551Z","etag":null,"topics":["hacktoberfest","puppet","puppet-module","visual-studio-code","vscode"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TraGicCode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-05-31T16:21:16.000Z","updated_at":"2023-10-05T12:04:33.000Z","dependencies_parsed_at":"2024-09-22T06:00:59.717Z","dependency_job_id":null,"html_url":"https://github.com/TraGicCode/tragiccode-vscode","commit_stats":{"total_commits":76,"total_committers":3,"mean_commits":"25.333333333333332","dds":0.4605263157894737,"last_synced_commit":"fd37ac979789d42a7c4ad867c3c71f3aa48c78b3"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TraGicCode%2Ftragiccode-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TraGicCode%2Ftragiccode-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TraGicCode%2Ftragiccode-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TraGicCode%2Ftragiccode-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TraGicCode","download_url":"https://codeload.github.com/TraGicCode/tragiccode-vscode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246757523,"owners_count":20828912,"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":["hacktoberfest","puppet","puppet-module","visual-studio-code","vscode"],"created_at":"2024-09-24T19:58:24.912Z","updated_at":"2025-04-02T04:31:47.905Z","avatar_url":"https://github.com/TraGicCode.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode\n\n[![Puppet Forge](http://img.shields.io/puppetforge/v/tragiccode/vscode.svg)](https://forge.puppetlabs.com/tragiccode/vscode)\n\n#### Table of Contents\n\n1. [Description](#description)\n1. [Setup - The basics of getting started with vscode](#setup)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with vscode](#beginning-with-vscode)\n1. [Usage - Configuration options and additional functionality](#usage)\n    * [Install vscode only](#install_vscode_only)\n1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nThe vscode module installs and manages microsoft's visualstudio code, it's extensions, and user preference settings on Windows systems.\n\nvisualstudio code is an ide used by developers to write code.\n\n## Setup\n\n### Setup Requirements\n\nThe vscode module requires the following:\n\n* Puppet Agent 4.0 or later.\n* Access to the internet.\n* Windows Server 8 and up.\n\n### Beginning with vscode\n\n**NOTE: The vscode class currently only works on windows.**\n\nTo get started with the vscode module simply include the following in your manifest:\n\n```puppet\nclass { 'vscode':\n    package_ensure =\u003e 'present',\n}\n```\n\nThis example downloads and installs vscode version 1.12.2.  After running this you be have visual studio code installed and ready to go.\n\n\nA more advanced configuration including all attributes available:\n\n```puppet\nclass { 'vscode':\n   package_ensure                =\u003e 'present',\n   vscode_download_url           =\u003e 'https://company-name.s3.amazonaws.com/binaries/vscode-latest.exe',\n   vscode_download_absolute_path =\u003e 'C:\\\\Windows\\\\Temp',\n   create_desktop_icon           =\u003e true,\n   create_quick_launch_icon      =\u003e true,\n   create_context_menu_files     =\u003e true,\n   create_context_menu_folders   =\u003e true,\n   add_to_path                   =\u003e true,\n   icon_theme                    =\u003e 'vs-seti',\n   color_theme                   =\u003e 'Monokai Dimmed',\n }\n```\n\nThe above is just an example of the flexibility you have with this module.  You will generally never need to specify every or even so many parameters as shown since the defaults for installation apply almost every feature available during install time.  The one parameter you might use is the vscode_download_url.  This will allow you to another http url to download vscode from that is not pinned to version 1.12.2 like this module from microsoft's visualstudio code download page.\n\n\n## Usage\n\n### Install vscode an extension\n\nLets look at an example of installing visual studio code along with installing a plugin to help you with puppet development\n\n```puppet\nclass { 'vscode':\n    package_ensure =\u003e 'present',\n}\n\nvscode_extension { 'jpogran.puppet':\n  ensure  =\u003e 'present',\n  require =\u003e Class['vscode'],\n}\n```\n\n### Uninstall a vscode extension\n```puppet\nclass { 'vscode':\n    package_ensure =\u003e 'present',\n}\n\nvscode_extension { 'jpogran.puppet':\n  ensure  =\u003e 'absent',\n  require =\u003e Class['vscode'],\n}\n```\n\n### Customize color them and icon theme\n```puppet\nclass { 'vscode':\n    package_ensure =\u003e 'present',\n    color_theme    =\u003e 'Monokai Dimmed',\n    icon_theme     =\u003e 'vs-seti',\n}\n\n```\n\n## Reference\n\n### Classes\n\nParameters are optional unless otherwise noted.\n\n#### `vscode`\n\nInstalls and configures visual studio code based on user preferences/settings.\n\n#### `package_ensure`\n\nSpecifies whether the visualstudiocode package resource should be present. Valid options: 'present', 'installed' and 'absent'.\n\nDefault: 'present'.\n\n#### `vscode_download_url`\n\nhttp/https url in which a visualstudiocode installer can be downloaded.\n\nDefault: 'https://az764295.vo.msecnd.net/stable/19222cdc84ce72202478ba1cec5cb557b71163de/VSCodeSetup-1.12.2.exe'\n\n#### `vscode_download_absolute_path`\n\nThe location in which to store the downloaded vscode installer at on the filesystem.\n\nDefault: 'C:\\Temp\\VSCodeSetup-1.12.2.exe'\n\n#### `create_desktop_icon`\n\nSpecifies whether to create an icon/shortcut for visualstudiocode on the user's desktop.\n\nDefault: true.\n\n#### `create_quick_launch_icon`\n\nSpecifies whether to add visualstudiocode on the user's quicklaunch section of their taskbar.\n\nDefault: true.\n\n#### `create_context_menu_files`\n\nSpecifies whether to add the open in code context menu item when a user right clicks a file.\n\nDefault: true.\n\n#### `create_context_menu_folders`\n\nSpecifies whether to add the open in code context menu item when a user right clicks a folder.\n\nDefault: true.\n\n#### `add_to_path`\n\nSpecifies whether to add the bin directory of visualstudio code to the user's system path.\n\nDefault: true.\n\n#### `color_theme`\n\nSpecifies which color theme should be used in vscode.\n\nDefault: undef.\n\n#### `icon_theme`\n\nSpecifies which icon theme should be used in vscode.\n\nDefault: undef.\n\n### Types\n\nParameters are optional unless otherwise noted.\n\n#### `vscode::extension`\n\nInstalls visual studio code extensions published by the community.\n\n#### `ensure`\n\nSpecifies whether the visualstudiocode extension should be present. Valid options: 'present', 'installed' and 'absent'.\n\nDefault: 'present'.\n\n##### `extension_name`\n\nSpecifies a visualstudiocode extension to manage. Valid options: a string containing the name of an existing visualstudiocode extension.\n\nDefault: the title of your declared resource.\n\n## Limitations\n\nThis module is only available for Windows 8 and up and works with Puppet 4.0 and later.\n\n## Development\n\n## Contributing\n\n1. Fork it ( https://github.com/tragiccode/tragiccode-vscode/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftragiccode%2Ftragiccode-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftragiccode%2Ftragiccode-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftragiccode%2Ftragiccode-vscode/lists"}