{"id":20484889,"url":"https://github.com/SAP-archive/vscode-abap-cds","last_synced_at":"2025-05-09T03:30:44.073Z","repository":{"id":45426992,"uuid":"186006976","full_name":"SAP-samples/vscode-abap-cds","owner":"SAP-samples","description":"Vscode language support for ABAP CDS Views.","archived":false,"fork":false,"pushed_at":"2022-09-10T08:23:06.000Z","size":190,"stargazers_count":9,"open_issues_count":5,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2023-10-20T22:58:31.113Z","etag":null,"topics":["abap","cds","highlighting","sample","sample-code","vscode"],"latest_commit_sha":null,"homepage":"","language":null,"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/SAP-samples.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}},"created_at":"2019-05-10T14:57:51.000Z","updated_at":"2022-11-22T22:29:45.000Z","dependencies_parsed_at":"2023-01-18T02:45:30.602Z","dependency_job_id":null,"html_url":"https://github.com/SAP-samples/vscode-abap-cds","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fvscode-abap-cds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fvscode-abap-cds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fvscode-abap-cds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fvscode-abap-cds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/vscode-abap-cds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224809826,"owners_count":17373683,"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":["abap","cds","highlighting","sample","sample-code","vscode"],"created_at":"2024-11-15T16:26:29.192Z","updated_at":"2025-05-09T03:30:44.066Z","avatar_url":"https://github.com/SAP-samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Deprecation Notice\n\nThis public repository is read-only and no longer maintained.\n\n![](https://img.shields.io/badge/STATUS-NOT%20CURRENTLY%20MAINTAINED-red.svg?longCache=true\u0026style=flat)\n\n---\n\n# Vscode-ABAP-CDS\n\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/vscode-abap-cds)](https://api.reuse.software/info/github.com/SAP-samples/vscode-abap-cds)\n\n## Description\n\nLanguage support for ABAP CDS views. Includes syntax higlighting and code snippets.\n\nIf you're looking for CDS for SAP Cloud Platform Application Programming Model (CAP), you won't find it in the marketplace yet. However, you can download it as a .vsix from [here](https://tools.hana.ondemand.com/#hanatools).\n\n![sample screenshot](screenshot.png)\n\n## Requirements\n\nAn up-to-date Visual Studio Code installation is all you need.\n\n## Download and Installation\n\nYou can install the extension from within the editor or from the marketplace:\nhttps://marketplace.visualstudio.com/items?itemName=hudakf.cds\n\n## Configuration\n\nIf you want to customize the token colors, add an `editor.tokenColorCustomizations` section to your vscode `settings.json`. The following example will change the color of annotations. You can color the annotation symbol as well as each \"level\" of member access separately, up to 5 levels.\n\n```json\n\"editor.tokenColorCustomizations\": {\n    \"textMateRules\": [\n        {\n            \"scope\": \"comment.line.annotation.symbol.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#a8ad5b\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#d0f38e\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.lvl1.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#cfb879\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.lvl2.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#ff6abc\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.lvl3.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#02cc0c\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.lvl4.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#bee437\"\n            }\n        },\n        {\n            \"scope\": \"comment.line.annotation.property.lvl5.abapcds\",\n            \"settings\": {\n                \"foreground\": \"#ffef0d6c\"\n            }\n        },\n    ]\n},\n```\n\n- Color of braces/brackets:\n\n```json\n{\n    \"scope\": \"punctuation.abapcds\",\n    \"settings\": {\n        \"foreground\": \"#e71527af\"\n    }\n}\n```\n\nLight up your code like a christmas tree!\n![customized highlighting](./example-customized.png)\n\n## Known issues\n\nThe highlighting grammar is a very simplified version of the ABAP CDS language structure. 99% of the language should be covered correctly, but some more complicated constructs can be higlighted unexpectedly. If you see anything outright wrong, please create an issue.\n\n## How to obtain support\n\nCreate a new issue in this repository.\n\n## Contributing\n\nSmall pull requests are welcome. Describe your change in the pull request. You will find everything you need to know about how the extension works at https://code.visualstudio.com/api/language-extensions/overview.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSAP-archive%2Fvscode-abap-cds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSAP-archive%2Fvscode-abap-cds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSAP-archive%2Fvscode-abap-cds/lists"}