# RPM Spec Extension **Repository Path**: rvsmart-porting/rpm-spec-extension ## Basic Information - **Project Name**: RPM Spec Extension - **Description**: Language Support for RPM Spec in Visual Studio Code - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-04-13 - **Last Updated**: 2023-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RPM Spec Language Support [Official](https://gitee.com/rvsmart-porting/rpm-spec-extension) | [中文版本](README.zh-cn.md) This extension provides language support for RPM Spec files, implementing various auxiliary functions for developers. This extension is developed and maintained by the [RVSmartPorting](https://gitee.com/rvsmart-porting) community, and follows the [Mulan Permissive Software License,Version 2](http://license.coscl.org.cn/MulanPSL2). ## Main Features + Syntax Highlighting: RPM Spec file syntax highlighting ![Highlight](./resource/readme-highlight.png) + Code Completion Prompt: Prompt valid values when using `%ifarch` and `%ifnarch` macros ![Completion](./resource/readme-completion.png) + Definition/Usage Tracking: Track the definition and usage of `%global` variables ![Definition/Reference](./resource/readme-defRef.png) + Mouseover Prompt: Keyword and constant value mouseover prompt ![Hover Tips](./resource/readme-hover.png) ## TODO Features + Basic Syntax Checking: Check if the syntax of the spec file meets the specifications + Dependency Version Checking: Check if the dependencies corresponding to fields such as `Requires` and `BuildRequires` exist in the specified operating system distribution repository + Prompt for more built-in macros and keywords, in particular, the CPU-architecture related. + Highlight embedded shell scripts.