Giter Site home page Giter Site logo

datasift-sublime-text's Introduction

datasift-sublime-text

DataSift Sublime Text Plugin to validate and compile CSDL, and to consume a sample set of interactions. It also includes syntax highlighting for CSDL.

Installation

Just copy the DataSift directory found inside the datasift-sublime-text directory into your Sublime Text Packages directory. The location of the Packages directory depends on the operating system:

OS X

~/Library/Application\ Support/Sublime\ Text\ 2/Packages/

Linux

~/.config/sublime-text-2/Packages/`

Windows 7

"C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"

Windows XP

"C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"

Configuration

To set your API username and key, add them to your user preferences. To change the number of interactions retrieved by the Consume Sample command set that in your user preferences.

{
	"datasift_api_name": "development",
	"datasift_api_key": "yourapikey",
	"datasift_sample_size": 10,
	"datasift_json_indent": 4
}

Usage

The syntax highlighting will automatically active for files with the extension .csdl, alternatively you can activate it by selecting View -> Syntax -> DataSift CSDL.

To validate CSDL code just hit Cmd + Shift + V (Ctrl + Shift + V on Windows / Linux) or alternatively go to Tools -> DataSift -> Validate.

To compile CSDL code just hit Cmd + Shift + C (Ctrl + Shift + C on Windows / Linux) or alternatively go to Tools -> DataSift -> Compile. If your code validates it will automatically copy the stream hash into your clipboard.

To consume a sample number of interactions use the menu option at Tools -> DataSift -> Consume sample interactions. A new file will be opened and the interactions will be inserted one per line as they are received.

You can change the keyboard mapping in the .sublime-keymap files.

These commands are also available in the context menus.

datasift-sublime-text's People

Contributors

lukasklein avatar

Watchers

 avatar

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.