AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Object-Browser/Translations (https://forums.alliedmods.net/showthread.php?t=259917)

_AeonOne_ 03-15-2015 15:58

RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Object-Browser/Translations
 
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]

http://i.imgur.com/69M45hz.png

http://i.imgur.com/HfkpVut.png

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:
Spoiler


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


http://i.imgur.com/3vhgnqZ.png

I'd also love to get feedback.
Hope, you like it.
reegards Aeon

Oshizu 03-16-2015 04:07

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Woah, that was rather quite was public release

Good job :D

Bara 03-16-2015 08:03

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Nice! I use it already for some projects.

Bye Atom. :up:

nergal 03-16-2015 09:56

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
>coded in C# .NET
>using Ubuntu Linux

(╯ ͡° ͜ʖ ͡°)╯︵ /(.□ . \)

WildCard65 03-16-2015 11:06

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Quote:

Originally Posted by nergal (Post 2274466)
>coded in C# .NET
>using Ubuntu Linux

(╯ ͡° ͜ʖ ͡°)╯︵ /(.□ . \)

mono?

Drixevel 03-16-2015 11:21

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Only thing I'd like to see done at the current moment is a button in the build menu that allows you to do all of the actions at once with one hotkey. (IE: Build, Copy/Upload, Start server(maybe))

_AeonOne_ 03-16-2015 11:21

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Quote:

Originally Posted by WildCard65 (Post 2274502)
mono?

Nope sry.
WPF is not supported by mono.
So SPEdit can only run on Windows.

nergal 03-16-2015 15:38

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
can someone port this to linux?

_AeonOne_ 03-16-2015 16:12

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Quote:

Originally Posted by nergal (Post 2274616)
can someone port this to linux?

To explain it in detail:
Absolutely no! SPEdit fully utilizes WPF for big parts of the code. A port to Linux via Mono, would require to rewrite every WPF-dependent aspect of the program to Windows.Forms .
But thats impossible because various core parts of the program (TextEditor, EditorDock, Windowbase, etc.)
are written for and only WPF.
It's possible to host them in Windows.Forms yes, but that does not make it more compatible.
A port to any other System than windows, would be equally to a rewrite of the program.

I'am fully aware that a big part of the AlliedModders community is running Linux or other os.
But i cannot do anything for cross-compatibility and since the mono community don't want to port WPF (which is quite reasonable) no port of SPEdit will ever exist.
It's simply not possible with SPEdit. Sorry.

nergal 03-16-2015 16:31

Re: [Release] SPEdit - a lightweight sourcepawn editor
 
Quote:

Originally Posted by _AeonOne_ (Post 2274631)
To explain it in detail:
Absolutely no! SPEdit fully utilizes WPF for big parts of the code. A port to Linux via Mono, would require to rewrite every WPF-dependent aspect of the program to Windows.Forms .
But thats impossible because various core parts of the program (TextEditor, EditorDock, Windowbase, etc.)
are written for and only WPF.
It's possible to host them in Windows.Forms yes, but that does not make it more compatible.
A port to any other System than windows, would be equally to a rewrite of the program.

I'am fully aware that a big part of the AlliedModders community is running Linux or other os.
But i cannot do anything for cross-compatibility and since the mono community don't want to port WPF (which is quite reasonable) no port of SPEdit will ever exist.
It's simply not possible with SPEdit. Sorry.

I tried to run this on WINE as well but it didn't work.

If I can make this run on WINE, I'll report back

EDIT: Tried it out on my windows computer, program crashed as soon as it started up, what does that mean?


All times are GMT -4. The time now is 19:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.