feat(antigravity): add support for Antigravity editor and update documentation; create extensions lock file for Antigravity

This commit is contained in:
2025-11-20 00:58:52 +00:00
parent 32fcd64934
commit 2a2f988616
6 changed files with 170 additions and 21 deletions

View File

@@ -5,10 +5,11 @@ repository.
## Project Overview
This is a personal VSCode configuration repository (vscode-siren) that provides
a unified configuration for VSCode-based editors including Cursor, VSCode,
VSCode Insiders, and Windsurf. It focuses on recreating an Emacs-like text
editor experience with custom keybindings, settings, and extensions.
This is a personal VSCode configuration repository (vscode-siren) that
provides a unified configuration for VSCode-based editors including Cursor,
VSCode, VSCode Insiders, Windsurf, and Antigravity. It focuses on recreating
an Emacs-like text editor experience with custom keybindings, settings, and
extensions.
## Key Commands
@@ -28,6 +29,7 @@ editor experience with custom keybindings, settings, and extensions.
### Supported Editors
- `antigravity` (agy, a) - Antigravity editor (VSCode-compatible, prefers OpenVSX)
- `cursor` (c) - Cursor editor
- `vscode` (code, vsc, v) - Visual Studio Code
- `vscode-insiders` (vsci, i) - Visual Studio Code Insiders

View File

@@ -1,5 +1,17 @@
# List of supported editors
EDITORS := cursor vscode vscode-insiders windsurf
EDITORS := antigravity cursor vscode vscode-insiders windsurf
.PHONY: antigravity-config
antigravity-config:
./siren antigravity config
.PHONY: antigravity-extensions
antigravity-extensions:
./siren antigravity extensions
.PHONY: antigravity-dump-extensions
antigravity-dump-extensions:
./siren antigravity dump-extensions
.PHONY: cursor-config
cursor-config:

View File

