AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   SPCode - Fork of SPEdit (https://forums.alliedmods.net/showthread.php?t=323245)

Papero 04-15-2020 10:57

SPCode - Fork of SPEdit
 
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!

Brum Brum 04-15-2020 12:55

Re: SPCode - Fork of SPEdit
 
<3 :bacon!:

_Black_Yuzia_ 04-15-2020 17:48

Re: SPCode - Fork of SPEdit
 
Why do not use VSCODE + Extension sourcepawn?

Bara 04-15-2020 17:48

Re: SPCode - Fork of SPEdit
 
Nice, keep it up. :bacon!:

Papero 04-16-2020 06:55

Re: SPCode - Fork of SPEdit
 
Quote:

Originally Posted by _Black_Yuzia_ (Post 2693689)
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.

Papero 04-23-2020 06:40

Re: SPCode - Fork of SPEdit
 
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

Sw33T3R 05-14-2020 11:19

Re: SPCode - Fork of SPEdit
 
Good job! :)

ratawar 05-26-2020 09:02

Re: SPCode - Fork of SPEdit
 
Quote:

Originally Posted by Papero (Post 2693781)
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 :bacon!::bacon!:

Papero 10-24-2020 14:00

Re: SPCode - Fork of SPEdit
 
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!

HarryPotter 10-30-2020 14:21

Re: SPCode - Fork of SPEdit
 
nice, I just have some question
1. Can I move "search" window position ?

2. How to switch "Reverse search" ?


All times are GMT -4. The time now is 23:45.

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