Raised This Month: $52 Target: $400
 13% 

SPCode - Fork of SPEdit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 04-15-2020 , 10:57   SPCode - Fork of SPEdit
Reply With Quote #1

SPCode - Fork of SPEdit


Overview
This is a fork of the SPEdit IDE made by _AeonOne_, which aims to fix all the issues and add some small features.

Here I'll list all the differences from the Original version, to see all the features of the IDE check the original thread: https://forums.alliedmods.net/showthread.php?t=259917
  • Now .NET Framework 4.8 is required (was 4.5).
  • Fixed crash when closing an unsaved tab (by Arkarr).
  • Remove smlib configurations and updated the default configuration to 1.10.
  • Implemented Discord Rich Presence (Show which file you are editing on discord, currently not toggle-able).
  • Tooltip for methodmap methods.
  • Fixed indentation issues.
  • Enum struct highlighting and autocomplete.
  • SFTP Support (by Jakub Staroń).
  • Updated plugin templates (by 404UNF).
  • When using the semicolon in a for loop the caret won't be set at the end of the line.
  • Fixed floating tabs becoming unresponsive.
  • Added two new checkboxes inside the configuration tag to enable auto ftp/sftp upload and to send automatically the rcon commands. (This allows to automatically upload and refresh when compiling a plugin.)
  • Now the installer offers to add a shortcut in the start menu and the install directory is customizable.
  • Now when tabs to spaces is enable every tab will be converted into spaces according to the indentation size.
  • Updated the updater, now the updates are fetched from the repository tags.
  • And much more!
  • New Translations:
    Spoiler
  • Double click on a element of the Parsed Definition tab to go to its definition.
  • New shortcut to open the Parsed Definition window: CTRL + SHIFT + F
  • Shortcut to goto the definition of an object: CTRL + LEFTMOUSE

Get SPCode

Download the latestest version from GitHub: https://github.com/Hexer10/Spcode/releases/latest

To request a new feature or report a bug open an issue on GitHub (Check there is already an issue about the same topic) : https://github.com/Hexer10/Spcode/issues/new

How to build the project

Requirements:
Code:
  • Having installed .NET Framework 4.8.
  • Having installed NSIS (Only to build the setup).
  • Having available the Powershell (Only to compress the Portable version).
Steps (Note these are automated on GitHub and available as Artifacts on every commit):
Code:
  • Build the Spcode project: msbuild Spcode.csproj /p:Configuration=Release
  • Build the Installer: makensis .\bin\Release\SPCode.nsi
  • Compress the Portable Version: Run with powershell Compress.ps1
  • Build the Updater: msbuild Deploy\SpcodeUpdater\SpcodeUpdater.csproj /p:Configuration=Release
Project available on GitHub, contributions are welcome!
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 10-24-2020 at 14:02.
Papero is offline
Brum Brum
Junior Member
Join Date: Mar 2017
Old 04-15-2020 , 12:55   Re: SPCode - Fork of SPEdit
Reply With Quote #2

<3
Brum Brum is offline
_Black_Yuzia_
Member
Join Date: Oct 2017
Old 04-15-2020 , 17:48   Re: SPCode - Fork of SPEdit
Reply With Quote #3

Why do not use VSCODE + Extension sourcepawn?
_Black_Yuzia_ is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 04-16-2020 , 06:55   Re: SPCode - Fork of SPEdit
Reply With Quote #4

Quote:
Originally Posted by _Black_Yuzia_ View Post
Why do not use VSCODE + Extension sourcepawn?
I just like having support for dynamic autocomplete (such as methodmaps and enum struct),
also a way to automatically upload and refresh a plugin after being compiled... and some other things which I find nice to have in an IDE, rather than a plugin for vscode.

Also I'm having fun taking this project over since I have little experience with C#, so I'm learning a new language.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
ratawar
Member
Join Date: Dec 2017
Location: Argentina
Old 05-26-2020 , 09:02   Re: SPCode - Fork of SPEdit
Reply With Quote #5

Quote:
Originally Posted by Papero View Post
I just like having support for dynamic autocomplete (such as methodmaps and enum struct),
also a way to automatically upload and refresh a plugin after being compiled... and some other things which I find nice to have in an IDE, rather than a plugin for vscode.

Also I'm having fun taking this project over since I have little experience with C#, so I'm learning a new language.
I love your work, this is and will be my favourite IDE of all. Keep it up
__________________
ratawar is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 04-15-2020 , 17:48   Re: SPCode - Fork of SPEdit
Reply With Quote #6

Nice, keep it up.
__________________
Discord | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 04-23-2020 , 06:40   Re: SPCode - Fork of SPEdit
Reply With Quote #7

Release new version with the following changes:
  • The Sourcemod Parsed Definitions window is now working.
  • Double click on a element of the Parsed Definition tab to go to its definition.
  • New shortcut to open the Parsed Definition window: CTRL + SHIFT + F
  • Shortcut to goto the definition of an object: CTRL + LEFTMOUSE
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 05-14-2020 , 11:19   Re: SPCode - Fork of SPEdit
Reply With Quote #8

Good job!
Sw33T3R is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 10-24-2020 , 14:00   Re: SPCode - Fork of SPEdit
Reply With Quote #9

Released a new version!


Changelog:
  • Renamed to SPCode
  • Discord Rich Presence is now toggle-able in the IDE settings.
  • Fix crash when trying to close a window when editor is empty.
  • Added window position and size auto saving.
  • Fixed discord status to show 'idle' instead of the last open script.
  • Fix autocomplete for variables with a non-literal value.
  • Apostrophe is ignored when in a preprocessor statement.
  • Highlighting for user-defined defines.
  • Fixed crash when moving a file while open in the editor. Now it will stay open and recreated if re-saved within the IDE.
  • Fixed auto-reformatting cursor position.

Much thanks to @Natanel-Shitrit for his contributions!
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 10-24-2020 at 14:01.
Papero is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: TW
Old 10-30-2020 , 14:21   Re: SPCode - Fork of SPEdit
Reply With Quote #10

nice, I just have some question
1. Can I move "search" window position ?

2. How to switch "Reverse search" ?
__________________
HarryPotter is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode