{"id":13457925,"url":"https://github.com/cedar-policy/vscode-cedar","last_synced_at":"2026-03-27T01:57:31.219Z","repository":{"id":186114712,"uuid":"673525144","full_name":"cedar-policy/vscode-cedar","owner":"cedar-policy","description":"Cedar policy language extension for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2026-03-19T21:05:58.000Z","size":3511,"stargazers_count":25,"open_issues_count":6,"forks_count":5,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-03-20T12:16:59.588Z","etag":null,"topics":["cedar","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=cedar-policy.vscode-cedar","language":"TypeScript","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/cedar-policy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-01T20:37:25.000Z","updated_at":"2026-03-19T21:06:01.000Z","dependencies_parsed_at":"2024-02-16T17:51:57.023Z","dependency_job_id":"b12e1ef7-52c4-4984-8665-71d7bed41a2b","html_url":"https://github.com/cedar-policy/vscode-cedar","commit_stats":null,"previous_names":["cedar-policy/vscode-cedar"],"tags_count":24,"template":false,"template_full_name":"amazon-archives/__template_Apache-2.0","purl":"pkg:github/cedar-policy/vscode-cedar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedar-policy%2Fvscode-cedar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedar-policy%2Fvscode-cedar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedar-policy%2Fvscode-cedar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedar-policy%2Fvscode-cedar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedar-policy","download_url":"https://codeload.github.com/cedar-policy/vscode-cedar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedar-policy%2Fvscode-cedar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31008503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T01:56:05.093Z","status":"ssl_error","status_checked_at":"2026-03-27T01:55:48.776Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cedar","vscode","vscode-extension"],"created_at":"2024-07-31T09:00:39.785Z","updated_at":"2026-03-27T01:57:31.192Z","avatar_url":"https://github.com/cedar-policy.png","language":"TypeScript","funding_links":[],"categories":["IDE and Editor Extensions"],"sub_categories":["Unofficial"],"readme":"# Cedar policy language for Visual Studio Code\n\nThe Cedar policy language extension for Visual Studio Code supports syntax highlighting, formatting, and validation.  Install from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=cedar-policy.vscode-cedar) or by [searching within VS Code](https://code.visualstudio.com/docs/editor/extension-gallery#_search-for-an-extension).\n\nCedar is an open-source language for writing authorization policies and making authorization decisions based on those policies. Visit the [Cedar policy language reference guide](https://docs.cedarpolicy.com/) for the documentation and the language specification.\n\n**Note:** The release version of this extension uses Cedar SDK 4.x.\n\n## Features\n\n### Cedar policy language\n\nFiles matching `*.cedar` are detected as a Cedar policy language and receive syntax highlighting.  Validation is performed on document open, document save, during formatting, and via context menu.  IntelliSense for entity types and attributes.  Formatting can disabled per file using a leading comment line of `// @formatter:off`.  Policy navigation using Outline or Breadcrumb.  \"Go to Definition\" on Cedar entity types and action names.  Policies are exportable to their JSON representation (`*.cedar.json`) and receive syntax highlighting.\n\n![Cedar policy validation and navigation](https://raw.githubusercontent.com/cedar-policy/vscode-cedar/main/docs/marketplace/cedar_policy.gif)\n\n### Cedar schema\n\nFiles named `cedarschema` or matching `*.cedarschema` are detected as a Cedar schema and receive additional syntax highlighting.  Validation is performed on document open, document save, and via context menu.  When a Cedar schema file is detected or configured in [Settings](#settings), additional validation of Cedar files uses that schema.  Entity type navigation using Outline or Breadcrumb.  \"Go to Definition\" on Cedar entity types and action names.  The Cedar schema JSON format is supported for files named `cedarschema.json` or matching `*.cedarschema.json`.\n\n![Cedar schema validation and navigation](https://raw.githubusercontent.com/cedar-policy/vscode-cedar/main/docs/marketplace/cedar_schema.gif)\n\n### Cedar entities\n\nFiles named `cedarentities.json` or matching `*.cedarentities.json` are detected as Cedar entities and receive additional syntax highlighting.  Validation is performed against a Cedar schema on document open, document save, and via context menu.  IntelliSense for entity types and add entity via context menu.  Entity navigation using Outline or Breadcrumb.  \"Go to Definition\" on Cedar entity types.\n\n![Cedar entities validation and navigation](https://raw.githubusercontent.com/cedar-policy/vscode-cedar/main/docs/marketplace/cedar_entities.gif)\n\n### Cedar CLI\n\nVarious commands of the `cedar` CLI take JSON formatted file inputs.  Files named `cedarauth.json` or matching `*.cedarauth.json` are detected as input to the `--request-json` option for the `authorize` command.  Files named `cedartemplatelinks.json` or matching `*.cedartemplatelinks.json` are detected as input to the `--template-linked` option for the `authorize` command.  These files receive additional syntax highlighting.\n\n### Markdown\n\nSyntax highlighting of `cedar` and `cedarschema` code fence blocks within markdown (`*.md`) files.\n\n![Cedar markdown syntax highlighting](https://raw.githubusercontent.com/cedar-policy/vscode-cedar/main/docs/marketplace/cedar_markdown.png)\n\n### Command Palette\n\nTo see all available Cedar commands, open the [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) and type **Cedar**.\n\n![Cedar Command Palette](https://raw.githubusercontent.com/cedar-policy/vscode-cedar/main/docs/marketplace/cedar_commands.png)\n\n### Settings\n\nSample `.vscode/settings.json` which enables `editor` settings for `cedar` files, sets a workspace level Cedar schema, and enables auto detection of folder level Cedar schema files.\n\n```json\n{\n  \"[cedar]\": {\n    \"editor.tabSize\": 2,\n    \"editor.wordWrapColumn\": 80,\n    \"editor.formatOnSave\": true,\n    \"editor.defaultFormatter\": \"cedar-policy.vscode-cedar\",\n  },\n  \"cedar.schemaFile\": \"tinytodo.cedarschema\",\n  \"cedar.autodetectSchemaFile\": true,\n}\n```\n\n## Troubleshooting\n\nSubmit bug reports and feature requests [on our GitHub repository](https://github.com/cedar-policy/vscode-cedar/issues). For potential security issues, visit [reporting a vulnerability](https://github.com/cedar-policy/vscode-cedar/security/policy) for instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedar-policy%2Fvscode-cedar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedar-policy%2Fvscode-cedar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedar-policy%2Fvscode-cedar/lists"}