Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Quarto extension installer #118

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dcee892
feat: simple menu extension
mcanouil Nov 2, 2024
53ec6a9
chore: add no prompt flag
mcanouil Nov 2, 2024
36cd90a
feat: pretty label and github repo as description
mcanouil Nov 3, 2024
2cfae3f
fix: sort label alphabetically
mcanouil Nov 3, 2024
6b72122
refactor: rename constant
mcanouil Nov 3, 2024
cf28dba
style: reformat
mcanouil Nov 3, 2024
a1a55a9
fix: prettier label
mcanouil Nov 3, 2024
9ad1bf6
refactor: switch to details
mcanouil Nov 3, 2024
08eade9
chore: command to clear recent
mcanouil Nov 3, 2024
5c28ee7
feat: add github url
mcanouil Nov 3, 2024
30bc6bf
refactor: reduce code duplication
mcanouil Nov 3, 2024
7d814d1
feat: add confirmation menu
mcanouil Nov 3, 2024
5262cd9
refactor: use prettyLabel
mcanouil Nov 3, 2024
d2a63fc
refactor: change label format
mcanouil Nov 3, 2024
d1a6d8b
fix: proper label/description
mcanouil Nov 3, 2024
7c89760
feat: allow multiple install
mcanouil Nov 3, 2024
78233ca
style: reformat
mcanouil Nov 3, 2024
5d5c992
feat: allow match on description
mcanouil Nov 3, 2024
c2c1a3a
chore: add default files
mcanouil Nov 3, 2024
3d01181
fix: check if quarto is available
mcanouil Nov 3, 2024
7d16d53
refactor: define functions
mcanouil Nov 3, 2024
8975d4e
refactor: reorder functions
mcanouil Nov 3, 2024
0f6206c
feat: use progress notification
mcanouil Nov 3, 2024
b760dd6
feat: better progress notification
mcanouil Nov 3, 2024
00d3630
chore: debug files
mcanouil Nov 3, 2024
41a3c50
chore: rm commented code
mcanouil Nov 4, 2024
37efa0b
feat: cancellable
mcanouil Nov 4, 2024
91efb83
feat: proper log channel
mcanouil Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
out
node_modules
.vscode-test
*.vsix
34 changes: 34 additions & 0 deletions vscode/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"${workspaceFolder}/debug"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
20 changes: 20 additions & 0 deletions vscode/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Empty file added vscode/CHANGELOG.md
Empty file.
21 changes: 21 additions & 0 deletions vscode/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Mickaël Canouil

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file added vscode/README.md
Empty file.
58 changes: 58 additions & 0 deletions vscode/package-lock.json

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

48 changes: 48 additions & 0 deletions vscode/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "quarto-extension-installer",
"displayName": "Quarto Extension Installer",
"description": "Install Quarto extensions from https://github.com/mcanouil/quarto-extensions",
"version": "0.0.1",
"publisher": "mcanouil",
"author": {
"name": "Mickaël CANOUIL"
},
"license": "MIT",
"private": true,
"keywords": [
"markdown",
"pandoc",
"quarto"
],
"repository": {
"type": "git",
"url": "https://github.com/mcanouil/quarto-extensions/tree/main/vscode"
},
"homepage": "https://github.com/mcanouil/quarto-extensions/tree/main/vscode",
"bugs": {
"url": "https://github.com/mcanouil/quarto-extensions/issues"
},
"engines": {
"vscode": "^1.75.0"
},
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "quartoExtensionInstaller.installExtension",
"title": "Quarto: Install Extension(s) from mcanouil/quarto-extensions"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^22.8.6",
"@types/vscode": "^1.75.0",
"typescript": "^5.6.2"
}
}
Loading