@@ -1,8 +1,9 @@
# jimeh's VSCode configuration (vscode-siren)
This is my personal configuration for [VSCode][] and VSCode-based editors like
[Cursor][] and [Windsurf][], and is heavily geared towards recreating the text
editor experience I have in Emacs with [my config][emacs-siren].
[Cursor][], [Antigravity][], and [Windsurf][], and is heavily geared towards
recreating the text editor experience I have in Emacs with [my
config][emacs-siren].
The "vscode-siren" nickname is based on the the "Emacs Siren" nickname of my
Emacs config.
@@ -10,8 +11,9 @@ Emacs config.
Focus has primarily been around using this with Cursor, but does work in
Windsurf and regular VSCode as well.
[VSCode]: https://code.visualstudio.com/
[Antigravity]: https://antigravity.google/
[Cursor]: https://www.cursor.com/
[VSCode]: https://code.visualstudio.com/
[Windsurf]: https://codeium.com/windsurf
[emacs-siren]: https://github.com/jimeh/.emacs.d
@@ -36,7 +38,7 @@ git clone https://github.com/jimeh/.vscode.d.git ~/.config/vscode-siren
## Setup
The included `siren` script is a helper to symlink configuration files into the
default profile of VSCode-based editors, and also manage their installed
default profile of VSCode-based editors, and manage their installed
extensions via lock files.
```bash
@@ -48,6 +50,8 @@ Usage: siren EDITOR COMMAND [OPTIONS]
Editors:
cursor, c Cursor editor
kiro, k Kiro editor (uses OpenVSX by default)
antigravity, agy Antigravity editor (prefers OpenVSX)
vscode, code, vsc, v Visual Studio Code
vscode-insiders, vsci, i Visual Studio Code Insiders
windsurf, surf, w Windsurf editor

118
extensions.antigravity.lock Normal file
View File

@@ -0,0 +1,118 @@
# antigravity Extensions
# Generated on Thu Nov 20 00:57:22 GMT 2025
# Version: 1.104.0 (379750caac7172d89d256835378d03e766682227, arm64)
ahmadalli.vscode-nginx-conf@0.3.5
alefragnani.project-manager@12.8.0
anthropic.claude-code@2.0.47
antyos.openscad@1.3.2
arrterian.nix-env-selector@1.1.0
arturodent.command-alias@0.6.2
astro-build.astro-vscode@2.15.4
benspaulding.procfile@1.1.7
bibhasdn.unique-lines@1.0.0
bierner.github-markdown-preview@0.3.0
bierner.markdown-checkbox@0.4.0
bierner.markdown-emoji@0.3.1
bierner.markdown-footnotes@0.1.1
bierner.markdown-mermaid@1.29.0
bierner.markdown-preview-github-styles@0.1.6
bierner.markdown-yaml-preamble@0.1.0
bmarkovic.haproxy@0.1.2
bodil.file-browser@0.2.11
britesnow.vscode-toggle-quotes@0.3.6
bufbuild.vscode-buf@0.8.1
carlos-algms.make-task-provider@2.4.2
christian-kohler.path-intellisense@2.8.0
connor4312.esbuild-problem-matchers@0.0.3
ctf0.macros@1.1.1
davidanson.vscode-markdownlint@0.60.0
dbaeumer.vscode-eslint@3.0.16
deerawan.vscode-faker@2.0.0
dnut.rewrap-revived@1.16.3
editorconfig.editorconfig@0.17.4
elijah-potter.harper@0.72.0
emeraldwalk.runonsave@0.3.2
esbenp.prettier-vscode@11.0.0
exiasr.hadolint@1.1.2
fogio.inline-go-struct-tags-syntax-highlight@1.0.0
github.remotehub@0.65.2025081801
github.vscode-github-actions@0.28.0
github.vscode-pull-request-github@0.118.2
gofenix.go-lines@0.0.10
golang.go@0.51.1
gruntfuggly.todo-tree@0.0.215
hashicorp.terraform@2.37.5
hoovercj.vscode-settings-cycler@1.0.1
humao.rest-client@0.25.0
hverlin.mise-vscode@1.2.0
jakearl.search-editor-apply-changes@0.1.1
jimeh.executable-on-save@0.2.5
jnoortheen.nix-ide@0.5.0
joshbolduc.commitlint@2.6.3
joshmu.periscope@1.15.1
kahole.magit@0.6.67
karunamurti.haml@1.4.1
kilocode.kilo-code@4.121.0
koichisasada.vscode-rdbg@0.2.1
letrieu.expand-region@0.1.4
llvm-vs-code-extensions.vscode-clangd@0.2.0
m4ns0ur.base64@1.0.0
mads-hartmann.bash-ide-vscode@1.43.0
matthewpi.caddyfile-support@0.4.0
mattn.lisp@0.1.12
mermaidchart.vscode-mermaid-chart@2.3.0
meta.pyrefly@0.42.2
mhutchie.git-graph@1.30.0
mkhl.direnv@0.17.0
mrmlnc.vscode-duplicate@1.2.1
ms-azuretools.vscode-containers@2.2.0
ms-dotnettools.vscode-dotnet-runtime@2.3.7
ms-kubernetes-tools.vscode-kubernetes-tools@1.3.26
ms-python.debugpy@2025.14.1
ms-python.python@2025.16.0
ms-python.vscode-python-envs@1.10.0
ms-vscode.cmake-tools@1.21.36
ms-vscode.extension-test-runner@0.0.12
ms-vscode.hexeditor@1.11.1
ms-vscode.remote-repositories@0.43.2025081801
ms-vscode.vscode-speech@0.16.0
ms-vsliveshare.vsliveshare@1.0.5959
ninoseki.vscode-mogami@0.1.6
openai.chatgpt@0.4.44
orta.vscode-jest@6.4.4
pflannery.vscode-versionlens@1.22.4
pkief.material-icon-theme@5.28.0
pomdtr.excalidraw-editor@3.9.0
redhat.java@1.49.0
redhat.vscode-xml@0.29.0
redhat.vscode-yaml@1.19.1
repreng.csv@1.2.2
romanpeshkov.vscode-text-tables@0.1.5
rrudi.vscode-dired@0.0.9
rust-lang.rust-analyzer@0.3.2683
shopify.ruby-extensions-pack@0.1.13
shopify.ruby-lsp@0.9.32
sidneys1.gitconfig@2.0.1
sorbet.sorbet-vscode-extension@0.3.46
streetsidesoftware.code-spell-checker@4.3.2
stuart.unique-window-colors@1.0.51
sumneko.lua@3.15.0
svelte.svelte-vscode@109.12.0
swellaby.workspace-config-plus@0.2.5
tamasfe.even-better-toml@0.21.2
tootone.org-mode@0.5.0
tuttieee.emacs-mcx@0.93.0
tyriar.sort-lines@1.9.1
vadimcn.vscode-lldb@1.11.8
viktorzetterstrom.non-breaking-space-highlighter@0.0.3
vscjava.vscode-gradle@3.17.1
vscjava.vscode-java-debug@0.58.3
vscjava.vscode-java-dependency@0.26.3
vscjava.vscode-java-pack@0.30.4
vscjava.vscode-java-test@0.43.2
vscjava.vscode-maven@0.44.0
wenhoujx.swiper@2.1.2
zhuangtongfa.material-theme@3.19.0
ziyasal.vscode-open-in-github@1.3.6
zxh404.vscode-proto3@0.5.5

View File

@@ -166,6 +166,7 @@ actionnav
actool
aker
amazonses
antigravity
args
asdf
atech

36
siren
View File

@@ -63,6 +63,7 @@ Usage:
$(basename "$0") shared-extensions [--json] [EDITORS...]
Editors:
antigravity, agy, a Antigravity editor (prefers OpenVSX)
cursor, c Cursor editor
kiro, k Kiro editor (uses OpenVSX by default)
vscode, code, vsc, v Visual Studio Code
@@ -153,9 +154,15 @@ normalize_editor_name() {
local name
name="$(echo "${1:-}" | tr '[:upper:]' '[:lower:]')"
case "${name}" in
antigravity | agy | a)
echo "antigravity"
;;
cursor | c)
echo "cursor"
;;
kiro | k)
echo "kiro"
;;
vscode | code | vsc | v)
echo "vscode"
;;
@@ -165,9 +172,6 @@ normalize_editor_name() {
windsurf | wind | surf | w)
echo "windsurf"
;;
kiro | k)
echo "kiro"
;;
*)
echo ""
;;
@@ -255,9 +259,15 @@ editor_config_dir() {
case "$(uname -s)" in
"Darwin")
case "${SETUP_EDITOR}" in
"antigravity")
echo "${HOME}/Library/Application Support/Antigravity/User"
;;
"cursor")
echo "${HOME}/Library/Application Support/Cursor/User"
;;
"kiro")
echo "${HOME}/Library/Application Support/Kiro/User"
;;
"vscode")
echo "${HOME}/Library/Application Support/Code/User"
;;
@@ -267,9 +277,6 @@ editor_config_dir() {
"windsurf")
echo "${HOME}/Library/Application Support/Windsurf/User"
;;
"kiro")
echo "${HOME}/Library/Application Support/Kiro/User"
;;
*)
fatal "Invalid editor '${SETUP_EDITOR}' for macOS"
;;
@@ -277,9 +284,15 @@ editor_config_dir() {
;;
"Linux")
case "${SETUP_EDITOR}" in
"antigravity")
echo "${HOME}/.config/Antigravity/User"
;;
"cursor")
echo "${HOME}/.config/Cursor/User"
;;
"kiro")
echo "${HOME}/.config/Kiro/User"
;;
"vscode")
echo "${HOME}/.config/Code/User"
;;
@@ -289,9 +302,6 @@ editor_config_dir() {
"windsurf")
echo "${HOME}/.config/Windsurf/User"
;;
"kiro")
echo "${HOME}/.config/Kiro/User"
;;
*)
fatal "Invalid editor '${SETUP_EDITOR}' for Linux"
;;
@@ -446,11 +456,12 @@ find_editor_cmd() {
local -A editor_paths
# Define editor command names and their possible locations.
_add_editor_paths "antigravity" "agy" "Antigravity.app"
_add_editor_paths "cursor" "cursor" "Cursor.app"
_add_editor_paths "kiro" "kiro" "Kiro.app"
_add_editor_paths "vscode" "code" "Visual Studio Code.app"
_add_editor_paths "vscode-insiders" "code-insiders" "Visual Studio Code - Insiders.app"
_add_editor_paths "windsurf" "windsurf" "Windsurf.app"
_add_editor_paths "kiro" "kiro" "Kiro.app"
if [[ -z "${editor_paths[${SETUP_EDITOR}]}" ]]; then
fatal "Invalid editor '${SETUP_EDITOR}'"
@@ -1428,8 +1439,9 @@ main() {
exit 1
fi
# Set PREFER_OPENVSX to true for Kiro.
if [[ "${SETUP_EDITOR}" == "kiro" ]]; then
# Set PREFER_OPENVSX to true for editors that prefer OpenVSX.
if [[ "${SETUP_EDITOR}" == "kiro" ||
"${SETUP_EDITOR}" == "antigravity" ]]; then
PREFER_OPENVSX="true"
fi