Merge branch 'dev' into kylin-ide

This commit is contained in:
chenxi 2023-08-18 12:17:01 +08:00
commit d2c82fb135
8 changed files with 65 additions and 13 deletions

View File

@ -1,5 +1,13 @@
# Change Log # Change Log
## v0.1.1 (2023-04-28)
* 更新package.json中的keywords
## v0.1.0 (2023-04-13)
* 用于 Kylin-IDE 的第一个版本
All notable changes to the "cmake-ls" extension will be documented in this file. All notable changes to the "cmake-ls" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

View File

@ -1,6 +1,6 @@
# Description # Description
This extension add CMake language feature support to Visual Studio Code. This extension add CMake language feature support to Kylin-IDE.
## Features ## Features

16
depends.json Normal file
View File

@ -0,0 +1,16 @@
{
"deb": {
"default_arch": {
"default_os": {
"cmake": {}
}
}
},
"rpm": {
"default_arch": {
"default_os": {
"cmake": {}
}
}
}
}

5
package-lock.json generated
View File

@ -1,12 +1,11 @@
{ {
"name": "cmake-intellisence", "name": "cmake-intellisence",
"version": "0.0.4", "version": "0.1.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cmake-intellisence", "version": "0.1.1",
"version": "0.0.4",
"hasInstallScript": true, "hasInstallScript": true,
"devDependencies": { "devDependencies": {
"@types/mocha": "^9.1.1", "@types/mocha": "^9.1.1",

View File

@ -1,8 +1,9 @@
{ {
"name": "cmake-intellisence", "name": "cmake-intellisence",
"displayName": "CMake IntelliSence", "displayName": "CMake IntelliSence",
"description": "CMake IntelliSence for Visual Studio Code", "description": "CMake IntelliSence for Kylin-IDE",
"version": "0.0.4", "author": "quanzhuo",
"version": "0.1.1",
"engines": { "engines": {
"vscode": "^1.68.0" "vscode": "^1.68.0"
}, },
@ -15,7 +16,15 @@
"Snippets", "Snippets",
"Formatters" "Formatters"
], ],
"publisher": "quanzhuo", "keywords": [
"KylinIdeDev",
"KylinIdeDevEdit",
"KylinIdeDevCYuYan",
"KylinIdeDevCPlusPlus",
"KylinIdeDevOtherLanguages"
],
"publisher": "KylinIDETeam",
"downloadUrl": "https://gitee.com/openKylin/extensions-repo/tree/master/KylinIDETeam/cmake-intellisence",
"icon": "images/icon.png", "icon": "images/icon.png",
"activationEvents": [ "activationEvents": [
"onLanguage:cmake", "onLanguage:cmake",
@ -80,20 +89,20 @@
"cmakeIntelliSence.cmakePath": { "cmakeIntelliSence.cmakePath": {
"type": "string", "type": "string",
"default": "cmake", "default": "cmake",
"description": "Set path to CMake executable" "description": "%cmakeIntelliSence.cmakePath%"
}, },
"cmakeIntelliSence.cmdCaseDiagnostics": { "cmakeIntelliSence.cmdCaseDiagnostics": {
"type": "string", "type": "string",
"description": "Whether generate diagnostic if command is in upper case", "description": "%cmakeIntelliSence.cmdCaseDiagnostics%",
"enum": [ "enum": [
"none", "none",
"builtin", "builtin",
"all" "all"
], ],
"enumDescriptions": [ "enumDescriptions": [
"Don't generate diagnostics", "%cmakeIntelliSence.cmdCaseDiagnostics.none%",
"Only generate diagnostics for builtin commands", "%cmakeIntelliSence.cmdCaseDiagnostics.builtin%",
"Generate diagnostic for all commands" "%cmakeIntelliSence.cmdCaseDiagnostics.all%"
], ],
"default": "builtin" "default": "builtin"
}, },
@ -107,7 +116,7 @@
"Debug" "Debug"
], ],
"default": "Off", "default": "Off",
"markdownDescription": "Control the logging level" "markdownDescription": "%cmakeIntelliSence.loggingLevel%"
}, },
"cmakeIntelliSence.trace.server": { "cmakeIntelliSence.trace.server": {
"type": "string", "type": "string",

8
package.nls.json Normal file
View File

@ -0,0 +1,8 @@
{
"cmakeIntelliSence.cmakePath": "Set path to CMake executable",
"cmakeIntelliSence.cmdCaseDiagnostics": "Whether generate diagnostic if command is in upper case",
"cmakeIntelliSence.cmdCaseDiagnostics.none": "Don't generate diagnostics",
"cmakeIntelliSence.cmdCaseDiagnostics.builtin": "Only generate diagnostics for builtin commands",
"cmakeIntelliSence.cmdCaseDiagnostics.all": "Generate diagnostic for all commands",
"cmakeIntelliSence.loggingLevel": "Control the logging level"
}

8
package.nls.zh-cn.json Normal file
View File

@ -0,0 +1,8 @@
{
"cmakeIntelliSence.cmakePath": "设置CMake命令的路径",
"cmakeIntelliSence.cmdCaseDiagnostics": "是否针对大写命令生成诊断信息",
"cmakeIntelliSence.cmdCaseDiagnostics.none": "不生成针对信息",
"cmakeIntelliSence.cmdCaseDiagnostics.builtin": "只针对内置命令生成诊断信息",
"cmakeIntelliSence.cmdCaseDiagnostics.all": "为所有命令生成诊断信息",
"cmakeIntelliSence.loggingLevel": "控制日志级别"
}

View File

@ -33,6 +33,10 @@ patterns:
# line comment # line comment
- name: comment.line.number-sign.cmake - name: comment.line.number-sign.cmake
match: "#(.*$)" match: "#(.*$)"
# escaped string
- name: string.escaped.quoted.double.cmake
begin: '\\"'
end: '\\"'
# string # string
- name: string.quoted.double.cmake - name: string.quoted.double.cmake
begin: '"' begin: '"'