hi @ all
SPEdit - a lightweight sourcepawn editor
SPEdit (SP-Edit) is an Editor for Sourcepawn with several features to make the coding in sp easy for you. It's written fully in C# with WPF to provide you a great UI-experience. It comes with standart Sourcemod installations but you can customize it fully on your own.
SPEdit can only run on windows!!!
List of some Features:- Compiling-Config System (fully customizeable)
- Syntaxhighlighting (parsed from the include directory / fully customizeable)
- Autocomplete (parsed from the include directory)
- Intellisense (parsed from the include directory)
- Sourcepawn Templates (customizeable)
- Copying after/before compiling (& Pre/Post commandlines)
- FTP Upload
- Serverstart Feature
- Code folding
- Editor Docking
- API Reference (plus link to API-websites)
- Highlight Deprecated 1.6 Syntax
- Brackethighlighting
- Auto-Indentation (active and passive)
- Errors/Warnings List
- Syntax Reformatter (Syntax Tidy / Line Reformatter)
- Auto-Updating
- Lysis Decompiler (Improved Version)
- smx Disassembler (Fixed)
- RCon Querying
- Dynamic Autocomplete/Intellisense from all opened include-files
- Auto bracket-closing
- Object browser [NEW]
- Translations (English, German, French, Swedish, Russian, Portuguese, Turkish, Korean, Polish, Chinese) [NEW]
Source:
The Project and Sourcecode is fully available on
GitHub.
You are free to add issues or pull-requests.
Download:
Current Version: 1.2.0.2
You can Install the editor (Recommended) or download a standalone folder.
But the installer will also install file associations to *.sp an *.inc if you want.
The Program needs the .NET 4.5 Framework to work.
FAQ:
•
I found a bug, where can i report it?
When your are able to recreate this bug, start the editor with the "-safe" argument. A crashlog will then be created after the editor crashed.
You can report a Bug
here or just write me a pm or post into this thread here.
And more:
How To:
Open Scripts:
When you installed the editor, you have many choices of how to open scripts.
You can open them via: double click on a script or include (if you associated the files), right click->'Edit Sourcepawn Script' (if you associated the files), Files->Open in the editor, Drag&Drop into the editor, start with commandline.
Syntaxhighlighting/Autocompletition/Intellisense:
Like said above, all informations for the three, are getting parsed from the include directory.
Where this directory is, is defined on your current loaded config.
Compiling/Copying/Serverstart/FTP upload:
You can compile all opened Scripts on F5. To just compile your current script, use F6.
Press F7 to manually copy all compiled files.
Press F8 to upload all compiled files to a FTP Server.
Press F9 to execute your server.
All actions/directorys/addresses/credentials are defined in the current loaded config.
Configs:
The configs are a main part in SPEdit. They control, how the whole compiling process works.
The SPEdit comes per default with three configs. (SM 1.7, SM 1.7 with SMLib 0.9.7 and SM 1.6).
They can simply be loaded by clicking on them in the 'configurations' menu. You can also edit them
easily or create new ones/delete old ones.
It's recommended, that you create own configs for big projects with their own include directory.
Changelog:
Spoiler
1.2.0.2 - 21th May 2017
Improved:
• Encryption of passwords now hardware salted (optional)
(You have to reenter them in your configs)
• Updater works with SSL
• Global exception handling/error reporting is now always on
Fixed:
• Includes can contain a minus
• Some mistakes in the translation units
• No files opened dialog
• Various UnauthorizedExceptions on accessing files/directories
• Adding of a parenthese on Methodmap Properties
1.2.0.0 - 28th December 2016
New/Added:
• Object browser
• Translations (German, French, Swedish, Russian)
• Autoclosing: chars, strings
• Autosave
• Comment-toggling
• Duplicate & movement of lines
• Tab width settings
• Show tabs/spaces
Improved:
• Encryption of passwords now hardware salted
(You have to reenter them in your configs)
• Performance improvements
• Updated AvalonEdit, MahApps, AvalonDock
• Highlighting support for binary/octal literals
• Compilation can now be aborted with ESC
• many more minor things...
Fixed:
• Uppercase X in hexadecimal literals
• Closing bug on editor-split
• Selecting of editors on loading
• Compile bugs
• Cleaning of old update-files
1.1.3.0 - 18th June 2016
New/Added:
• auto closing brackets
Improved:
• FTP Error Detection
Fixed:
• Closing Buttons dont work
• Crash on typing a ; in an opened string
1.1.2.0 - 18th April 2016
New/Added:
Improved:
• New Syntaxhighlighting Color Sheme by mev
• UI Accent Color is now changeable
• Hex-Input for the Colorchanger
Fixed:
• Keyboard Localization for alt-gr depended keys
• Toolbar Dropdown nit selected on startup
1.1.1.0 - 13th April 2016
New/Added:
• dark, high-contrast theme
Improved:
• UI to high contrast
• Threaded RCON-Querys
Fixed:
• Bug in Search/Find Window
• Error while closing spedit
• Keyboard Localization for alt-gr depended keys
Version 1.1.0.0 - The Dynamic Update - 29th March 2016
New/Added:
• New Sourcepawn Parser (about 100-5000% faster [regex vs. tokenizer])
• Dynamic Autocompletition/Intellisense from opened ".inc"-files.
Improved:
• Folding on multilinecomments
• RCon Commands now do not send the ".smx" extension
• loaded file will now popup the window
• "this" is now a highlighted keyword
• the "parsed sourcemod definition"-window contains now much more details
• autocompletition now indicates the type
• autocompletition now uses much more types to complete
• Updated MahApps.Metro and AvalonDock
Fixed:
• Crash on saving
• Highlighting e-mails
Version 1.0.3.2 - 11th August 2015
New/Added:
- Tabs->Whitespace Option
Improved:
Fixed:
- Open quotes now recognized by the reformatter
- Fixed reformatter crash
- Some minor bugfixes
Version 1.0.3.1 - 16th March 2015
New/Added:
- Multiple include directories
Improved:
- Improved UI
- New AvalonDock Version
- RCons now delimited with the semicolon and send at once
Fixed:
- Ternary operators now recognized by the reformatter
- Fixed some Lysis Crashes
- DASM Elements causing crash on closing window
- Crash on saving nonexistant files
Version 1.0.3.0 - The RCon Update - 12th April 2015
New/Added:
- Added a Toolbar
- Safe argument (-safe) + New Crashlogs
- Jump-To dialog
- RCon Querying
- Line reformatting
Improved:
- Improved overall-UI
- Better Indentation
- Better Intellisense
- Line-exact scrolling
- Added Closebuttons
- Better updating-system
- Nonblocking Serverstart
- Line ending normalization
- Opening/Focusing of the Find/Replace
- Failsafe config reading
Fixed:
- No Autocomplete/Intellisense on preprocessor-lines
- Fixed various Syntaxreformatter issues
- Lagging while closing configwindow with no changes
- Crash on editing language files
- Allow FTP upload of copied files.
- DASM-Editor now uses the Global-Scrollspeed
- Forced safe in UTF8-without BOM
- Wrong saving when focus on split windows
Version 1.0.2.0 - The Big SMX Update - 26th march 2015
New/Added:
- Lysis Decompiler (Improved Version)
- smxdasm Dissassembler
- Native scrolling (1 line/tick)
- Improved Definition-Window
Fixed:
- No indentation on singleline-cmds (if, else, while, for)
Version 1.0.1.0 - 21th march 2015
New/Added:
- Syntax Reformatter (Syntax Tidy)
- Expand/Collapse Folding
Fixed:
- Highlighting bug on string-char combination
- Crash on save-dialog while closing
- Not saved/encrypted FTP-passwords on first startup.
I'd also love to get feedback.
Hope, you like it.
reegards Aeon