Skip to content

Visual Studio Code extension providing editing support for RDF languages and knowledge graphs.

License

Notifications You must be signed in to change notification settings

faubulous/mentor-vscode

Repository files navigation

Mentor for Visual Studio Code

License: GPL-V3 Website

The developer friendly IDE for RDF knowledge graphs.

The Mentor extension showing the workspace explorer and the ontology definitions tree view.

Features:

  • Workspace Management
    • Fast indexing, cross-file references, code lenses and quick navigation to definitions.
  • Content Navigation
    • Browsable definition trees for RDFS / OWL / SHACL / SKOS
    • Structural reasoning and multilingual labels.
  • Syntax Highlighting & Validation
    • N3 / Turtle / TriG / RDF-XML and SPARQL.
  • Editing
    • Repository wide auto-complete
    • Built in prefix.cc support for namespace lookups
  • Refactoring
    • Refactor prefixed names and IRIs
    • Auto-implement / sort / remove prefixes
  • Notebooks && SPARQL
    • Built-in triple store for all files in the workspace.
    • Run queries against remote endpoints or workspace files.
    • Interactive notebooks with support for Markdown, RDF data and SPARQL queries.
  • Collaboration
    • Runs in the browser (e.g. vscode.dev), supports editing GitHub repositories and live collaboration.

News

Version 0.3.11: Minor improvements and bug fixes

  • Added support for highlighting unused variables in SPARQL queries
  • Added support for indexing notebook cells upon indexing the workspace
  • Fixed invalid syntax highlighting of prefixes that contain '-' characters

Version 0.3.10: Improved SPARQL connection management

  • Moved SPARQL connection management into dedicated view
    • Removed old connection management tree view
  • Added basic graph management:
    • Can list SPARQL endpoint graphs in connection view
    • Can drop graphs to binding result view

Full Release History

Installation

You can install the Mentor extension directly from the Visual Studio Code marketplace. Follow these steps:

  1. Open Visual Studio Code.
  2. Click on the Extensions view icon on the Sidebar (or press Ctrl+Shift+X).
  3. In the Extensions view, enter Mentor in the search form and press Enter.
  4. Locate the Mentor extension in the search results and click on the install button.

Contributing

We appreciate contributions in all forms! By contributing to Mentor, you'll help make it a better tool for the RDF and knowledge graph community. Contributions can take many shapes, including:

  • Bug reports: If you encounter an issue, please report it to us so we can investigate and fix it. Your feedback helps us understand what works well and what we can improve.

  • Reviews and feedback: Share your experience with Mentor by leaving a review on the Visual Studio Marketplace.

  • Code contributions: Help us improve the extension by submitting new features, bug fixes, or refactoring existing code.

Building

To get started, fork this repository on GitHub and then clone the fork to your local computer. Once cloned, add an upstream remote pointing to the primary toolkit repo.

git clone https://github.com/faubulous/mentor-vscode.git
cd mentor-vscode

Install the project dependencies.

npm install

Create a development build of the extension.

npm run build:watch

Debugging

To start debugging the 'Launch Extension' configuration, follow these steps:

  1. Open Visual Studio Code.
  2. Click on the Run view icon on the Sidebar (or press Ctrl+Shift+D).
  3. At the top of the Run view, in the dropdown list of debug configurations, select 'Launch Extension'.
  4. After the configuration is set, you can start debugging by clicking on the green 'Start Debugging' button (or press F5).

This will start a new instance of Visual Studio Code with the Mentor extension loaded. You can set breakpoints in your code to stop execution and inspect variables, call stack, and so on.

Packaging

npm install --global @vscode/vsce

Create a production build and install it into your local Visual Studio Code environment:

npm run package:install

License

Distributed under the GPL Version 3 License. See LICENSE for more information.

About

Visual Studio Code extension providing editing support for RDF languages and knowledge graphs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors