Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcmlz/sublimetext-build-systems-raku
Enable Build and Syntax Highlighting for Raku in Sublime Text
https://github.com/rcmlz/sublimetext-build-systems-raku
raku sublime-text syntax-highlighting
Last synced: 28 days ago
JSON representation
Enable Build and Syntax Highlighting for Raku in Sublime Text
- Host: GitHub
- URL: https://github.com/rcmlz/sublimetext-build-systems-raku
- Owner: rcmlz
- License: mit
- Created: 2023-05-06T09:33:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-09T11:55:40.000Z (11 months ago)
- Last Synced: 2024-12-01T01:48:30.007Z (28 days ago)
- Topics: raku, sublime-text, syntax-highlighting
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sublimetext-build-systems-raku
Enable Raku in Sublime Text
## Usage
https://www.sublimetext.com/docs/build_systems.html#running-a-build## Installing Sublime using https://brew.sh/
```bash
brew install sublime-text
```
## Installing Raku & App::Prove6
```bash
brew install rakudo-star
zef install App::Prove6 Terminal::ANSIColor
```## Setup Shortcuts & Syntax Highlighting
Syntax highlighting was taken from https://github.com/silentTeee/sublimetext3-perl6-syntax### MacOS
```bash
BUILD_FILE=Raku.sublime-build
SYNTAX_FILE=Raku.sublime-syntaxSOURCE_DIR=https://raw.githubusercontent.com/rcmlz/sublimetext-build-systems-raku/main
TARGET_DIR=~/Library/Application\ Support/Sublime\ Text/Packages/Usermkdir -p $TARGET_DIR
curl "$SOURCE_DIR/$BUILD_FILE" -o "$TARGET_DIR/$BUILD_FILE"
curl "$SOURCE_DIR/$SYNTAX_FILE" -o "$TARGET_DIR/$SYNTAX_FILE"cat "$TARGET_DIR/$BUILD_FILE"
cat "$TARGET_DIR/$SYNTAX_FILE"
```You might want to install a Raku Language Server like [RakuNavigator](https://github.com/bscan/RakuNavigator)
```
cd ~/.raku
git clone https://github.com/bscan/RakuNavigator
cd RakuNavigator
npm install
npm run compile
```and activate it in Preferences -> Package Settings -> LSP -> Settings
```
// Settings in here override those in "LSP/LSP.sublime-settings"
{
"clients": {
"rakunavigator": {
"enabled": true,
"command": ["node", "~/.raku/RakuNavigator/server/out/server.js", "--stdio"],
"selector": "source.raku",
}
}
}
```### Linux
ToDo
### Windows
ToDo## Known Issues
- make Raku.sublime-package OS independent