SQF for VBS3
SQF Syntax Highlighting and Enhancement Features for VBS3
Details
Installs
- Total 1K
- Win 1K
- Mac 56
- Linux 47
Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SQF for VBS3
SQF Syntax Highlighting and Enhancement Features for Bohemia Interactive Simulations' VBS3
Table of Contents
Features:
- Syntax highlighting
- Autocomplete for commands and functions
- Snippets for autoformating code blocks for common functions
- e.g.
while
,waitUntil
, anddiagMessage
- e.g.
- Search shortcuts for the BIS Wiki, Developers Reference, and VBS Forums
- Color picker that returns VBS compatible values (Modification of ColorPicker by Weslly)
Installation:
Using Package Control (Recommended)
For all Sublime Text 2/3 users we recommend install via Package Control.
- Install Package Control if you haven't yet.
- Use
Ctrl+Shift+P
thenPackage Control: Install Package
- Look for
SQF for VBS3
and install it.
Manual Install
- Click the
Preferences > Browse Packages…
menu - Browse up a folder and then into the
Installed Packages/
folder - Download zip package rename it to
SQF-VBS3.sublime-package
and copy it into theInstalled Packages/
directory - Restart Sublime Text
Usage
Snippets
- As you type out a command that has a snippet created for it, you will see it as an autocomplete option.
- If you hit
Enter
with the snippet option highlighted, the rest of the code will be filled in. - Once the code has been added, you can hit
Tab
to move to each of the key input areas for that command/code block
Search Resources
- You can search various development resources by highlighting a word, and then either right-clicking and selecting the resource you want to search from the context menu, or by pressing the corresponding keyboard shortcut.
Color Picker
- You can retrive a formated color value from a color picker GUI by either right-clicking and selecting
Color Picker - VBS Format
from the context menu, or by pressing the corresponding keyboard shortcut. - The color will be returned in R,B,G format, with each value being calculated within a range of 0-1
Keyboard Shortcuts
- Search VBS3 Wiki
Ctrl+Shift+F1
Ctrl+Shift+'
- Search VBS3 Developers Reference
Ctrl+Shift+F2
- Search VBS Forums
Ctrl+Shift+F3
- Open Color Picker
Ctrl+Shift+C
Open Report File
- You can open the VBS3_64.RPT file without having to navigate to the proper folder by going to
Tools -> VBS Resources -> Open VBS RPT File
- Any errors that you see show up in VBS should be near the bottom of this file
Support:
- Any bugs about SQF for VBS3 please feel free to report here.
- And you are welcome to fork and submit pullrequests.