Foreword之前刚好看过一点VScode插件原理,这里就能用上了,看一下nRF-Kconfig是怎么实现的,改一个通用版本来,方便大家使用nRF-KconfigKconfig插件的安装目录在这里C:\Users\用户名\.vscode\extensions\nordic-semiconductor.nrf-kconfig-2024.12.13实际这个插件也没有加密或者混淆什么的,可以直接看尝试build"scripts":{"vscode:prepublish":"npm run build && npm run changelog","build":"rimraf dist && tsx ./scripts/build.js --production","watch":"tsx ./scripts/build.js --watch","dev":"tsx ./scripts/build.js --watch","type-check":"tsc --noEmit","lint":"tsx ../scripts/lint.ts nrf-kconfig","lintfix":"tsx ../scripts/lint.ts --fix nrf-kconfig","changelog":"tsx ../scripts/changelog.ts kconfig","copyright"
...
继续阅读
(1)