Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Turtle editor

Any .ttl or .turtle file in a project opens in a Turtle editor instead of the Dolfin one. It never runs Dolfin diagnostics on the file.

What it does

FeatureBehaviour
HighlightingTurtle syntax colours, in both the light and dark theme.
DiagnosticsSyntax errors are underlined and listed as problems. Only the first error is reported.
CompletionPrefixes declared in the file, prefixes declared in your other open Turtle files, and the common vocabularies (rdf, rdfs, owl, xsd, skos, dcterms). After prefix:, local names of subjects already in the file.
HoverHover a prefixed name to see its full IRI. If the subject is defined in the file, its rdfs:label and rdfs:comment are shown.
OutlineOne entry per statement subject.
Go to definitionOn a prefixed name, jumps to its statement in the same file.

Completion does not yet offer the namespaces of your Dolfin files; a Turtle imported into Agrafe already declares them in its own @prefix lines.

Context menu

Right-click in the Turtle editor for Cut, Copy, Select word and Paste. In the origin file there is also Reveal in dolfin, described in Reveal.

Editing the origin file

Editing the origin Turtle by hand is supported. Two things follow:

  • The Dolfin files do not change on their own. Use Re-translate to Dolfin to bring your edits over.
  • While the Turtle has a syntax error, sync is blocked (nothing is written to it) until you fix the error.