##XYplorer XYplorer support package for Sublime Text
Alternative version: https://github.com/SammaySarkar/XYplorer
-
####INSTALL:
- With Package Control
- Open Command Palette (CTRL+SHIFT+P), pick
Package Control: Add Repository
- Enter
https://github.com/Binocular222/XYplorer
as the Repository URL - Now do
Package Control: Install Package
, search for and installXYplorer
- Open Command Palette (CTRL+SHIFT+P), pick
- Without Package Control
- Download this repo as zip.
Extract and rename the folder inside the zip file to
XYplorer
and move toData\Packages\
. - ALTERNATIVELY, and only if running Sublime Text 3, zip up the contents inside that
XYplorer
folder, rename the zip file toXYplorer.sublime-package
and place it inData\Installed Packages\
.
- Download this repo as zip.
Extract and rename the folder inside the zip file to
- With Package Control
-
####SETUP & USAGE:
- Open XYplorer package user settings:
Preferences > Package Settings > XYplorer > Settings - User
- Save the settings file with following content, using correct path to your XYplorer installation folder.
{ "xypath": "P:\\ath\\to\\XYplorer" "xyscripts": "P:\\ath\\to\\XYScripts" }
- Do the same with
Preferences > Package Settings > XYplorer > Build Settings - User
and this content.
{ "cmd": ["P:\\ath\\to\\XYplorer\\XYplorer.exe", "", "/script=$file", "/flg=2"], "selector": "source.xys" }
- The highlighter automatically activates in
*.xys, *.xyi
files. To include inc files, add anextensions
key to XYplorer package user settings:"extensions": ["inc"]
- Build-system integration is available. Doing
Tools > Build
will run the current script file in XYplorer. - Contextual help
- CTRL+ENTER triggers contextual help. Try it on everything: keywords, commandIDs, user-defined functions ...
- Command ID: associated menu caption is displayed in statusbar
- UDF, Namespace: Go to Definition/Declaration. (see UDF note below)
- INCLUDE statement: goto included file (remember to set corect 'xyscripts' path in package settings)
- Other language structures: opens associated location in XYplorer help file
- UDF note: add include files to project before you can jump to functions defined in those files.
- CTRL+ENTER triggers contextual help. Try it on everything: keywords, commandIDs, user-defined functions ...
- Tips
- SubScripts, User-Defined Functions and Namespace declarations are listed in Symbols.
- To assign XYplorer icon to .xys files in sidebar:
- Create an XYplorer icon in png format and save to
\Data\Packages\Theme - Default\icons\file_type_xys.png
- an example png icon is supplied with this package.
- Create an XYplorer icon in png format and save to
- Some features like Goto Definition, SymbolList etc are not available in ST2
- Open XYplorer package user settings:
Happy XYScripting!