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. Select color scheme which has colors of MTA function names.Select the syntax highlighter (View -> Syntax -> Lua (MTA:SA) ).Run Sublime Text 3 and create a new file (File -> New) - this is only necessary so that you can see if it works.zip to C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User\50pMTAEditor\ Download the 50pMTAEditor.zip from the link below. It works with both, Sublime Text 2 and 3 (thanks Goonz for confirming it works with Sublime Text 2). 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. 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. Installing Sublime Text on openSUSE is made easy thanks to the Zypper package manager.Many of you know MTA:Script Editor and that I've stopped working on it. Once it's added, update the package list and install Sublime Text by running: sudo dnf updateįor removing Sublime Text, run: sudo dnf remove sublime-text Installing Sublime Text on openSUSE Then, add the repository for Sublime Text with: sudo dnf config-manager -add-repo To install Sublime Text, first, run the command below in the terminal to add the GPG key: sudo rpm -v -import On Fedora, you can install and manage packages using DNF. In case you no longer want to use Sublime Text, you can delete it from your computer with: sudo yum remove sublime-text Installing Sublime Text on Fedora Now, add the Sublime Text repository with: sudo yum-config-manager -add-repo Īnd finally, run the commands below to install Sublime Text: sudo yum update To install Sublime Text with YUM, first, add the GPG keys using the following command: sudo rpm -v -import To delete Sublime Text, run: sudo pacman -R sublime-text Installing Sublime Text on CentOSĬentOS uses YUM, which simplifies the package installation process on the system. Once it's added, update the repository and install Sublime Text with: sudo pacman -Syu Then, add the repository by running: echo -e "\n\nServer = " | sudo tee -a /etc/nf You can do this using the following command: curl -O
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |