package.json 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  1. {
  2. "name": "xmake-vscode",
  3. "displayName": "XMake",
  4. "description": "Extended XMake support in Visual Studio Code",
  5. "version": "2.5.0",
  6. "publisher": "tboox",
  7. "icon": "res/logo256.png",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/xmake-io/xmake-vscode"
  11. },
  12. "bugs": {
  13. "url": "https://github.com/xmake-io/xmake-vscode/issues"
  14. },
  15. "license": "Apache-2.0",
  16. "homepage": "https://github.com/xmake-io/xmake-vscode",
  17. "keywords": [
  18. "xmake",
  19. "build",
  20. "c++",
  21. "native",
  22. "lua"
  23. ],
  24. "engines": {
  25. "vscode": "^1.60.0"
  26. },
  27. "categories": [
  28. "Other"
  29. ],
  30. "activationEvents": [
  31. "onDebugResolve:xmake",
  32. "onDebugDynamicConfigurations:xmake",
  33. "workspaceContains:xmake.lua",
  34. "onCommand:xmake.onCreateProject",
  35. "onCommand:xmake.onNewFiles",
  36. "onCommand:xmake.onForceConfigure",
  37. "onCommand:xmake.onCleanConfigure",
  38. "onCommand:xmake.onBuild",
  39. "onCommand:xmake.onBuildAll",
  40. "onCommand:xmake.onRebuild",
  41. "onCommand:xmake.onClean",
  42. "onCommand:xmake.onCleanAll",
  43. "onCommand:xmake.onBuildRun",
  44. "onCommand:xmake.onRun",
  45. "onCommand:xmake.onPackage",
  46. "onCommand:xmake.onInstall",
  47. "onCommand:xmake.onUninstall",
  48. "onCommand:xmake.onDebug",
  49. "onCommand:xmake.onLaunchDebug",
  50. "onCommand:xmake.onMacroBegin",
  51. "onCommand:xmake.onMacroEnd",
  52. "onCommand:xmake.onMacroRun",
  53. "onCommand:xmake.onRunLastCommand",
  54. "onCommand:xmake.onUpdateIntellisense",
  55. "onCommand:xmake.setProjectRoot",
  56. "onCommand:xmake.setTargetPlat",
  57. "onCommand:xmake.setTargetArch",
  58. "onCommand:xmake.setBuildMode",
  59. "onCommand:xmake.setDefaultTarget",
  60. "onCommand:xmake.setTargetToolchain"
  61. ],
  62. "main": "./out/extension",
  63. "contributes": {
  64. "icons": {
  65. "xmake-logo": {
  66. "description": "XMake Logo Icon",
  67. "default": {
  68. "fontPath": "res/xmake-icons.woff",
  69. "fontCharacter": "\\f101"
  70. }
  71. },
  72. "xmake-build": {
  73. "description": "XMake Build Icon",
  74. "default": {
  75. "fontPath": "res/xmake-icons.woff",
  76. "fontCharacter": "\\f102"
  77. }
  78. }
  79. },
  80. "keybindings": [
  81. {
  82. "key": "f5",
  83. "command": "xmake.onDebug",
  84. "when": "xmakeEnabled && debuggersAvailable && debugState == 'inactive'"
  85. }
  86. ],
  87. "languages": [
  88. {
  89. "id": "xmake",
  90. "filenames": [
  91. "xmake.lua"
  92. ],
  93. "aliases": [
  94. "XMake"
  95. ],
  96. "icon": {
  97. "light": "./res/logo.svg",
  98. "dark": "./res/logo.svg"
  99. },
  100. "configuration": "./languages/xmake-configuration.json"
  101. }
  102. ],
  103. "breakpoints": [
  104. {
  105. "language": "xmake"
  106. }
  107. ],
  108. "grammars": [
  109. {
  110. "language": "xmake",
  111. "scopeName": "source.xmake",
  112. "path": "./languages/xmake-grammars.json"
  113. }
  114. ],
  115. "taskDefinitions": [
  116. {
  117. "type": "xmake",
  118. "required": [
  119. "task"
  120. ],
  121. "properties": {
  122. "task": {
  123. "type": "string",
  124. "description": "The XMake task to customize"
  125. },
  126. "file": {
  127. "type": "string",
  128. "description": "The XMake file that provides the task. Can be omitted."
  129. }
  130. }
  131. }
  132. ],
  133. "commands": [
  134. {
  135. "command": "xmake.onCreateProject",
  136. "title": "CreateProject",
  137. "category": "XMake"
  138. },
  139. {
  140. "command": "xmake.onNewFiles",
  141. "title": "NewFiles",
  142. "category": "XMake"
  143. },
  144. {
  145. "command": "xmake.onForceConfigure",
  146. "title": "Configure",
  147. "category": "XMake"
  148. },
  149. {
  150. "command": "xmake.onCleanConfigure",
  151. "title": "Clean Configure",
  152. "category": "XMake"
  153. },
  154. {
  155. "command": "xmake.onBuild",
  156. "title": "Build",
  157. "category": "XMake"
  158. },
  159. {
  160. "command": "xmake.onBuildAll",
  161. "title": "BuildAll",
  162. "category": "XMake"
  163. },
  164. {
  165. "command": "xmake.onRebuild",
  166. "title": "Rebuild",
  167. "category": "XMake"
  168. },
  169. {
  170. "command": "xmake.onClean",
  171. "title": "Clean",
  172. "category": "XMake"
  173. },
  174. {
  175. "command": "xmake.onCleanAll",
  176. "title": "CleanAll",
  177. "category": "XMake"
  178. },
  179. {
  180. "command": "xmake.onBuildRun",
  181. "title": "BuildRun",
  182. "category": "XMake"
  183. },
  184. {
  185. "command": "xmake.onRun",
  186. "title": "Run",
  187. "category": "XMake"
  188. },
  189. {
  190. "command": "xmake.onPackage",
  191. "title": "Package",
  192. "category": "XMake"
  193. },
  194. {
  195. "command": "xmake.onDebug",
  196. "title": "Debug",
  197. "category": "XMake"
  198. },
  199. {
  200. "command": "xmake.onLaunchDebug",
  201. "title": "Launch Debug",
  202. "category": "XMake"
  203. },
  204. {
  205. "command": "xmake.onInstall",
  206. "title": "Install",
  207. "category": "XMake"
  208. },
  209. {
  210. "command": "xmake.onUninstall",
  211. "title": "Uninstall",
  212. "category": "XMake"
  213. },
  214. {
  215. "command": "xmake.onMacroBegin",
  216. "title": "BeginMacro",
  217. "category": "XMake"
  218. },
  219. {
  220. "command": "xmake.onMacroEnd",
  221. "title": "EndMacro",
  222. "category": "XMake"
  223. },
  224. {
  225. "command": "xmake.onMacroRun",
  226. "title": "RunMacro",
  227. "category": "XMake"
  228. },
  229. {
  230. "command": "xmake.onRunLastCommand",
  231. "title": "RunLastCommand",
  232. "category": "XMake"
  233. },
  234. {
  235. "command": "xmake.onUpdateIntellisense",
  236. "title": "UpdateIntellisense",
  237. "category": "XMake"
  238. },
  239. {
  240. "command": "xmake.setTargetPlat",
  241. "title": "Set Target Platform",
  242. "category": "XMake"
  243. },
  244. {
  245. "command": "xmake.setTargetArch",
  246. "title": "Set Target Architecture",
  247. "category": "XMake"
  248. },
  249. {
  250. "command": "xmake.setBuildMode",
  251. "title": "Set Build Mode",
  252. "category": "XMake"
  253. },
  254. {
  255. "command": "xmake.setDefaultTarget",
  256. "title": "Set Default Target",
  257. "category": "XMake"
  258. },
  259. {
  260. "command": "xmakeExplorer.buildAll",
  261. "title": "Build All",
  262. "category": "XMake",
  263. "enablement": "view == xmakeExplorer",
  264. "icon": {
  265. "dark": "res/dark/build-icon.svg",
  266. "light": "res/light/build-icon.svg"
  267. }
  268. },
  269. {
  270. "command": "xmakeExplorer.rebuildAll",
  271. "title": "Rebuild All",
  272. "category": "XMake",
  273. "enablement": "view == xmakeExplorer"
  274. },
  275. {
  276. "command": "xmakeExplorer.cleanAll",
  277. "title": "Clean All",
  278. "category": "XMake",
  279. "enablement": "view == xmakeExplorer"
  280. },
  281. {
  282. "command": "xmakeExplorer.build",
  283. "title": "Build",
  284. "category": "XMake",
  285. "enablement": "view == xmakeExplorer",
  286. "icon": {
  287. "dark": "res/dark/build-icon.svg",
  288. "light": "res/light/build-icon.svg"
  289. }
  290. },
  291. {
  292. "command": "xmake.setTargetToolchain",
  293. "title": "toolchain",
  294. "category": "XMake"
  295. },
  296. {
  297. "command": "xmake.onShowExplorer",
  298. "title": "Show Explorer",
  299. "category": "XMake"
  300. },
  301. {
  302. "command": "xmakeExplorer.rebuild",
  303. "title": "Rebuild",
  304. "category": "XMake",
  305. "enablement": "view == xmakeExplorer"
  306. },
  307. {
  308. "command": "xmakeExplorer.clean",
  309. "title": "Clean",
  310. "category": "XMake",
  311. "enablement": "view == xmakeExplorer"
  312. },
  313. {
  314. "command": "xmakeExplorer.runAll",
  315. "title": "Run All",
  316. "category": "XMake",
  317. "enablement": "view == xmakeExplorer"
  318. },
  319. {
  320. "command": "xmakeExplorer.run",
  321. "title": "Run",
  322. "category": "XMake",
  323. "enablement": "view == xmakeExplorer"
  324. },
  325. {
  326. "command": "xmakeExplorer.debug",
  327. "title": "Debug",
  328. "category": "XMake",
  329. "enablement": "view == xmakeExplorer"
  330. },
  331. {
  332. "command": "xmakeExplorer.configure",
  333. "title": "Configure",
  334. "category": "XMake",
  335. "enablement": "view == xmakeOptions",
  336. "icon": "$(gear)"
  337. }
  338. ],
  339. "menus": {
  340. "commandPalette": [
  341. {
  342. "command": "xmake.onCreateProject"
  343. },
  344. {
  345. "command": "xmake.onNewFiles"
  346. },
  347. {
  348. "command": "xmake.onForceConfigure"
  349. },
  350. {
  351. "command": "xmake.onCleanConfigure"
  352. },
  353. {
  354. "command": "xmake.onBuild"
  355. },
  356. {
  357. "command": "xmake.onBuildAll"
  358. },
  359. {
  360. "command": "xmake.onRebuild"
  361. },
  362. {
  363. "command": "xmake.onClean"
  364. },
  365. {
  366. "command": "xmake.onCleanAll"
  367. },
  368. {
  369. "command": "xmake.onBuildRun"
  370. },
  371. {
  372. "command": "xmake.onRun"
  373. },
  374. {
  375. "command": "xmake.onPackage"
  376. },
  377. {
  378. "command": "xmake.onDebug"
  379. },
  380. {
  381. "command": "xmake.onLaunchDebug"
  382. },
  383. {
  384. "command": "xmake.onInstall"
  385. },
  386. {
  387. "command": "xmake.onUninstall"
  388. },
  389. {
  390. "command": "xmake.onMacroBegin"
  391. },
  392. {
  393. "command": "xmake.onMacroEnd"
  394. },
  395. {
  396. "command": "xmake.onMacroRun"
  397. },
  398. {
  399. "command": "xmake.onRunLastCommand"
  400. },
  401. {
  402. "command": "xmake.onUpdateIntellisense"
  403. },
  404. {
  405. "command": "xmake.setTargetPlat"
  406. },
  407. {
  408. "command": "xmake.setTargetArch"
  409. },
  410. {
  411. "command": "xmake.setBuildMode"
  412. },
  413. {
  414. "command": "xmake.setDefaultTarget"
  415. }
  416. ],
  417. "view/title": [
  418. {
  419. "command": "xmakeExplorer.buildAll",
  420. "when": "view == xmakeExplorer",
  421. "group": "navigation"
  422. },
  423. {
  424. "command": "xmakeExplorer.buildAll",
  425. "when": "view == xmakeExplorer"
  426. },
  427. {
  428. "command": "xmakeExplorer.rebuildAll",
  429. "when": "view == xmakeExplorer"
  430. },
  431. {
  432. "command": "xmakeExplorer.cleanAll",
  433. "when": "view == xmakeExplorer"
  434. },
  435. {
  436. "command": "xmakeExplorer.runAll",
  437. "when": "view == xmakeExplorer"
  438. },
  439. {
  440. "command": "xmakeExplorer.configure",
  441. "when": "view == xmakeOptions",
  442. "group": "navigation"
  443. }
  444. ],
  445. "view/item/context": [
  446. {
  447. "command": "xmakeExplorer.build",
  448. "when": "view == xmakeExplorer && viewItem == target",
  449. "group": "inline"
  450. },
  451. {
  452. "command": "xmakeExplorer.build",
  453. "when": "view == xmakeExplorer && viewItem == target"
  454. },
  455. {
  456. "command": "xmakeExplorer.rebuild",
  457. "when": "view == xmakeExplorer && viewItem == target"
  458. },
  459. {
  460. "command": "xmakeExplorer.clean",
  461. "when": "view == xmakeExplorer && viewItem == target"
  462. },
  463. {
  464. "command": "xmakeExplorer.run",
  465. "when": "view == xmakeExplorer && viewItem == target"
  466. },
  467. {
  468. "command": "xmakeExplorer.debug",
  469. "when": "view == xmakeExplorer && viewItem == target"
  470. }
  471. ]
  472. },
  473. "debuggers": [
  474. {
  475. "type": "xmake",
  476. "languages": [
  477. "c",
  478. "cpp",
  479. "rust"
  480. ],
  481. "configurationAttributes": {
  482. "launch": {
  483. "required": [
  484. "target"
  485. ],
  486. "properties": {
  487. "target": {
  488. "type": "string",
  489. "description": "The xmake target name",
  490. "default": ""
  491. },
  492. "cwd": {
  493. "description": "Program working directory.",
  494. "type": "string",
  495. "default": ""
  496. },
  497. "stopAtEntry": {
  498. "description": "If set to true, the debugger should stop at the entry-point of the target.",
  499. "type": "boolean",
  500. "default": false
  501. },
  502. "args": {
  503. "description": "Program arguments.",
  504. "type": [
  505. "array",
  506. "string"
  507. ],
  508. "default": []
  509. },
  510. "terminal": {
  511. "type": "string",
  512. "enum": [
  513. "integrated",
  514. "external",
  515. "console",
  516. "newExternal"
  517. ],
  518. "enumDescriptions": [
  519. "Use integrated terminal in VSCode.",
  520. "Use external terminal window.",
  521. "Use VScode Debug Console for stdout and stderr. Stdin will be unavailable.",
  522. "Use external terminal window for console application, nothing for the others (only with cpptools). "
  523. ],
  524. "default": "integrated"
  525. },
  526. "env": {
  527. "description": "Additional environment variables.",
  528. "type": "object",
  529. "patternProperties": {
  530. ".*": {
  531. "type": "string"
  532. }
  533. },
  534. "default": {}
  535. }
  536. }
  537. },
  538. "attach": {
  539. "required": [
  540. "target"
  541. ],
  542. "properties": {
  543. "target": {
  544. "type": "string",
  545. "description": "The xmake target name",
  546. "default": ""
  547. },
  548. "cwd": {
  549. "description": "Program working directory.",
  550. "type": "string",
  551. "default": ""
  552. },
  553. "stopAtEntry": {
  554. "description": "If set to true, the debugger should stop at the entry-point of the target.",
  555. "type": "boolean",
  556. "default": false
  557. },
  558. "args": {
  559. "description": "Program arguments.",
  560. "type": [
  561. "array",
  562. "string"
  563. ],
  564. "default": []
  565. },
  566. "terminal": {
  567. "type": "string",
  568. "enum": [
  569. "integrated",
  570. "external",
  571. "console",
  572. "newExternal"
  573. ],
  574. "enumDescriptions": [
  575. "Use integrated terminal in VSCode.",
  576. "Use external terminal window.",
  577. "Use VScode Debug Console for stdout and stderr. Stdin will be unavailable.",
  578. "Use external terminal window for console application, nothing for the others (only with cpptools). "
  579. ],
  580. "default": "integrated"
  581. },
  582. "env": {
  583. "description": "Additional environment variables.",
  584. "type": "object",
  585. "patternProperties": {
  586. ".*": {
  587. "type": "string"
  588. }
  589. },
  590. "default": {}
  591. }
  592. }
  593. }
  594. },
  595. "initialConfigurations": [
  596. {
  597. "type": "xmake",
  598. "request": "launch",
  599. "name": "Debug XMake target",
  600. "target": "target name",
  601. "cwd": "${workspaceFolder}",
  602. "stopAtEntry": true
  603. }
  604. ],
  605. "configurationSnippets": [
  606. {
  607. "label": "XMake Debug: Launch",
  608. "description": "A new configuration xmake debugger.",
  609. "body": {
  610. "type": "xmake",
  611. "request": "launch",
  612. "name": "${2:Launch}",
  613. "target": "${1:Target}",
  614. "cwd": "${workspaceFolder}",
  615. "stopAtEntry": true
  616. }
  617. }
  618. ]
  619. }
  620. ],
  621. "configuration": {
  622. "type": "object",
  623. "title": "XMake configuration",
  624. "properties": {
  625. "xmake.executable": {
  626. "type": "string",
  627. "default": "xmake",
  628. "description": "The xmake executable name / path"
  629. },
  630. "xmake.logLevel": {
  631. "type": "string",
  632. "default": "normal",
  633. "description": "The Log Level: normal/verbose/minimal",
  634. "enum": [
  635. "verbose",
  636. "normal",
  637. "minimal"
  638. ]
  639. },
  640. "xmake.buildLevel": {
  641. "type": "string",
  642. "default": "normal",
  643. "description": "The Build Output Level: normal/verbose/debug",
  644. "enum": [
  645. "verbose",
  646. "normal",
  647. "debug"
  648. ]
  649. },
  650. "xmake.runMode": {
  651. "type": "string",
  652. "default": "runOnly",
  653. "description": "The Run Mode: runOnly/buildRun",
  654. "enum": [
  655. "runOnly",
  656. "buildRun"
  657. ]
  658. },
  659. "xmake.buildDirectory": {
  660. "type": "string",
  661. "default": "${workspaceRoot}/build",
  662. "description": "The Build Output Directory"
  663. },
  664. "xmake.installDirectory": {
  665. "type": "string",
  666. "default": "",
  667. "description": "The Install Output Directory"
  668. },
  669. "xmake.packageDirectory": {
  670. "type": "string",
  671. "default": "",
  672. "description": "The Package Output Directory"
  673. },
  674. "xmake.workingDirectory": {
  675. "type": "string",
  676. "default": "${workspaceRoot}",
  677. "description": "The Project Working Directory with the root xmake.lua"
  678. },
  679. "xmake.androidNDKDirectory": {
  680. "type": "string",
  681. "default": "",
  682. "description": "The Android NDK Directory"
  683. },
  684. "xmake.QtDirectory": {
  685. "type": "string",
  686. "default": "",
  687. "description": "The Qt Directory"
  688. },
  689. "xmake.WDKDirectory": {
  690. "type": "string",
  691. "default": "",
  692. "description": "The WDK Directory"
  693. },
  694. "xmake.compileCommandsDirectory": {
  695. "type": "string",
  696. "default": ".vscode",
  697. "description": "The compile_commands.json file directory"
  698. },
  699. "xmake.compileCommandsBackend": {
  700. "type": "string",
  701. "default": "clangd",
  702. "description": "Set the LSP backend for compile_commands"
  703. },
  704. "xmake.additionalConfigArguments": {
  705. "type": "array",
  706. "items": {
  707. "type": "string"
  708. },
  709. "default": [],
  710. "description": "The Additional Config Arguments, .e.g [\"--cc=gcc\", \"--myopt=xxx\"]"
  711. },
  712. "xmake.runningTargetsArguments": {
  713. "type": "object",
  714. "default": {
  715. "default": []
  716. },
  717. "description": "The Running Targets Arguments, .e.g {\"targetName\": [\"args\", \"...\"]}"
  718. },
  719. "xmake.debuggingTargetsArguments": {
  720. "type": "object",
  721. "default": {
  722. "default": []
  723. },
  724. "description": "The Debugging Targets Arguments, .e.g {\"targetName\": [\"args\", \"...\"]}"
  725. },
  726. "xmake.debugConfigType": {
  727. "type": "string",
  728. "default": "default",
  729. "enum": [
  730. "default",
  731. "codelldb",
  732. "lldb-dap",
  733. "gdb-dap"
  734. ],
  735. "description": "The Debugging Configuration Type, .e.g default|codelldb|lldb-dap|gdb-dap"
  736. },
  737. "xmake.customDebugConfig": {
  738. "type": "object",
  739. "default": {},
  740. "description": "The Custom Debugging Configurations"
  741. },
  742. "xmake.envBehaviour": {
  743. "type": "string",
  744. "default": "merge",
  745. "enum": [
  746. "erase",
  747. "merge",
  748. "override"
  749. ],
  750. "description": "Environment behaviour between launch.json and xmake envs",
  751. "enumDescriptions": [
  752. "XMake envs will erase launch.json envs",
  753. "This will concat launch.json envs and xmake envs",
  754. "Launch configurations will override xmake envs"
  755. ]
  756. },
  757. "xmake.enableSyntaxCheck": {
  758. "type": "boolean",
  759. "default": true,
  760. "description": "Enable lua syntax check"
  761. },
  762. "xmake.status.showProject": {
  763. "type": "boolean",
  764. "default": false,
  765. "description": "Show project button in status bar"
  766. },
  767. "xmake.status.showXMake": {
  768. "type": "boolean",
  769. "default": true,
  770. "description": "Show xmake button in status bar"
  771. },
  772. "xmake.status.showPlatform": {
  773. "type": "boolean",
  774. "default": false,
  775. "description": "Show platform button in status bar"
  776. },
  777. "xmake.status.showArch": {
  778. "type": "boolean",
  779. "default": false,
  780. "description": "Show architecture button in status bar"
  781. },
  782. "xmake.status.showMode": {
  783. "type": "boolean",
  784. "default": false,
  785. "description": "Show build mode button in status bar"
  786. },
  787. "xmake.status.showToolchain": {
  788. "type": "boolean",
  789. "default": false,
  790. "description": "Show toolchain button in status bar"
  791. },
  792. "xmake.status.showTarget": {
  793. "type": "boolean",
  794. "default": false,
  795. "description": "Show default target button in status bar"
  796. },
  797. "xmake.status.showBuild": {
  798. "type": "boolean",
  799. "default": true,
  800. "description": "Show build button in status bar"
  801. },
  802. "xmake.status.showRun": {
  803. "type": "boolean",
  804. "default": true,
  805. "description": "Show run button in status bar"
  806. },
  807. "xmake.status.showDebug": {
  808. "type": "boolean",
  809. "default": true,
  810. "description": "Show debug button in status bar"
  811. }
  812. }
  813. },
  814. "viewsContainers": {
  815. "activitybar": [
  816. {
  817. "id": "xmake-explorer",
  818. "title": "XMake",
  819. "icon": "res/logo-mono.svg"
  820. }
  821. ]
  822. },
  823. "views": {
  824. "xmake-explorer": [
  825. {
  826. "type": "tree",
  827. "id": "xmakeConfigureView",
  828. "name": "Configure",
  829. "icon": "res/logo-mono.svg",
  830. "contextualTitle": "XMake Configure",
  831. "when": "xmakeEnabled"
  832. },
  833. {
  834. "type": "tree",
  835. "id": "xmakeExplorer",
  836. "name": "Targets",
  837. "icon": "res/logo-mono.svg",
  838. "contextualTitle": "XMake",
  839. "when": "xmakeEnabled"
  840. }
  841. ]
  842. }
  843. },
  844. "scripts": {
  845. "vscode:prepublish": "npm run compile",
  846. "compile": "npx tsc -p ./",
  847. "watch": "npx tsc -watch -p ./",
  848. "test": "npm run compile && node test/compile.test.js",
  849. "package": "npm run compile && vsce package --no-yarn",
  850. "package-simple": "./package.sh",
  851. "publish": "./publish.sh",
  852. "clean": "rimraf out node_modules"
  853. },
  854. "dependencies": {
  855. "encoding": "^0.1.13"
  856. },
  857. "devDependencies": {
  858. "@types/node": "^16.10.4",
  859. "@types/vscode": "^1.58.0",
  860. "typescript": "^4.4.3",
  861. "vsce": "^2.11.0",
  862. "rimraf": "^3.0.2"
  863. }
  864. }