View Single Post
ratawar
BANNED
Join Date: Dec 2017
Location: GB
Old 08-09-2021 , 11:29   Re: SPCode - Fork of SPEdit
Reply With Quote #18

Quote:
Originally Posted by kratoss1812 View Post
Good work guys. I've been looking for a new code editor / compiler for a few weeks now. I tried VS Code(with different extensions), Sublime text(which ATM just installed), BasicPawn and SPEdit(which I've been using for years), but every editor has something missing.

So here are my ideas for future updates:
- Auto completation for variables(iClient, hArray, hMenu, etc. )
- "Go to definition" function for variables created inside the code(global one expecially)
- The ability to set a main file. For projects that have their sourcecode divided in more files, so while editing a sub-file I don't have to to go the main file to press F6 to compile.
- Auto completation for while, for, if, switch statements.
- Theme teamplates so the community can create themes(colors) based on other editors. I would like to have the colors from Sublime text(JoinedSenses' plugin) but I'm too lazy to actuall edit it by myself
- Auto generated function callbacks(used for when you have to work with lots of Menus and copy-ing the handler callbacks are too time consuming)
- Auto completation for enum structs(created inside or outside the sourcecode).
- The ability to choose if the compiled plugins files are placed in one folder(for every compiled plugin), or in the folder where the source code is. I want this because in WinScp/FileZilla you can just drag & drop the file from the app itself and you don't have to open the folder on your desktop - everything is cleaner when working with multiple plugins/files.

I'm sorry if some of the above are already avalabile. These are just few of the features I would love to see. At the moment this is my favorite editor out of all.
Yo man what's up, thank you for your feedback, extremely valuable. I'm preparing an interesting update and I'll definitely take some ideas from here to add to this update.
Regarding auto completation for variables and "Go to definition" function for variables created inside the code, those are already existint features, even though go to definition for local variables definitely needs some polishing, it's not perfect.
Lastly, if you go to the Configurations and edit your current configuration, you will see the Copy Directory field, where your compiled plugin will go, ONLY if you checked the "Auto Copy after Compile" checkbox. In addition, with the press of the compile plugin key, you can compile, upload plugin to FTP, and reload it in the server, you just need to fill the pertinent text boxes in configurations, such as the FTP details of your server and the RCON credentials. Make sure the "Upload .smx after compile" and "Send RCON Commands after compile" (in case you want to send commands) are checked for this to happen. Let me know if you need further help with anything.
ratawar is offline
Send a message via ICQ to ratawar Send a message via AIM to ratawar Send a message via Yahoo to ratawar Send a message via Skype™ to ratawar