Skip to content

Binocular222/XYplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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 install XYplorer
    • Without Package Control
      • Download this repo as zip. Extract and rename the folder inside the zip file to XYplorer and move to Data\Packages\ .
      • ALTERNATIVELY, and only if running Sublime Text 3, zip up the contents inside that XYplorer folder, rename the zip file to XYplorer.sublime-package and place it in Data\Installed Packages\ .
  • ####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 an extensions 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.
    • 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.
    • Some features like Goto Definition, SymbolList etc are not available in ST2

Happy XYScripting!

About

XYplorer syntax highlighting for Sublime Text

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •