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:
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 |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Woah, that was rather quite was public release
Good job :D |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Nice! I use it already for some projects.
Bye Atom. :up: |
Re: [Release] SPEdit - a lightweight sourcepawn editor
>coded in C# .NET
>using Ubuntu Linux (╯ ͡° ͜ʖ ͡°)╯︵ /(.□ . \) |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
|
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))
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
WPF is not supported by mono. So SPEdit can only run on Windows. |
Re: [Release] SPEdit - a lightweight sourcepawn editor
can someone port this to linux?
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
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. |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
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? |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Is there any way to close the compiler error logs? It takes 1/4 of my screen and it's rather annoying to grab the separating bar every time up and down.
Yeah, I could probably write better code, but it's not possible for now :P Nvm, I'm dumb. You can just press Esc -.- |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
Quote:
i think i'll make this more obvious in the next version ^^ |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
How do i set the include directory to C:\Users\me\Dropbox\Private\addons\sourcemod\ scripting\gmg\fraglaunch\scripting because when i just paste that into the include directory it doesnt work
|
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
What fails? No Autocomplete? Did you checked the Parsed-Api Window? What is in There? EDIT: @nergal: .NET 4.5 is minimum |
Re: [Release] SPEdit - a lightweight sourcepawn editor
Quote:
Guess i should check the paths after i have i copied them. |
Re: [Release] SPEdit - a lightweight sourcepawn editor
A new Update is available.
Quote:
|
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
A new Update is available.
The Big SMX Update. Quote:
Credits to: SmxViewer: https://forums.alliedmods.net/showthread.php?t=247653 Lysis: https://forums.alliedmods.net/showthread.php?t=170898 BAILOPAN, which provided some help/suggestions for this release. Some Impressions: https://www.imageupload.co.uk/images...peditDasm1.png https://www.imageupload.co.uk/images...editLysis1.png |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Any chances you could add in something like #region?
Code:
//region Variables |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Is there a way to turn on word wrap? Or can there be?
Love the program so far! |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Loving the editor so far. It's a needed improvement to Pawn Studio, which was buggy as hell and crashed by doing the smallest thing. A couple gripes I have with it though:
- Every time there's an update, my configurations and settings get reset. - The icon for smx and sp files are exactly the same. It becomes hard to differentiate them. - When searching for a directory to use for includes, copying, etc, there are no "directory search" buttons like other programs have. - The Commandline boxes can not be re-sized, making it hard to read more than 3 lines of batch code. - Viewing the references ({editordir, {scriptdir}, etc) for the Commandline is slightly annoying since I have to expand a list rather than seeing them in broad view. - When updating, having to start the program, and then shut it off seems a little finicky. It also seems more logical to re-display the installer gui for configuring newly added features (smx file association, etc) so that I don't have to download the newest installer manually. - "Reset all Settings to default" should ask if your sure you really want to do this, since its so easy to accidentally click it and erase your settings. Also, why do I need to restart the editor to do that? - Actions such as save, undo, redo, etc, should be displayed in some kind of tool bar instead of having to memorize keys. - There is no way to close the "Find & Replace" dialog box. |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
And nice to know ^^ Quote:
thanks ^^ Quote:
• Uhhm i think about different icons for them ;) • I'll add them. • There can be scrolled so i thought it'll be enough. I'll make them bigger in Future. • Yeay this was more a "nice to have" thing. I didnt knew how to come up with a better solution for the UI since a list would waste to much space, so ideas are alwas welcome :D • - This is just the nature of updating. You'll need another instance which does the Update but the editor controlls this instance ^^ - I'll add that ;) • I'll add that too. • It is planned. It'll be an optional feature (toggleable in the options menu). • There is. The search/find-box is toggleable. Means you can close it in the way you opened it. (Ctrl+F at example). But I'll add a close button ^^ thanks for your detailed feedback :) aeon |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Could you please add a 'shortcut' to open containing folder? I know you can copy compiled file to another directory, but it doesn't include .sp file, which I want to archive too.
I mean something like this: https://dl.dropboxusercontent.com/u/...ningfolder.jpg |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
|
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
(Configurations->Edit Configurations->Post Buld Commandline - then use something like that: copy "{scriptfile}" "C:\Backup") Quote:
I don't want to define a specification which is just applyable only in SPEdit. Don't ask me why but I don't want to ;) |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
One thing to say "amazing"
Thank you. |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
This looks like a very much needed improvement over Pawn Studio which crashes over the smallest thing, and while I've never lost significant progress, I'd hate for it to happen.
Will provide feedback. |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
Post-build commandline: Code:
copy "{scriptfile}" "D:\Użytkownicy\Ja\Dropbox\Moje pluginy SourceMod" Code:
C:\Users\Ja\AppData\Roaming\spedit\sourcepawn\configs\sm_one_seven>copy "C:\Users\Ja\AppData\Roaming\spedit\sourcepawn\configs\sm_one_seven\test_plugin.sp" "D:\UĹĽytkownicy\Ja\Dropbox\Moje pluginy SourceMod" |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
a ctrl + G shortcut to go to a specified line would be nice
cool editor though!! nice work (: edit: the indentation is rather awkward and it'd be cool if the autocomplete/intellisense thing worked like visual studio in that you have to press down arrow to select something, atm it's completely impossible to add a newline after e.g. #if defined DEBUG without it autocompleting it to Debug_FloatArray |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Everytime I try to start a new project or open a project, I get Spedit has stopped working.
Is this a problem on my side? I want to try and use this but it doesn't seem to want to work for me |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
I really like the editor so far. Great job!
I especially like the workflow assistance the editor provides such as copying/uploading the file and the ability to run command line programs, but I think you could take it a little farther. For example, reloading the plugin on the server after copying it. I am currently able to achieve this locally by using a command line utility I quickly made that sends an arbitrary command to a server. Here's basically my Post-Build command line: Code:
copy {scriptdir}\{pluginname} {copydir}\{pluginname} Furthermore, not everybody has a command line utility to send rcon commands, so it would be neat if that was just built into the editor. The QueryMaster lib does the trick for me. |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
move {scriptdir}\{pluginname} {copydir} & rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}" |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
|
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
oh sorry, thought you meant the whole post-build commandline was executed at once ^^
|
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Quote:
Quote:
Quote:
Quote:
- Will be added thanks ^^ - The indentation is a point of work for now. The Intellisense will get a passive-option which does exactly that but it's not likely to be in the next update. Quote:
Quote:
I really don't know what i should do. I thought of changing the order of commandline and native-copy or add another commandline (a thing I want to prevent..). I'm not pretty sure what to do but I'll see. Thanks for suggesting. To your rcon-cmd: nice done. But a native implementation is something for the (more or less far) future but thanks for suggesting anyway. ^^ |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
I have used the editor a lot recently and I have some more feedback.
The find/replace dialog constantly annoys me. I should be able to press escape to close it rather than just ctrl+f. When opening the dialog, it should also select what was there previously so I can quickly change it. The upload feature does not work if you have copy/delete selected because it doesn't know where to get the file since being deleted. The "include" directory in the build configuration is misleading since it's apparently expected to actually be the directory which contains an "include" directory AND the spcomp.exe. It would be nice to have a separate option for specifying where the compiler is located, and the "include" directory should be the actual include directory. Due to the limitations with the upload and command line features, I am finding I am simply doing it all myself from command line which defeats the purpose of having it all in the editor. As I said in an earlier post, adding more command line hooks such as Post-Copy and Post-Upload would be very useful. You seem to have the idea that too many boxes is a bad thing but more configuration options can only be good imo. I just noticed you have already been working on adding built-in RCON support so thanks for listening to my feedback! :) |
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Any way to change the Syntax Reformatter rules?
|
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
Nice! I didn't feel like goin' through the hoops of setting up SourcePawn in VS so I ran a quick Google search for an editor. Been using SPEdit for a few hours and I'm happy with it so far, thanks.
|
All times are GMT -4. The time now is 02:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.