28.10.2007, 20:52
This is an incredibly lightweight standalone SciTE modification (no SciTE knowledge or previous installation needed) that adds full syntax highlighting, code folding, FTP uploads, gta-host.com server restarting, Function Parameter Tooltips, JumpTo Functions+Callbacks, Colour Previews and Colour Picker and much, MUCH more!
_________________________________________________
All you need to do is download it and run the installer!
Links are at the bottom!
_________________________________________________
0.6 Progress
Green = Complete
Orange = Almost complete
Red = In development
Blue = Need more requests for the feature
Waiting for suggestions
- UTF-8 by default.
- Start menu shortcuts other than uninstaller
Cool Features:
- Full syntax highlighting including function highlighting for all SA:MP functions
- Function Parameter Tooltips (OK, so they sound stupid... but they are really awesome - take a look at the screenshot below)
- Local Server Restarting - Via changemode/reloadfs (Recommended), via GMX or via full restart
- Remote Server Restarting (gta-host.com only, unless I can get hold of the rcon protocol (not very likely, lol))
- Pawno compiler in a sidebar that allows you to double-click an error to be taken to the appropriate line!
- JumpTo Callbacks and JumpTo Functions (allows you to jump to callbacks and functions)
- Automatic FTP Uploads (Requires Windows XP / Vista)
- Code Folding
- User Friendly Settings Interface (so no editing files like in version 0.1 and early releases of 0.2)
- Tabbed Interface - each .pwn opens in a new tab rather than a whole new instance of the editor
- Unlimited Buffer (No lag when opening large files - the only limitation to the size of file you can open is your RAM.)
- Colour Picker and Colour Previews (Instant previews of Pawn colour codes with full colour picker with colour slider for full control over colours.)
- Code Completion (Press CTRL+Enter after typing the first few letters of a function)
System Requirements
- Installation of SA:MP Windows Server
- Installation of Pawno (for the compiler)
- Windows 95+ (FTP is XP / Vista only and Transparecy is 2000+)
- Just about any computer (the CPU/RAM requirements are absolutely tiny)
_________________________________________________
Some Random Info:
- The only language used is AutoHotkey! (and several complex SciTE .properties files)
- No knowledge of SciTE is needed to use this
- All source is available in the .ahk files. Feel free to change and/or re-release it, but please credit me as the original author.
- If anyone wants to improve pawn.api (by adding some stuff from Useful Functions, MIC etc.) then please feel free to do so and send it to me when done.
- The font from the screenshots (Bitstream Vera Sans Mono) is packaged with the editor and will be installed and used by default in PawnSciTE.
Changelog
0.1
- Proper syntax highlighting (even highlights most SA:MP-specific functions)
- Compiler runs in a sidebar and you can double click on an error and it will take you to the line.
- Code completion support.
- Uses SciTE, so theoretically unlimited buffer (you can open far bigger files than in Pawno without lag)
- Code folding including "Fold All" feature
- Pwn appears in file type menu when opening and saving files.
- When "All Source" is selected in the file type menu when opening and saving files, pwn is included in the definition.
- Installer for easy installation of the plugin and the editor itself.
- Settings application to make it easy to configure things such as the location of pawncc.exe and your FTP Username/Password/Address etc.
- Intelligent cURL-powered server restarting via web control panel for gta-host.com servers.
- FTP uploads to theoretically any server and (probably coming in a later update) intelligent folder selection (currently you must select folder from a dropdown list or type it manually).
- Monospaced font by default due to request.
- Changed tab size to 4 by default.
- Local server restarting
- JumpTo Functions (jump to functions declarations easily)
- JumpTo Callbacks (jump to callbacks easily)
- Altered a few colours and layout options
- While in Pawn language mode, when a new script it saved, it defaults to .pwn
- Even better settings window (see screenshot)
- Settings button within SciTE to open settings window
- Renamed Go, Build, Compile within SciTE
- Function parameter tooltips for almost every standard function!
- New local restarting mode that uses changemode and reloadfs (and selects between them automatically by analysing the code).[/color]
- JumpTo now hides itself when SciTE is minimised and removes AlwaysOnTop when SciTE is unfocused. Also, it looks much more integrated with SciTE.
- Fixed JumpTo Functions (Relies on a new line being taken before function declarations to tell them apart from usage of the function).
0.5
- Colour Picker and Colour Previews!
- Fixed several minor bugs in the Toolbox (previously known as the JumpTo window)
- Far more compilation options
0.51
- Fixed samp-server.exe window detection (was using unreliable technique before)
- Made ToolBox very transparent when not in use, and slightly transparent when in use. (looks pretty good )
- ToolBox no longer pops up unexpectly while deactivated.
- SciTE updated from 1.74 to 1.75.
- Toolbar and statusbar now shown by default.
- Several minor bugfixes.
Known Bugs as of 0.52:
- JumpTo Functions still isn't fully reliable
- (Theoretical) It would be possible to attempt to load a colour code from a huge amount of characters placed to the clipboard. This would cause the AHK script to freeze for a few seconds, before displaying a dialogue box that might be too big to fit on the screen. But this is highly unlikely.
Screenshots
Main Window of 0.5 (0.52 has a transparent toolbox when unfocused)
[img width=500 height=400]http://dkimmortal.com/bleh4.png[/img]
Settings Interface of 0.3 (0.52 looks almost exactly the same)
Function Parameter Tooltips (Cool, eh? )
_________________________________________________
Downloads:
PawnSciTE 0.52 (zipped installer) (via my site) (direct link)
PawnSciTE 0.52 (zipped without installer) (lacks fonts) (via my site) (direct link)
PawnSciTE 0.52 (zipped source only) (via my site) (direct link)
SciTE 1.76 Source Code
PawnSciTE 0.52 (zipped installer) (via mirror by oliverluata) (direct link)
PawnSciTE 0.52 (zipped installer) (via mirror by Numhaken) (captcha +5 second delay)
(Feel free to mirror)
[size=12pt]You should uninstall any previous versions when installing. If you don't, make sure you install it OVER any previous versions, overwriting all old files.