Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,20 @@ jobs:
- name: Package
run: npx --yes @vscode/vsce package

- name: Package Marketplace build (name quantum-fluidity)
run: |
mkdir -p marketplace
node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.name='quantum-fluidity';fs.writeFileSync('package.json',JSON.stringify(p,null,2)+'\n')"
npx --yes @vscode/vsce package -o "marketplace/quantum-fluidity-$VERSION.vsix"
git checkout -- package.json

- name: Check what is already published
id: published
run: |
OVSX=$(curl -sf "https://open-vsx.org/api/I4cTime/quantum-fluidity-theme/$VERSION" >/dev/null && echo true || echo false)
VSM=$(curl -sf -X POST "https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery" \
-H "Content-Type: application/json" -H "Accept: application/json;api-version=3.0-preview.1" \
-d '{"filters":[{"criteria":[{"filterType":7,"value":"I4cTime.quantum-fluidity-theme"}]}],"flags":1}' \
-d '{"filters":[{"criteria":[{"filterType":7,"value":"I4cTime.quantum-fluidity"}]}],"flags":1}' \
| grep -q "\"version\":\"$VERSION\"" && echo true || echo false)
echo "openvsx=$OVSX" >> "$GITHUB_OUTPUT"
echo "marketplace=$VSM" >> "$GITHUB_OUTPUT"
Expand All @@ -89,7 +96,7 @@ jobs:

- name: Publish to VS Code Marketplace
if: steps.published.outputs.marketplace != 'true' && env.VSCE_PAT != ''
run: npx --yes @vscode/vsce publish --packagePath ./*.vsix
run: npx --yes @vscode/vsce publish --packagePath ./marketplace/*.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ All notable changes to **Quantum Fluidity** are documented here.
- **More semantic tokens.** Keywords, operators, strings, numbers, regexps and comments at the semantic layer, plus Pylance (`selfParameter`, `builtinConstant`, `magicFunction`) and rust-analyzer (`lifetime`, `selfKeyword`, `builtinAttribute`, `derive`) token types.
- **More TextMate scopes.** YAML, TOML and INI keys in cyan; decorators and annotations; Rust lifetimes and macros; docstrings read as comments; template-literal expressions no longer inherit string pink; markdown strikethrough, fenced-code content, list bullets and rules; diff headers; log-output levels.
- **Real previews of all four variants** in the README, plus a hero card.
- **VS Code Marketplace listing** under the `I4cTime` publisher as `I4cTime.quantum-fluidity` (the `-theme` name is permanently reserved there by the retired `i4cdeath` listing). Open VSX stays `I4cTime.quantum-fluidity-theme`.

### Changed
- `package.json` now carries homepage, bugs, Q&A, sponsor, pricing and a CI badge; the project is MIT again: `LICENSE` had been switched to AGPL-3.0-only in 2.0.0's prep while `package.json` still said MIT; both now say MIT.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p>
<a href="https://github.com/I4cTime/quantum-fluidity-theme/actions/workflows/ci.yml"><img src="https://github.com/I4cTime/quantum-fluidity-theme/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
<a href="https://open-vsx.org/extension/I4cTime/quantum-fluidity-theme"><img src="https://img.shields.io/open-vsx/v/I4cTime/quantum-fluidity-theme?label=Open%20VSX&color=B266FF" alt="Open VSX version" /></a>
<a href="https://marketplace.visualstudio.com/items?itemName=I4cTime.quantum-fluidity-theme"><img src="https://img.shields.io/visual-studio-marketplace/v/I4cTime.quantum-fluidity-theme?label=VS%20Marketplace&color=00D1FF" alt="VS Marketplace version" /></a>
<a href="https://marketplace.visualstudio.com/items?itemName=I4cTime.quantum-fluidity"><img src="https://img.shields.io/visual-studio-marketplace/v/I4cTime.quantum-fluidity?label=VS%20Marketplace&color=00D1FF" alt="VS Marketplace version" /></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-FF0055" alt="License: MIT" /></a>
</p>
</div>
Expand Down Expand Up @@ -66,6 +66,8 @@ Each role keeps its meaning across all four variants:
2. Search for `Quantum Fluidity` and click **Install**.
3. `Ctrl+K Ctrl+T` (or Command Palette, `Preferences: Color Theme`) and pick your variant.

From the command line: `code --install-extension I4cTime.quantum-fluidity`. The Marketplace ID is `I4cTime.quantum-fluidity` (the `-theme` name is permanently reserved there by an old listing); Open VSX uses `I4cTime.quantum-fluidity-theme`. Same extension, same contents.

### Cursor
Cursor reads the same extension format. Search `Quantum Fluidity` in Cursor's Extensions panel (served from Open VSX), or install the `.vsix` manually (below).

Expand Down
Loading