• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

xmake-vscode: 一个XMake的Visual Studio Code插件

原作者: [db:作者] 来自: 网络 收藏 邀请

xmake-vscode

A XMake integration in Visual Studio Code

Introduction

A XMake integration in Visual Studio Code.

You need install xmake first and a project with xmake.lua.

Please see xmake-github and website if you want to known more about xmake.

Features

  • Quickstart
  • Colorization
  • Completion Lists
  • StatusBar
  • Commands
  • Configuration
  • Build
  • Run and Debug
  • Record and Playback
  • Problem

Quickstart

Colorization and Completion Lists

StatusBar

statusbar

Commands

Configuration

Build

Run and Debug

Record and Playback

Problem

IntelliSense

xmake-vscode will generate .vscode/compile_commands.json file, so you need only add it to .vscode/c_cpp_properties.json to enable IntelliSense.

for example (.vscode/c_cpp_properties.json):

  "configurations": [    {      "compileCommands": ".vscode/compile_commands.json",    }  ],}

How can I generate c_cpp_properties.json?

These configuration settings are stored in your project's c_cpp_properties.json file. To edit this file, in VS Code, select C/C++: Edit Configurations (UI) from the Command Palette (⇧⌘P):

Please see IntelliSense for cross-compiling

Global Configuration

{    "configuration": {        "type": "object",        "title": "XMake configuration",        "properties": {            "xmake.executable": {                "type": "string",                "default": "xmake",                "description": "The xmake executable name / path"            },            "xmake.logLevel": {                "type": "string",                "default": "normal",                "description": "The Log Level: normal/verbose/minimal",                "enum": [                    "verbose",                    "normal",                    "minimal"                ]            },            "xmake.buildLevel": {                "type": "string",                "default": "normal",                "description": "The Build Output Level: normal/verbose/warning/debug",                "enum": [                    "verbose",                    "normal",                    "warning",                    "debug"                ]            },            "xmake.buildDirectory": {                "type": "string",                "default": "${workspaceRoot}/build",                "description": "The Build Output Directory"            },            "xmake.installDirectory": {                "type": "string",                "default": "",                "description": "The Install Output Directory"            },            "xmake.packageDirectory": {                "type": "string",                "default": "",                "description": "The Package Output Directory"            },            "xmake.workingDirectory": {                "type": "string",                "default": "${workspaceRoot}",                "description": "The Project Working Directory with the root xmake.lua"            },            "xmake.androidNDKDirectory": {                "type": "string",                "default": "",                "description": "The Android NDK Directory"            }        }    }}

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap