@bpmn-io/feel-editor
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -9,5 +9,9 @@ # Changelog | ||
## 0.0.1 | ||
## 0.2.0 | ||
* `FEAT`: add variable suggestion ([#9](https://github.com/bpmn-io/feel-editor/pull/9)) | ||
## 0.1.0 | ||
* `FEAT`: initial release, create a FEEL editor with Code highlighting ([#4](https://github.com/bpmn-io/feel-editor/pull/4)) | ||
* `FEAT`: highlight syntax errors ([#7](https://github.com/bpmn-io/feel-editor/pull/7)) |
{ | ||
"name": "@bpmn-io/feel-editor", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Editor for FEEL expressions.", | ||
@@ -44,2 +44,3 @@ "files": [ | ||
"dependencies": { | ||
"@codemirror/autocomplete": "^6.0.3", | ||
"@codemirror/commands": "^6.0.0", | ||
@@ -46,0 +47,0 @@ "@codemirror/language": "^6.0.0", |
@@ -28,2 +28,20 @@ # @bpmn-io/feel-editor | ||
### Variables | ||
You can provide a variables array that will be used for auto completion. The Variables | ||
need to be in the following format: | ||
```JavaScript | ||
const editor = new FeelEditor({ | ||
container, | ||
variables: [ | ||
{ | ||
name: 'variablename to match', | ||
detail: 'optional inline info', | ||
info: 'optional pop-out info' | ||
} | ||
] | ||
}); | ||
``` | ||
## Hacking the Project | ||
@@ -30,0 +48,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2196041
41323
59
8
+ Added@codemirror/autocomplete@6.18.3(transitive)