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)

Miu 03-28-2015 10:21

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

StealthGus 03-28-2015 14:32

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

WhiteThunder 03-28-2015 20:22

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}
del {scriptdir}\{pluginname}
rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}"

Notice how I had to copy and delete the smx file manually. Both are operations that the editor provides except that the Post-Build command line takes place BEFORE the copy process happens, and you can't load a plugin that isn't there yet, so I had to do them myself. It would be handy to include additional options such as Post-Copy and Post-Upload to increase flexibility.

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.

Miu 03-29-2015 13:09

Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
 
Quote:

Originally Posted by WhiteThunder (Post 2279264)
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}
del {scriptdir}\{pluginname}
rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}"

Notice how I had to copy and delete the smx file manually. Both are operations that the editor provides except that the Post-Build command line takes place BEFORE the copy process happens, and you can't load a plugin that isn't there yet, so I had to do them myself. It would be handy to include additional options such as Post-Copy and Post-Upload to increase flexibility.

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.

do command1 & command2 to have command2 execute after command1 has finished, i.e.,

move {scriptdir}\{pluginname} {copydir} & rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}"

WhiteThunder 03-29-2015 23:03

Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
 
Quote:

Originally Posted by Miu (Post 2279496)
do command1 & command2 to have command2 execute after command1 has finished, i.e.,

move {scriptdir}\{pluginname} {copydir} & rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}"

The order of the commands executing was not actually an issue for me with the example I provided, though what you have there is obviously more efficient. The ordering issue occurs when you use the editor's built-in functionality of "Auto Copy after Compile" which happens after the build process and after the Post-Build command line. I was merely stating that a Post-Copy command line could be useful for instances such as that although not absolutely necessary.

Miu 03-30-2015 08:06

Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
 
oh sorry, thought you meant the whole post-build commandline was executed at once ^^

_AeonOne_ 03-31-2015 11:45

Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
 
Quote:

Originally Posted by CryWolf (Post 2278643)
One thing to say "amazing"

Thank you.

Quote:

Originally Posted by DeathChaos25 (Post 2278709)
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.

Thanks ^^

Quote:

Originally Posted by Wilczek (Post 2278759)
Thanks for a tip :) I found a new bug when used it - SPEdit doesn't recognize polish letters and then the copy command fails.

Post-build commandline:
Code:

copy "{scriptfile}" "D:\Użytkownicy\Ja\Dropbox\Moje pluginy SourceMod"
Result:
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"
        0 file(s) copied.

After switching to a folder that contains latin letters only, copying works fine.

Well, the editor saves your commands to batches and executes them. So when this doesn't work, then it shouldn't I think. :/

Quote:

Originally Posted by Miu (Post 2279032)
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

- Thanks.
- 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:

Originally Posted by StealthGus (Post 2279147)
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

You have a pm.

Quote:

Originally Posted by WhiteThunder (Post 2279264)
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}
del {scriptdir}\{pluginname}
rcon.exe -ip localhost -port 27015 -password blah -cmd "sm plugins unload {pluginname}; sm plugins load {pluginname}"

Notice how I had to copy and delete the smx file manually. Both are operations that the editor provides except that the Post-Build command line takes place BEFORE the copy process happens, and you can't load a plugin that isn't there yet, so I had to do them myself. It would be handy to include additional options such as Post-Copy and Post-Upload to increase flexibility.

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.

Well, i thought about it a long time now..
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. ^^

WhiteThunder 04-05-2015 15:56

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! :)

barel31 04-05-2015 22:04

Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: Lysis & Dissassembler
 
Any way to change the Syntax Reformatter rules?

crayz 04-06-2015 02:51

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:27.

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