{"ref":"content:tips-and-tricks-for-annotations-in-cap-projects-using-lsp","page":"/content/tips-and-tricks-for-annotations-in-cap-projects-using-lsp","json":"/content/tips-and-tricks-for-annotations-in-cap-projects-using-lsp.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"tips-and-tricks-for-annotations-in-cap-projects-using-lsp","title":"Tips and Tricks for Working with Annotations in CAP Projects using Language Server Protocol (LSP) capabilities","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/tips-and-tricks-for-working-with-annotations-in-cap-projects-using-language/ba-p/13511064","content_type":"blog","explains":[{"ref":"capability:editor-support","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:fiori-annotations","applies_to":{"ecosystems":["cap"]}}],"summary":"Four settings, from somebody who works on the annotation language server. The premise is the interesting part: CAP's annotation syntax is looser than [ABAP CDS](artifact:abap-cds) or EDMX — a record can be written with or without an explicit type — so the completion has to guess how verbose you want it, and this is where you tell it. Then filtering the completion list, reading the icons, ordering diagnostics by severity, and turning i18n problems on only when you want them.","short":"Four language server settings for annotations in CAP projects","author":"maryana_naboka","published":"2021-10-25","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/tips-and-tricks-for-working-with-annotations-in-cap-projects-using-language/ba-p/13511064","title":"Tips and Tricks for Working with Annotations in CAP Projects using Language Server Protocol (LSP) capabilities — SAP Community","checked":"2026-09-08"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:editor-support (cap); capability:fiori-annotations (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 60 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds-dk 8.8.0, 2025-03 and 1 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2485,"unit":"views"},{"value":0,"unit":"comments"},{"value":9,"unit":"likes"}]},"signals":{"views":2485,"likes":9,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}