Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SourcePawn StudioNew to Visual Studio Code? Get it now.
SourcePawn Studio

SourcePawn Studio

Sarrus

|
17,293 installs
| (12) | Free
| Sponsor
SourcePawn highlighting, autocompletion and much more
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Logo

SourcePawn highlighting and autocompletion for Visual Studio Code. Supports the SourceMod old and new syntax.

Website

Showcase

Features

  • Compile from VSCode with a simple button.
  • Autocompletion.
  • Go to definition.
  • Symbol references.
  • Symbol renaming.
  • Function signature help.
  • Call hierarchy
  • Code outline.
  • Upload to an FTP/SFTP server on successful compile.
  • Automatically run custom commands on the server after compilation.
  • Hover for details.
  • Icons for .smx, .sp and .inc files
  • Automatically scan include files for natives, defines, methodmaps and more.
  • Useful snippets.
  • Detailed semantic highlighting for .sp, .inc, .cfg, .games.txt and .phrases.txt.
  • Parse sourcemod files from a custom location.
  • Linter (error detection) for .sp and .cfg files.

Follow the Quick Start guide

If you encounter an issue, press CTRL+SHIFT+P and type "SM: Doctor" to diagnose the problem.

  • Features
  • Screenshots
    • .sp and .inc file highlighting
    • .cfg file highlighting
    • Code auto-completion
    • Event auto-completion
    • Include auto-completion
    • Callback auto-completion
    • Code outline
    • Call Hierarchy
    • Symbol references
    • Symbol renaming
    • Functions signature help
    • Hover help
    • Go To Definition
    • Linter
  • Credits
  • Frequently Asked Questions
    • How can I donate ?
    • How to install the beta build ?
    • How to contribute ?
    • How to run the extension from its source code ?

Screenshots

.sp and .inc file highlighting

.sp highlighting example

.cfg file highlighting

Highlighting example

Code auto-completion

Completion example

Event auto-completion

Completion example

Include auto-completion

Completion example

Callback auto-completion

Completion example

Code outline

Outline example

Call Hierarchy

Hierarchy example

Symbol references

References example

Symbol renaming

Renaming example

Functions signature help

Signature example

Hover help

Hover example

Go To Definition

Go to definition example

Linter

Linter example

Credits

  • Dreae's extension which is not supported anymore, and on which this extension is based on.
  • Deathreus' extension which helped me to implement the linting feature.
  • Everybody that has helped me improved the extension on the discord server.

Frequently Asked Questions

  • How can I donate ?
  • How to install the beta build ?
  • How to contribute ?
  • How to run the extension from its source code ?

How can I donate ?

Thanks for considering this. But please remember that all of this wouldn't be possible without the Alliedmodders community. If you wish to make a donation for this community, you can make it here. If you prefer to make a donation to me for this project, you can buy me a coffee

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft