blob: bead1372a44c0efd32d0074a0d4c070b6d988c78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/bash
echo "๐ง Building and installing Baba Yaga VS Code extension..."
# Build the extension
echo "๐ฆ Packaging extension..."
npx vsce package --out baba-yaga-latest.vsix
if [ $? -eq 0 ]; then
echo "โ
Extension packaged successfully"
# Install the extension
echo "๐ Installing extension in VS Code..."
code --install-extension baba-yaga-latest.vsix --force
if [ $? -eq 0 ]; then
echo "โ
Extension installed successfully"
echo ""
echo "๐งช To test markdown highlighting:"
echo "1. Open MARKDOWN_TEST.md in VS Code"
echo "2. Check if Baba Yaga code blocks have syntax highlighting"
echo "3. If not, try 'Developer: Reload Window' (Ctrl+Shift+P)"
echo ""
echo "๐ Extension features:"
echo "- Syntax highlighting for .baba files"
echo "- Syntax highlighting in markdown code blocks"
echo "- Improved comment handling in diagnostics"
echo "- Support for typed curried functions"
echo ""
echo "๐ Troubleshooting:"
echo "- Check extension is enabled in Extensions panel"
echo "- Verify markdown files show 'Markdown' in bottom right"
echo "- Try opening a .baba file to ensure basic highlighting works"
else
echo "โ Failed to install extension"
exit 1
fi
else
echo "โ Failed to package extension"
exit 1
fi
|