From 9b34c8a63bd4ac66ac07f1f87ea353a8b8d8baef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Wed, 22 Mar 2023 11:06:33 +0800 Subject: [PATCH 1/9] Fix: escaped string broke syntax hightlight --- syntaxes/cmake.tmLanguage.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/syntaxes/cmake.tmLanguage.yml b/syntaxes/cmake.tmLanguage.yml index 3172433..faa8add 100644 --- a/syntaxes/cmake.tmLanguage.yml +++ b/syntaxes/cmake.tmLanguage.yml @@ -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: '"' From 5664aa37c3e9f0848bc1d9178ee9e99f2bb95925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Thu, 6 Apr 2023 17:06:52 +0800 Subject: [PATCH 2/9] add simplified Chinese translation for configuration --- package.json | 12 ++++++------ package.nls.json | 8 ++++++++ package.nls.zh-cn.json | 8 ++++++++ 3 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 package.nls.json create mode 100644 package.nls.zh-cn.json diff --git a/package.json b/package.json index d896684..c41e372 100644 --- a/package.json +++ b/package.json @@ -80,20 +80,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 +107,7 @@ "Debug" ], "default": "Off", - "markdownDescription": "Control the logging level" + "markdownDescription": "%cmakeIntelliSence.loggingLevel%" }, "cmakeIntelliSence.trace.server": { "type": "string", diff --git a/package.nls.json b/package.nls.json new file mode 100644 index 0000000..44e6dc9 --- /dev/null +++ b/package.nls.json @@ -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" +} \ No newline at end of file diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json new file mode 100644 index 0000000..13f2330 --- /dev/null +++ b/package.nls.zh-cn.json @@ -0,0 +1,8 @@ +{ + "cmakeIntelliSence.cmakePath": "设置CMake命令的路径", + "cmakeIntelliSence.cmdCaseDiagnostics": "是否针对大写命令生成诊断信息", + "cmakeIntelliSence.cmdCaseDiagnostics.none": "不生成针对信息", + "cmakeIntelliSence.cmdCaseDiagnostics.builtin": "只针对内置命令生成诊断信息", + "cmakeIntelliSence.cmdCaseDiagnostics.all": "为所有命令生成诊断信息", + "cmakeIntelliSence.loggingLevel": "控制日志级别" +} \ No newline at end of file From 7d3b37ce477cec4465e60f3bd7e094fcf26b9c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Wed, 12 Apr 2023 16:49:08 +0800 Subject: [PATCH 3/9] add depends.json & change version --- depends.json | 16 ++++++++++++++++ package.json | 9 +++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 depends.json diff --git a/depends.json b/depends.json new file mode 100644 index 0000000..82af91d --- /dev/null +++ b/depends.json @@ -0,0 +1,16 @@ +{ + "deb": { + "default_arch": { + "default_os": { + "cmake": {} + } + } + }, + "rpm": { + "default_arch": { + "default_os": { + "cmake": {} + } + } + } +} \ No newline at end of file diff --git a/package.json b/package.json index c41e372..c1a273f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cmake-intellisence", "displayName": "CMake IntelliSence", "description": "CMake IntelliSence for Visual Studio Code", - "version": "0.0.4", + "version": "0.1.0", "engines": { "vscode": "^1.68.0" }, @@ -15,7 +15,12 @@ "Snippets", "Formatters" ], - "publisher": "quanzhuo", + "keywords": [ + "KylinIdeDev", + "KylinIdeDevOtherLanguages" + ], + "publisher": "KylinIDETeam", + "downloadUrl": "https://gitee.com/openKylin/extensions-repo/KylinIDETeam/cmake-intellisence/cmake-intellisence-0.1.0.vsix", "icon": "images/icon.png", "activationEvents": [ "onLanguage:cmake", From 48fd689cd3b711c5d91209950c7db240806b4f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Thu, 13 Apr 2023 08:22:28 +0800 Subject: [PATCH 4/9] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34d8d4a..0406c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 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. From 2c5f18f8e1f0f8382a1a2369f0a99428c448a65c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Thu, 13 Apr 2023 11:10:45 +0800 Subject: [PATCH 5/9] update package-lock.json --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 42774ad..ae41852 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cmake-intellisence", - "version": "0.0.4", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cmake-intellisence", - "version": "0.0.4", + "version": "0.1.0", "hasInstallScript": true, "devDependencies": { "@types/mocha": "^9.1.1", From 17c6defd2e70eebf2274735660c1ba8e58b491d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Thu, 13 Apr 2023 15:45:16 +0800 Subject: [PATCH 6/9] update metadata --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c1a273f..e64d966 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "cmake-intellisence", "displayName": "CMake IntelliSence", - "description": "CMake IntelliSence for Visual Studio Code", + "description": "CMake IntelliSence for Kylin-IDE", + "author": "quanzhuo", "version": "0.1.0", "engines": { "vscode": "^1.68.0" @@ -17,10 +18,13 @@ ], "keywords": [ "KylinIdeDev", + "KylinIdeDevEdit", + "KylinIdeDevC", + "KylinIdeDevCPlusPlus", "KylinIdeDevOtherLanguages" ], "publisher": "KylinIDETeam", - "downloadUrl": "https://gitee.com/openKylin/extensions-repo/KylinIDETeam/cmake-intellisence/cmake-intellisence-0.1.0.vsix", + "downloadUrl": "https://gitee.com/openKylin/extensions-repo/tree/master/KylinIDETeam/cmake-intellisence", "icon": "images/icon.png", "activationEvents": [ "onLanguage:cmake", From 57228cbe1b3b7928a80a8b2f6d6aff45ca2d9881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=A8=E5=8D=93?= Date: Wed, 19 Apr 2023 10:48:08 +0800 Subject: [PATCH 7/9] Change README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f128627..cfa7b2c 100644 --- a/README.md +++ b/README.md @@ -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 From fd12ba51ab1f1d1834991c5441ab9dce903bc872 Mon Sep 17 00:00:00 2001 From: chenxi Date: Thu, 27 Apr 2023 11:01:31 +0800 Subject: [PATCH 8/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9keywords?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ae41852..4bac348 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,7 +5,6 @@ "requires": true, "packages": { "": { - "name": "cmake-intellisence", "version": "0.1.0", "hasInstallScript": true, "devDependencies": { diff --git a/package.json b/package.json index e64d966..2864699 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "keywords": [ "KylinIdeDev", "KylinIdeDevEdit", - "KylinIdeDevC", + "KylinIdeDevCYuYan", "KylinIdeDevCPlusPlus", "KylinIdeDevOtherLanguages" ], From b64eb1aa14ca19488c6b383951d83b61466cbdc1 Mon Sep 17 00:00:00 2001 From: chenxi Date: Fri, 28 Apr 2023 14:40:03 +0800 Subject: [PATCH 9/9] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0406c89..a3ea55b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## v0.1.1 (2023-04-28) + +* 更新package.json中的keywords + ## v0.1.0 (2023-04-13) * 用于 Kylin-IDE 的第一个版本 diff --git a/package-lock.json b/package-lock.json index 4bac348..b6c4e63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "cmake-intellisence", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "0.1.0", + "version": "0.1.1", "hasInstallScript": true, "devDependencies": { "@types/mocha": "^9.1.1", diff --git a/package.json b/package.json index 2864699..5fad2e7 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "CMake IntelliSence", "description": "CMake IntelliSence for Kylin-IDE", "author": "quanzhuo", - "version": "0.1.0", + "version": "0.1.1", "engines": { "vscode": "^1.68.0" },