Skip to content

Possible evaluation of context for '$' character #21

@griffin-rickle

Description

@griffin-rickle

Hi!
I first want to say that this is the best, most comprehensive syntax highlighting library for Linked Data in Sublime I have come across. Great job!

When using it, I have some SPARQL queries that follow this sort of pattern:

INSERT{
  GRAPH ${var1}{
    ...
  }
}
${var2}
WHERE {
  ...
}

I'm not sure whether this actually breaks any of the rules for the SPARQL specification. If it does, then I would understand if you didn't want to do anything. However, it looks like the current context for the $ character does not look for any quotes around it, and all regular expressions I've used in any SPARQL query have been within quotes. I looked into it a bit myself, but I'm not sure how sublime packages work or how to make the changes myself. Is this behavior that could be implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions