/xowl-vscode

Primary LanguageTypeScriptGNU Lesser General Public License v3.0LGPL-3.0

Semantic Web Languages Support

Adds language support for semantic web languages and other xOWL-related languages:

  • RDF Resource Description Framework
    • Supported syntaxes: N-Triples, N-Quads, Turtle, TriG and RDF/XML
  • OWL Web Ontology Language
    • Supported syntaxes: Functional, OWL/XML
  • SPARQL SPARQL Protocol and RDF Query Language
  • xRDF Executable Resource Description Framework
  • xOWL Executable Web Ontology Language
  • Denotation Denotation capture language

Install and Prerequisites

Open up VS Code and hit F1 and type ext select Install Extension and type xowl-languages hit enter and reload window to enable.

Note: This extension requires a location installation of Java. Java can be installed from Oracle, or from the OpenJDK project.

This extension looks for a local installation a Java using (in this order):

  • The xowl.java configuration of VSCode.
  • The JAVA_HOME environment variable.
  • The PATH environment variable.

Features

  • Syntactic coloring for the supported syntaxes.
  • Detection of semantic resources across files and syntaxes.
  • Syntactic verification and other diagnostics for common issues.

Settings

xowl.java { string }

  • The path to a location installation of Java.
  • If set, this specification of Java will be used before others.

xowl.lsp.server { integrated | remote }

  • Defaults to integrated.
  • This setting specifies which language server to use:
    • integrated: use of the language server embedded within this extension.
    • remote: connect to a remote language server (on localhost). The port can be configured with xowl.lsp.server.port.

xowl.lsp.server.port { integer }

  • Specifies the port to be used to connect to a remote language server.
  • This setting is only used when xowl.lsp.server is set to remote.

License

The source code to this extension is the property of the Association Cénotélie. It is available in xowl-vscode and licensed under the GNU Lesser General Public License Version 3.

This extension embeds a compiled version of the language server. The source code to the language server is available on xowl-infra and licensed under the GNU Lesser General Public License Version 3 by the Association Cénotélie.