Skip to content

Commit

Permalink
Add PRQL logo icon to .prql files display in file explorer and PRQL e…
Browse files Browse the repository at this point in the history
…ditor title bar (#40)
  • Loading branch information
RandomFractals authored Feb 3, 2023
1 parent 462631c commit dfbf41c
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
"extensions": [
".prql"
],
"configuration": "./language-configuration.json"
"configuration": "./language-configuration.json",
"icon": {
"dark": "./resources/prql-logo.png",
"light": "./resources/prql-logo.png"
}
}
],
"grammars": [
Expand All @@ -44,9 +48,26 @@
{
"command": "prqlSqlOutputPanel.open",
"title": "Open SQL Output Panel",
"category": "PRQL"
"category": "PRQL",
"icon": "$(database)"
}
]
],
"menus": {
"editor/title": [
{
"command": "prqlSqlOutputPanel.open",
"when": "resourceFilename =~ /.*(.prql)/",
"group": "navigation"
}
],
"editor/title/context": [
{
"command": "prqlSqlOutputPanel.open",
"when": "resourceFilename =~ /.*\\.(prql)/",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
Expand Down

0 comments on commit dfbf41c

Please sign in to comment.