Skip to content

Commit

Permalink
vscode extension activate on file extension name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofstetter Benjamin (extern) committed Dec 16, 2024
1 parent ec71c44 commit 312b92b
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 36 deletions.
3 changes: 3 additions & 0 deletions src-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 1.0.2
- Activate the extension by file extension and not just langageId

## 1.0.1
- Simplified jsonld support

Expand Down
184 changes: 150 additions & 34 deletions src-vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-rdf-sketch",
"displayName": "RDF Sketch",
"description": "Graphical rendering of RDF data",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"icon": "images/zazuko.png",
"publisher": "Zazuko",
Expand Down Expand Up @@ -35,7 +35,7 @@
"menus": {
"editor/title": [
{
"when": "resourceLangId == turtle || resourceLangId === n-quads || resourceLangId == ntriples || resourceLangId == rdf-xml || resourceLangId == trig || resourceExtname == .jsonld",
"when": "resourceLangId == turtle || resourceExtname == .ttl || resourceLangId === n-quads || resourceExtname == .nq || resourceLangId == ntriples || resourceExtname == .nt || resourceLangId == rdf-xml || resourceExtname == .rdf || resourceLangId == trig || resourceExtname == .trig || resourceExtname == .jsonld",
"command": "rdf-sketch.openPreview",
"group": "navigation",
"icon": "$(open-preview)",
Expand Down

0 comments on commit 312b92b

Please sign in to comment.