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
## 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.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

View File

@ -1,6 +1,6 @@
# Description
This extension add CMake language feature support to Visual Studio Code.
This extension add CMake language feature support to Kylin-IDE.
## 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",
"version": "0.0.4",
"version": "0.1.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "cmake-intellisence",
"version": "0.0.4",
"version": "0.1.1",
"hasInstallScript": true,
"devDependencies": {
"@types/mocha": "^9.1.1",

View File

@ -1,8 +1,9 @@
{
"name": "cmake-intellisence",
"displayName": "CMake IntelliSence",
"description": "CMake IntelliSence for Visual Studio Code",
"version": "0.0.4",
"description": "CMake IntelliSence for Kylin-IDE",
"author": "quanzhuo",
"version": "0.1.1",
"engines": {
"vscode": "^1.68.0"
},
@ -15,7 +16,15 @@
"Snippets",
"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",
"activationEvents": [
"onLanguage:cmake",
@ -80,20 +89,20 @@
"cmakeIntelliSence.cmakePath": {
"type": "string",
"default": "cmake",
"description": "Set path to CMake executable"
"description": "%cmakeIntelliSence.cmakePath%"
},
"cmakeIntelliSence.cmdCaseDiagnostics": {
"type": "string",
"description": "Whether generate diagnostic if command is in upper case",
"description": "%cmakeIntelliSence.cmdCaseDiagnostics%",
"enum": [
"none",
"builtin",
"all"
],
"enumDescriptions": [
"Don't generate diagnostics",
"Only generate diagnostics for builtin commands",
"Generate diagnostic for all commands"
"%cmakeIntelliSence.cmdCaseDiagnostics.none%",
"%cmakeIntelliSence.cmdCaseDiagnostics.builtin%",
"%cmakeIntelliSence.cmdCaseDiagnostics.all%"
],
"default": "builtin"
},
@ -107,7 +116,7 @@
"Debug"
],
"default": "Off",
"markdownDescription": "Control the logging level"
"markdownDescription": "%cmakeIntelliSence.loggingLevel%"
},
"cmakeIntelliSence.trace.server": {
"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
- name: comment.line.number-sign.cmake
match: "#(.*$)"
# escaped string
- name: string.escaped.quoted.double.cmake
begin: '\\"'
end: '\\"'
# string
- name: string.quoted.double.cmake
begin: '"'