Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ade500c
Basic notecard support
WolfGangS Apr 14, 2026
d017577
Fix file meta
WolfGangS Apr 15, 2026
d30cda5
Add startup check
WolfGangS Apr 15, 2026
e09dc1b
Remove file meta output check
WolfGangS Apr 15, 2026
fb08c33
First pass of new sync setup
WolfGangS Apr 18, 2026
e0d3e1b
Dont close file if no master found
WolfGangS Apr 18, 2026
243e010
linting
WolfGangS Apr 18, 2026
abd070c
I had seen a couple issues when checking against the documentation.
Rider-Linden Apr 29, 2026
711e10b
Consume the pregenerated selene and LUALSP config files delivered thr…
Rider-Linden Apr 29, 2026
60022b3
Merge pull request #64 from WolfGangS/wolfgang/notecard-link
Rider-Linden Apr 30, 2026
972cf3c
Merge branch 'develop' into wolfgang/file-link
WolfGangS Apr 30, 2026
fc07cfe
Remove Debug
WolfGangS Apr 30, 2026
e50c8b5
Handle close textDocument errors
WolfGangS Apr 30, 2026
dfc9019
Normalize file path before setting in activeSyncs
WolfGangS Apr 30, 2026
e0386b4
Update src/vscode/SyncedFileDecorator.ts
WolfGangS Apr 30, 2026
e868284
Update src/vscode/SyncedFileDecorator.ts
WolfGangS Apr 30, 2026
f10443b
Update src/synchservice.ts
WolfGangS Apr 30, 2026
475f12c
Merge pull request #65 from WolfGangS/wolfgang/file-link
Rider-Linden Apr 30, 2026
4e00e81
Check that Luau-LSP is active before configuring.
Rider-Linden Apr 30, 2026
12947fc
Correctly handle possibly async message handlers.
Rider-Linden Apr 30, 2026
fdb1655
Merge pull request #66 from secondlife/rider/new_cap
Rider-Linden Apr 30, 2026
05aa031
Rider test (#73)
Rider-Linden May 27, 2026
f223244
chore: prepare release v1.0.4
github-actions[bot] May 27, 2026
b4e855f
Merge branch 'main' into release/v1.0.4
Rider-Linden May 27, 2026
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
74 changes: 6 additions & 68 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@ name: CI
on:
push:
branches: [ "*" ]
tags: [ "v*" ]
tags-ignore: [ "**" ]
pull_request:
branches: [ main, develop ]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: '24.x'
cache: 'npm'

- name: Install dependencies
Expand All @@ -41,7 +37,6 @@ jobs:

- name: Run full test suite
run: xvfb-run -a npm test
continue-on-error: false

build:
needs: test
Expand All @@ -66,24 +61,9 @@ jobs:
- name: Compile extension
run: npm run vscode:prepublish

- name: Determine build metadata
- name: Get build SHA
id: version
run: |
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
echo "release_type=release" >> $GITHUB_OUTPUT
elif [ "${{ github.ref }}" = "refs/heads/debug" ]; then
echo "release_type=beta" >> $GITHUB_OUTPUT
fi
echo "sha_short=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT

- name: Update package.json version for non-main builds
if: github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/v')
run: |
# Build strict numeric version: major.minor.patch.run
BASE_VERSION=$(node -p "(() => { const m = (require('./package.json').version.match(/\\d+/g) || []); return [m[0] || '0', m[1] || '0', m[2] || '0'].join('.'); })()")
NEW_VERSION="${BASE_VERSION}.${GITHUB_RUN_NUMBER}"
node -e "const fs=require('fs');const p=require('./package.json');p.version=process.env.NEW_VERSION;fs.writeFileSync('package.json', JSON.stringify(p, null, 2) + '\\n');"
echo "Updated version to: $NEW_VERSION"
run: echo "sha_short=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_OUTPUT

- name: Package extension
run: vsce package
Expand All @@ -93,52 +73,10 @@ jobs:
run: |
PACKAGE_FILE=$(ls *.vsix | head -1)
echo "filename=$PACKAGE_FILE" >> $GITHUB_OUTPUT
echo "name=$(basename "$PACKAGE_FILE" .vsix)" >> $GITHUB_OUTPUT

- name: Upload VSIX artifact
uses: actions/upload-artifact@v4
with:
name: vscode-extension-${{ steps.version.outputs.release_type }}-${{ steps.version.outputs.sha_short }}
name: vscode-extension-${{ steps.version.outputs.sha_short }}
path: ${{ steps.package.outputs.filename }}
retention-days: 30

release:
name: Update release info
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write

steps:
- name: Get version from tag
id: version
run: |
VERSION=${GITHUB_REF#refs/tags/v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Download VSIX artifact
uses: actions/download-artifact@v4
with:
pattern: vscode-extension-*
merge-multiple: true

- name: Get package filename
id: package
run: |
PACKAGE_FILE=$(ls *.vsix | head -1)
echo "filename=$PACKAGE_FILE" >> $GITHUB_OUTPUT

- name: Create release
id: release
uses: secondlife-3p/action-gh-release@v1
with:
# name the release page for the branch
name: "SL-VScode Plugin ${{ steps.version.outputs.version }} Release"
prerelease: true
generate_release_notes: true
target_commitish: ${{ github.sha }}
append_body: true
files: ${{ steps.package.outputs.filename }}
48 changes: 48 additions & 0 deletions .github/workflows/generate-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Generate Release Notes

on:
workflow_call:
inputs:
tag_name:
description: Tag name to generate release notes for
required: true
type: string
target_commitish:
description: Branch or commit SHA used as target for note generation
required: true
type: string
outputs:
release_notes:
description: Generated release notes body
value: ${{ jobs.generate.outputs.release_notes }}

permissions:
contents: read

jobs:
generate:
runs-on: ubuntu-latest
outputs:
release_notes: ${{ steps.generate.outputs.release_notes }}

steps:
- name: Generate release notes body
id: generate
uses: actions/github-script@v7
env:
TAG_NAME: ${{ inputs.tag_name }}
TARGET_COMMITISH: ${{ inputs.target_commitish }}
with:
script: |
const { owner, repo } = context.repo;
const tag_name = process.env.TAG_NAME;
const target_commitish = process.env.TARGET_COMMITISH;

const response = await github.rest.repos.generateReleaseNotes({
owner,
repo,
tag_name,
target_commitish,
});

core.setOutput('release_notes', response.data.body || '');
10 changes: 3 additions & 7 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
branches: [main, develop]

permissions:
id-token: write
contents: read

jobs:
Expand All @@ -20,18 +19,15 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 'latest'
node-version: '24.x'
cache: 'npm'
- name: Install dependencies
run: npm install
run: npm ci

- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.x'

- name: Install pre-commit
run: pip install pre-commit

- name: Run pre-commit checks
run: pre-commit run --all-files
uses: pre-commit/action@v3.0.1
Loading
Loading