XYS syntax highlight for Sublime Text

Discuss and share scripts and script files...
binocular222
Posts: 1421
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: XYS syntax highlight for Sublime Text

Post by binocular222 »

Update: Improve contextual help: Place cursor oncommand ID such as #100 then press Ctrl+enter will display corresponding command in status bar
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

binocular222
Posts: 1421
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: XYS syntax highlight for Sublime Text

Post by binocular222 »

Significant Update:
+ Support Goto Definition for User Defined Function
+ Highlight a few new xy-functions
+ Add a few new snippets
% Rewrite README.md (much better documentation now)

P.S: I was unable to install Github to upload file_type_xys.png (attached file) because Internet cable connecting Vietnam to the World broke down for about half-a-month. Anyway, this is a minor thing.
Attachments
file_type_xys.png
file_type_xys.png (2.14 KiB) Viewed 2937 times
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

CookieMonster

Re: XYS syntax highlight for Sublime Text

Post by CookieMonster »

XYplorer syntax highlighter doesn't automatically show invisible white characters so I added
"draw_white_space":"all"
to the following settings in the XYplorer settings files and I don't see white spaces ?
XYplorer > Settings User & Build Settings User

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XYS syntax highlight for Sublime Text

Post by bdeshi »

First of all, make sure you're using the latest version of the XYplorer package (which also changes the package foldername)
https://github.com/Binocular222/XYplorer

Click the "Download ZIP" button. (bottom of the right sidebar)

or my fork: https://github.com/smsrkr/XYplorer
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

CookieMonster

Re: XYS syntax highlight for Sublime Text

Post by CookieMonster »

Doesn't package control automatically update packages for Sublime text without any input on my end ?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XYS syntax highlight for Sublime Text

Post by bdeshi »

Not unless you've registered an external package into PackageControl. You probably have not done this, if you'd manually downloaded and installed the XYplorer package

(the newer version's readme says how to do the registration; following that, new releases should [AFAIK] be installed automagically)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

CookieMonster

Re: XYS syntax highlight for Sublime Text

Post by CookieMonster »

Not unless you've registered an external package into PackageControl. You probably have not done this, if you'd manually downloaded and installed the XYplorer package
I installed the XYplorer syntax highlighter though package control, not manually, I don't understand when you say "unless you've registered an external package into PackageControl" ?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XYS syntax highlight for Sublime Text

Post by bdeshi »

Wonder how you installed it via PackageCtrl when it's not listed there yet... unless you had already upgraded to a recent release, following the new install instructions. Don't fret about it though. I saw the problem.

Open XYplorer User Settings in SublimeText, right click on the text area, choose "Open Containing folder...". Now in the opened Windows Explorer folder, rename Xyplorer.sublime-settings to Xyplorer-tmp.sublime-settings, then rename this Xyplorer-tmp.sublime-settings to XYplorer.sublime-settings

note the letter case of XY.
if the folder was opened in XYplorer, you could directly rename Xyplorer.sublime-settings to XYplorer.sublime-settings
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply