Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
compatibilty w/ vscode for the web
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Mar 3, 2022
1 parent b6dcc52 commit e38e5b0
Show file tree
Hide file tree
Showing 12 changed files with 5,895 additions and 735 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ npm-debug.log
Thumbs.db
node_modules/
.build/
dist/
out/
out-build/
out-editor/
Expand All @@ -15,4 +16,5 @@ coverage/
test_data/
yarn-error.log
.vscode-test
.vscode-test-web

12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
"port": 6009,
"restart": true,
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
},
{
"type": "pwa-extensionHost",
"name": "Run Web Extension in VS Code",
"debugWebWorkerHost": true,
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionDevelopmentKind=web"
],
"outFiles": ["${workspaceFolder}/dist/web/**/*.js"],
"preLaunchTask": "npm: watch-web"
}
]
}
35 changes: 21 additions & 14 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "always",
"revealProblems": "onProblem"
},
"group": {
"kind": "build",
"isDefault": true
}
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "always",
"revealProblems": "onProblem"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-web",
"group": "build",
"isBackground": true,
"problemMatcher": ["$ts-webpack-watch"]
}
]
}
}
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.vscode-test/**
test/**
src/**
dist/**
visx/**
node_modules/**
**/*.map
**/*.ts
Expand Down
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changelog

## 1.5.3 (Unreleased)
## 1.6.0 (Release on 3 March 2022)

- Execute R code cells using vscode-R extension
- Completion for Quarto markdown classes and attributes
- Commands and keyboard shortcuts for cell execution and navigation
- Improved markdown parsing performance
- VS code for the web compatibility (synatx highlighting and snippets)

## 1.5.2 (Release on 28 February 2023)
## 1.5.2 (Release on 28 February 2022)

- Improved embedded completions for R (keep R LSP alive across requests)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ Use the `Go to File` command (`Ctrl+P`) to navigate to other files and the `Go t

You can alternatively download and install the extension from the command line as follows:

1. Download the extension file: [Quarto VS Code (VISX)](https://github.com/quarto-dev/quarto-vscode/raw/main/dist/quarto-1.5.2.vsix)
1. Download the extension file: [Quarto VS Code (VISX)](https://github.com/quarto-dev/quarto-vscode/raw/main/visx/quarto-1.6.0.vsix)

2. Install from the command line with:

```bash
code --install-extension quarto-1.5.2.vsix
code --install-extension quarto-1.6.0.vsix
```

Note that in order to use the `code` command to perform the installation you may need to open the VS Code Command Palette (Ctrl+Shift+P) and type "shell command" to execute the `Shell Command: Install 'code' command in PATH` command. This will make sure that `code` can be invoked from the command line on your system.
Binary file removed dist/quarto-1.5.2.vsix
Binary file not shown.
Loading

0 comments on commit e38e5b0

Please sign in to comment.