ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Source​Pawn Completions

by ppalex7 ST3

SourcePawn auto-completion and build-system

Details

Installs

  • Total 1K
  • Win 1K
  • OS X 77
  • Linux 102
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
Windows 0 4 4 3 0 4 1 3 5 1 0 3 4 2 1 2 5 6 1 7 1 7 2 2 3 0 0 5 3 2 2 1 1 2 0 1 2 1 3 0 0 2 2 1 1 4
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

SourcePawn Completions for SublimeText 3

A Sublime Text 3 plugin that dynamically genenerates completions for SourcePawn.

Based on sublime-sourcepawn. Includes watchdog python module

Installing

Via package control

  1. Press Control+Shift+P or Cmd+Shift+P (on Mac)
  2. Type Package Control: Install Package, hit enter.
  3. Type in SourcePawn Completions, hit enter again.

Manually

Clone this repository into a subfolder of your Packages directory: * Mac OS ~/Library/Application Support/Sublime Text 3/Packages/ * Windows %APPDATA%/Sublime Text 3/Packages/

Configuration

Note: All paths must be an absolute. Relative paths are unsupported.

  1. Open Sublime Text -> Preferences -> Package Settings -> SourcePawn Completions -> Settings - User.
  2. Add include_directory setting with path to your SourceMod include files (sourcemod/scripting folder). (You could look for some exmaples in Settings - Default)
  3. Save and close file.
  4. Open Sublime Text -> Preferences -> Package Settings -> SourcePawn Completions -> Build settings - Example and Build settings - User
  5. Copy one of cmd settings from SourcePawn.sublime-build.example, paste it to SourcePawn.sublime-build and ajust path to spcomp. This allows you to use Build feature in SublimeText.
  6. Save and close file.

Usage

SourcePawn Completions is automatically active on .sp and .inc files. The completion list updates whenever you stop typing for 1 second or when you save the file.

Aslo recommend

To take full advantage recommend to install the following packages: * SourcePawn Syntax Highlighting (available in Package control)