An open API service indexing awesome lists of open source software.

https://github.com/c4deszes/ldfsyntax

LDF Syntax highlighting in VSCode
https://github.com/c4deszes/ldfsyntax

automotive ldf lin lin-standards vscode-extension

Last synced: 8 months ago
JSON representation

LDF Syntax highlighting in VSCode

Awesome Lists containing this project

README

          

# LDF Syntax

![GitHub last commit](https://img.shields.io/github/last-commit/c4deszes/ldfsyntax)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

> ldfsyntax adds LIN Description File language support to Visual Studio Code

|Release |Status |
|-|-|
|Visual Studio Marketplace | [![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/c4deszes.ldf-syntax)](https://marketplace.visualstudio.com/items?itemName=c4deszes.ldf-syntax) ![Installs](https://img.shields.io/visual-studio-marketplace/i/c4deszes.ldf-syntax) ![Rating](https://img.shields.io/visual-studio-marketplace/r/c4deszes.ldf-syntax)
|Open VSX Registry | [![OpenVSX Marketplace](https://img.shields.io/open-vsx/v/c4deszes/ldf-syntax)](https://open-vsx.org/extension/c4deszes/ldf-syntax) ![Downloads](https://img.shields.io/open-vsx/dt/c4deszes/ldf-syntax) ![Rating](https://img.shields.io/open-vsx/rating/c4deszes/ldf-syntax)
| Trunk | ![Version](https://img.shields.io/github/package-json/v/c4deszes/ldfsyntax) ![Build](https://img.shields.io/github/workflow/status/c4deszes/ldfsyntax/Build/master)

---

## Features

### Syntax Highlighting

The extension provides highlighting of LDF sections.

![syntax-highlight](images/syntax-highlight.jpg)

### Snippets

__TODO__: insert animation of snippet usage

---

## Known Issues

+ Certain LIN 1.3 standard sections are not highlighted

## Helpful links for development

+ [LIN 2.2A Specification](https://www.cs-group.de/wp-content/uploads/2016/11/LIN_Specification_Package_2.2A.pdf)

+ [Syntax highlighting](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide)

+ [Semantic highlighting](https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide)

+ [TextMate grammars](https://macromates.com/manual/en/language_grammars)

+ [Language configuration](https://code.visualstudio.com/api/language-extensions/language-configuration-guide)

+ [Extension Testing](https://developers.redhat.com/blog/2019/11/18/new-tools-for-automating-end-to-end-tests-for-vs-code-extensions)

+ [Token color testing example](https://github.com/styled-components/vscode-styled-components/blob/master/src/tests/suite/colorization.test.js)

+ [Document symbol provider example](https://github.com/svaberg/SWMF-grammar/blob/master/src/extension.ts)

---

## License

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)