Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tom-sherman/rainbird-engineer-tools

Adds Rainbird knowledge authoring shortcuts to Visual Studio Code.
https://github.com/tom-sherman/rainbird-engineer-tools

rainbird vscode vscode-extension

Last synced: 14 days ago
JSON representation

Adds Rainbird knowledge authoring shortcuts to Visual Studio Code.

Awesome Lists containing this project

README

        

# Rainbird Engineer Tools
Adds [Rainbird](https://rainbird.ai/) knowledge authoring shortcuts to [Visual Studio Code](https://code.visualstudio.com/).

## Create concept instances
![concinsts](https://user-images.githubusercontent.com/9257001/46398240-7c03b780-c6ec-11e8-9efc-8a2b8d8cf44d.gif)

Input one concept instance name per line to transform them into valid `concinst` tags.

```
tom
dave
john
```

Triggering the command with `Person` as the concept name becomes:

```xml

```

## Create facts (relationship instances)
![facts](https://user-images.githubusercontent.com/9257001/46398173-4ced4600-c6ec-11e8-9384-926709ccf875.gif)

Nest objects within a subject with indentation to generate a list of facts.

```
tom
english
spanish
dave
welsh
```

Triggering the command with `speaks` as the relationship name becomes:

```xml

```

## Create facts from CSV

![facts from table](https://giant.gfycat.com/JaggedCreepyFirefly.gif)

Transform a table into a list of facts.

Below is an example table format, as well as it's CSV representation from pasting into VSCode from Excel. Plural facts are supported by using multiple rows with the same subject in column `A`.

Note the top left cell (`A1`) is not used so can be left empty.

| |speaks|has age|has height|
|---|---|---|---|
|Fred|English|32|187|
|Jim|French|45|155|
|Jim|Spanish|||

```csv
,speaks,has age,has height
Fred,English,32,187
Jim,French,45,155
Jim,Spanish,,
```

```xml

```

## RBLang/XML snippets

This extension also provides snippets which mirror those in the Rainbird RBLang editor.

*Note: These are not currently context aware so `condition` snippet will appear at any point in the XML.*