Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
139 stars 21 forks source link
Logo

VSCode extension and LSP implementation for the SourcePawn programming language written in Rust

CI status GitHub



Showcase

Features

Feature Status
Completion
Go To Definition
Find References
Hover
Rename
Semantic Highlighting
Document Symbols
Call Hierarchy
Signature Help
Reference
Diagnostics

Text editor support

The Language Server is compatible with any text editor that implements the Language Server Protocol.

VSCode support

For ease of use with Visual Studio Code, the extension bundles a binary of the Language Server for each major platform and OS. You can download it from the marketplace here.

AMXXPawn support

Partial support for AMXXPawn is implemented through the --amxxpawn-mode flag. The only difference between, the "SourcePawn mode" and the "AMXXPawn mode" boils down to what file extension the server will be looking for (.sp vs .sma).

A VSCode extension exists which bundles the server with the correct launch flags. You can find it here.

Installation

Please follow the Quick Start on the website.

Frequently Asked Questions

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

How to contribute ?

Pull requests and suggestions are welcome.

How to run the Language Server from its source code ?

To run the Language Server, with the VSCode extension, from source, do the following: