ember-code-snippet icon indicating copy to clipboard operation
ember-code-snippet copied to clipboard

Code snippet with name 'select.sparql' not found

Open Youssef-98 opened this issue 4 years ago • 1 comments

As the title says, it seems it can't find my sql or sparql files. If I change it to a js file, it works perfectly fine. I change the comment format to the corresponding language as well. Do these types not get supported?

I have a directory snippets in my root with a file select.sparql and looks like this: ``` # BEGIN-SNIPPET select PREFIX ext: http://mu.semte.ch/vocabularies/ext/ PREFIX schema: http://schema.org/

SELECT ?book ?bookTitle { GRAPH http://mu.semte.ch/application { ?book a schema:Book. ?book schema:title ?bookTitle. } } # END-SNIPPET ```

Youssef-98 avatar Aug 26 '21 11:08 Youssef-98

Maybe I have to add snippetRegexes to customize the search for the comments BEGIN-SNIPPET and END-SNIPPET?

Youssef-98 avatar Aug 26 '21 11:08 Youssef-98