-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move notebooks file association to Calva Spritz
* Fixes #1850
- Loading branch information
Showing
11 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
src/** | ||
.gitignore | ||
.yarnrc | ||
vsc-extension-quickstart.md | ||
**/tsconfig.json | ||
**/.eslintrc.json | ||
**/*.map | ||
**/*.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# LICENSE | ||
|
||
Spritz is free to use as you wish. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Spritz | ||
|
||
A bubbly connection between Clojure file types and Notebooks in VS Code, effervescently crafted to support Calva users. | ||
|
||
Because of an issue with LiveShare in VS Code making all Notebook associated files open in Notebooks we have this side-car extension to go with Calva. It is a workaround until the issue is fixed by the LiveShare team. | ||
|
||
The issue is tracked here: | ||
|
||
* Calva issue: [LiveShare participants incorrectly opening every Clojure file as if via "Open with Notebook"](https://github.com/BetterThanTomorrow/calva/issues/1850) | ||
* LiveShare issue: [Guest opens Clojure file as a notebook (incorrectly)](https://github.com/MicrosoftDocs/live-share/issues/4765) | ||
|
||
This extension only provides the notebook file association of Clojure files. All notebook supporting code lives in Calva. As a Calva user you will get this extension automatically installed and enabled together with Calva. As long as you have it enabled you will have Clojure Notebooks in VS Code when using Calva. To disable Notebook association and make LiveShare sessions work better (without Notebooks, sadly). | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "calva-spritz", | ||
"displayName": "Calva Spritz", | ||
"publisher": "betterthantomorrow", | ||
"description": "A bubbly connection between Clojure files and Notebooks in VS Code, effervescently crafted to support Calva users.", | ||
"icon": "spritz-icon.png", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/BetterThanTomorrow/calva.git" | ||
}, | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/BetterThanTomorrow/calva/issues" | ||
}, | ||
"engines": { | ||
"vscode": "^1.76.0" | ||
}, | ||
"sponsor": { | ||
"url": "https://calva.io/sponsors/" | ||
}, | ||
"categories": [ | ||
"Notebooks" | ||
], | ||
"keywords": [ | ||
"Notebooks", | ||
"Clojure", | ||
"Calva" | ||
], | ||
"contributes": { | ||
"notebooks": [ | ||
{ | ||
"type": "calva-clojure-notebook", | ||
"displayName": "Clojure Notebook", | ||
"priority": "option", | ||
"selector": [ | ||
{ | ||
"filenamePattern": "*.{clj,cljc,cljs,cljx}" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters