{"id":17999515,"url":"https://github.com/zeex/scite-pawn","last_synced_at":"2025-07-21T06:32:23.448Z","repository":{"id":19852145,"uuid":"23114400","full_name":"Zeex/scite-pawn","owner":"Zeex","description":"My SciTE configuration for Pawn","archived":false,"fork":false,"pushed_at":"2015-10-04T03:34:40.000Z","size":162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T23:34:52.088Z","etag":null,"topics":["pawn","sa-mp","scite"],"latest_commit_sha":null,"homepage":"http://www.scintilla.org/SciTE.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-19T15:01:38.000Z","updated_at":"2023-02-18T21:03:10.000Z","dependencies_parsed_at":"2022-08-25T23:22:02.535Z","dependency_job_id":null,"html_url":"https://github.com/Zeex/scite-pawn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeex%2Fscite-pawn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeex%2Fscite-pawn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeex%2Fscite-pawn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeex%2Fscite-pawn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeex","download_url":"https://codeload.github.com/Zeex/scite-pawn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230106044,"owners_count":18173954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pawn","sa-mp","scite"],"created_at":"2024-10-29T22:13:21.493Z","updated_at":"2024-12-17T11:08:17.472Z","avatar_url":"https://github.com/Zeex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Installation\r\n------------\r\n\r\n1. Copy pawn.properties and pawn.api to your SciTE installation directory,\r\n   e.g. `C:\\wscite`.\r\n2. Copy SciTEUser.properties to your home directory. On Windows it's usually\r\n   `C:\\Users\\your_name` (optional).\r\n3. Open SciTEGlobal.properties (Tools -\u003e Open Global Options File) and add\r\n   `import pawn` in the end. This will enable Pawn syntax highlighting for\r\n   *.pwn and *.inc files.\r\n4. Set `SAMP_SERVER_ROOT` environment variable to the full path to your server\r\n   root folder, e.g. `C:\\samp-server`. On Windows this can be done via\r\n   Control Panel -\u003e System -\u003e Advanced system settings -\u003e Advanced -\u003e\r\n   Environment variables -\u003e New...\r\n5. Add `%SAMP_SERVER_ROOT%\\pawno` to your `PATH` or edit pawn.properties and\r\n   replace `pawncc` with the full path to the compiler.\r\n\r\nKey bindings\r\n------------\r\n\r\nThe following key bindings are available by default:\r\n\r\n* `Ctrl + 1` - compile in Release mode (with `-d0`)\r\n* `Ctrl + 2` - compile in Debug mode (with `-d3`)\r\n* `Ctrl + 3` - preprocess only (`-l`)\r\n* `Ctrl + 4` - write assembly code listing (`-a`)\r\n* `Ctrl + 5` - disassemble .amx file (`pawndisasm` must be present in `PATH`)\r\n\r\nYou can change them or create your own by editing pawn.properties (go to menu -\u003e\r\nOptions -\u003e Open pawn.properties).\r\n\r\nAdding a MIME type for Pawn\r\n---------------------------\r\n\r\nOn Linux file associations are not based on file extensions as opposed to\r\nWindows, so you might want to add a MIME type for Pawn files to associate\r\nthem with SciTE.\r\n\r\nTo add a MIME type for Pawn scripts on Linux do the following:\r\n\r\n1. Copy linux/pawn.xml to /usr/share/mime/packages\r\n2. Run update-mime-database /usr/share/mime\r\n3. Restart your file manager (for nautilus it's `nautilus -q`)\r\n\r\nTroubleshooting\r\n---------------\r\n\r\n* **No syntax highlighting when editing *.inc files**\r\n\r\n  There's probably another language file imported that uses the same file\r\n  extension. Try commenting out the `#import *` in SciTEGlobal.properties\r\n  and adding these instead:\r\n\r\n  ```\r\n  import others\r\n  import cpp\r\n  ```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeex%2Fscite-pawn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeex%2Fscite-pawn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeex%2Fscite-pawn/lists"}