

- #Sublime text 3 plugin how to#
- #Sublime text 3 plugin update#
- #Sublime text 3 plugin zip#
- #Sublime text 3 plugin download#
It's good idea since I put my client scripts in "client" sub-folder too. client/a plugin will detect it as client-side script. Good idea but maybe can you add detection by folder name too? For example if script is in. I'll will have to create a service or a hidden app that will be ran when Sublime Text starts and it will do that for me.ĭon't ask for release date, I will release it soon, very soon.
#Sublime text 3 plugin update#
Also, unfortunately Sublime Text doesn't trigger an event when file is renamed so I cannot update meta.xml when you rename a file. At the moment it's exclusive to Sublime Text 3, I will try to port it to Sublime Text 2. The most important thing is that if the file name starts with "c_" then file will be added as client-side script, otherwise server-side no the file name doesn't have to start with "s_" but for organization purposes I recommend you follow this naming convention. lua file anywhere in a resource folder (I'm using SideBarEnhancement plugin, I recommend it but it doesn't trigger event when file is created) and when you try to save it, my plugin will check if the file already exists inside the resource meta.xml if not then you will get this message box asking you if you want to add it. Just wanted to let you guys know, I'm working on a little plugin, the screenshot should say it all: In client-side files you will also see server-side functions (eg. It doesn't matter for many functions because the parameters are the same, but for some functions it does matter, like outputChatBox has "visibleTo" parameter which is not present in client-side variant. Editor.zip (only 512 KB) (MD5: CA7EA2AEE682B79BBCA01A34AC39C9FD)Īuto-complete window that shows up when you're typing function names will show both server and client functions because Sublime Text doesn't know which files should be showing which functions. lua files and have all MTA functions highlighted and auto-completion too. Red for client-side, Orange for server-side and Blue for shared functions (Preferences -> Color Scheme -> User -> 50pMTAEditor -> Monokai-MTA-Edit)Īnd you're ready to edit.
#Sublime text 3 plugin zip#
zip to C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User\50pMTAEditor\
#Sublime text 3 plugin download#

Make sure you have Sublime Text installed. So, this is what I came up with over the weekend. Because I made an application for MTA:SE to fetch all the MTA functions and save them in an SQLite database, I decided to reuse it and generate files for Sublime Text instead.
#Sublime text 3 plugin how to#
So I downloaded it and immediately started researching how to make packages for it. I heard of Sublime Text which is small in download size but powerful at the same time. Then I wanted to write an extension for Visual Studio but again, too much to download. At first I wanted to make an extension for Eclipse but I thought that's too much to download for everyone just to script for MTA. Due to the fact I stopped developing it I decided to find a better solution. The main reason was the syntax highlighter has many bugs that annoy me and others. Many of you know MTA:Script Editor and that I've stopped working on it.
