Giter VIP home page Giter VIP logo

sublime-meson's Introduction

Meson Build - Sublime Text Plugin

Sublime Text Meson Build Integration.

ARCHIVED: Please fork and continue work elsewhere.

Installation

Package Control

Install it from Package Control

Manual Installation

Copy this repo's folder into your Sublime Text Packages directory. You will need to rename the folder to "Meson".

How to use

  • Open the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Start typing "Meson" then you'll see the recommend commands
  • Select one of the commands

Features

  • Setup Projects
  • Compile Projects (Requires Meson version >= 0.54)
  • meson.build andmeson-options.txt synatx highlighting

Contributing

Check out the issues to see what is being worked on next, suggest something new or report a bug.

sublime-meson's People

Contributors

colinkiama avatar un1gfn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

un1gfn

sublime-meson's Issues

Add Meson init command

Run a command palette wizard that fills in data for the meson init command. (To keep things simple, run this in the first project root folder sublime text finds)

Steps:

  • Add Meson: Init command
  • Type: Default = executable
  • Language: Default = C

Setup build directory

  • Detect meson.build file in current project directory
  • Ask user name of build directory to create in current directory
  • Create the directory

Run commands asynchronously

  • Use the class instance to store data that will be processed
  • Gather data to be processed in run command
  • Create __run_async command that to be used as an async callback from the run command. Via set_timeout_async(callback, delay)It will use the stored instance data to execute the process synchronously

Build projects

  • Create command for build
  • Select directory to build from
  • Run meson compile command on that build directory
  • Readme should specify that a meson version of at least 0.54 is required

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.