Comments (6)
Are those conversions written in Java?
Should it be a part of the yang-lsp, i.e. do those actions need parsed YANG AST as input?
from yang-lsp.
Yes they are, by means of Xtend.
The current versions of these converters use the the EMF modeling API that is generated from our legacy Yang Xtext grammar. So we hope that without too much work to be able to adapt the converters to the new grammar and environment.
from yang-lsp.
In reference to #62, yes calls to an external Yang validator may also be explicitly called by an action initiated by the user. This action would need to assemble an archive zip file with the current Yang file and all its dependencies, then issue a HTTP POST request conforming to the validator's REST API, wait for an answer which consists of validation records in JSON format, and finally convert to issues to be shown in the editor.
from yang-lsp.
Should this not be a generic Theia feature, just like contributing your own pop-up menu actions in classic eclipse?
from yang-lsp.
It would very useful if the action contributions can be deployed in the same manner as the (internal) validation extensions that is currently supported by yang-lsp (https://github.com/yang-tools/yang-lsp/blob/master/docs/Extensions.md).
from yang-lsp.
The general means to create commands and register them with keybindings and context menus is there already. In this case I would like to make it general feature of a yang-lsp extension to contribute a command, that then shows up in the client's editor context menu.
from yang-lsp.
Related Issues (20)
- leafref path serialization issue
- duplicated org.w3c.dom package in xml-apis.jar and java 11 HOT 2
- LSP return `Internal error.` HOT 5
- Pyang validation of serialized pattern statements fails for (some) unquoted regexps HOT 1
- Semantic highlighting doesn't work after updating to LSP 3.16 HOT 1
- description tag should be added in auto-completion HOT 1
- xpath serialization issue HOT 6
- leafref and augment xpath serialization issue HOT 2
- Yang-lsp serialization indentation with 2 spaces HOT 23
- pattern match with escaped-double quote being reported as error HOT 1
- bad-import-yang-version is raised for legal YANG 1.0 imports HOT 3
- Honor LSP formatting options HOT 1
- Support for absolute paths exclusion HOT 1
- Provision of jsonschema for yang.settings from origin HOT 1
- LSP regex handling inconsistent with YANG RFC?
- Explicit documentation of LSP version and message support HOT 4
- Relax yang.settings JSON Schema for extensions HOT 1
- `IValidatorExtension` based `Issue` manifests with wrong context over LSP HOT 2
- Extension `classpath` is currently only allowed to be relative to the project workspace
- LSP Server does not report source of the diagnostics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yang-lsp.