Skip to content

Commit ddeecc5

Browse files
Set up provided rocks type annotations
This patch makes the extension not only supply the builtin Tarantool modules but the provided rocks type annotations. Currently only `vshard` is added.
1 parent 2a534b6 commit ddeecc5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
- `box.space.*:format()` documentation and annotations.
2222
- `box.schema.role` and `box.schema.user` documentation and type annotations.
2323
- Annotations on a few supplementary spaces like `box.schema._cluster`.
24+
- Setting up provided Rock type annotations (currently only `vshard` is done).
2425

2526
### Changed
2627

src/extension.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import * as vscode from 'vscode';
22
import * as tt from './tt';
33
import * as fs from 'fs';
44

5-
const annotationsPaths = [ __dirname + "/Library" ];
5+
const annotationsPaths = [
6+
__dirname + "/Library",
7+
__dirname + "/Rocks"
8+
];
69
const emmyrc = {
710
"runtime": {
811
"version": "LuaJIT"

0 commit comments

Comments
 (0)