Giter VIP home page Giter VIP logo

spedit's People

Contributors

bara20 avatar haytsir avatar julienkluge avatar nachtfrische avatar necavi avatar psychonic avatar reinakumiko avatar shahriyarb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spedit's Issues

Global variables not in auto-complete/intelisense

If I create a global variable:

char MyString[80];

If I try to work with that in the plugin, it will not list it in the auto-complete pop-up. Not sure if this is on the road map to add as a feature, but it would be a nice one to have.

Auto-paste selected text when using Search Function

I'm so used to double-click a word, press Ctrl+F and then Enter multiples times.

I don't know it's not a bug but, it would be awesome to auto "paste" the selected text on the search space.

Also, I'm not sure if this isn't the way to do it in others editors, but it would be awesome to be able to go throw every word searched using Enter. I usually use the Intro (or numerical Enter too).

Thanks!

Indentation

No option to replace tab by spaces (4 by default)

Replace function even with extended check can't replace spaces by tabs (at this point I don't have the choice to use tabs until you implement the option above)

Add a solution file.

It would be nice to include a solution file for people who want to manually compile the binary from git source.

[BUG] SharedPlugin

The app consistantly crashes when you click on the struct SharedPlugin from the "Parsed from include directory" window

Copy the .smx file doesn't working?

Hi,
First, I'm sorry for my english
In the configuration the copy directory set to 'C:\Usersusername\Desktop'
But when I compile a plugin the .smx file created in the .sp directory...
Any reason why?

enhanced intellisense

Parsing Intellisense from current directory for auto completion, or via recursive includes checks, would be every helpful.

Using the search function when is already open.

If you used the Search function (Ctrl+F) and you want to search something again that you selected, you have to select the new text/word press Ctrl+F to close the search windows and then press Ctrl+F again to auto-paste the new word.

I know that I could just copy-paste the word with the mouse, but It's fastest to just use Ctr+F to autopaste new word.

I'm aware that this could be the way that you want it to function. So it's just a suggestion.

[Feature Request] Save as you type?

Hello everyone, nowadays I feel that saving as you type should be a standard feature in IDE software,
Google docs does this for example, although its not an IDE its definitely possible and I feel an option to maybe turn this feature on or off would be a good idea if it was added.

Cheers.

Crash When Typing an Hyphen then a Semicolon

speditcrash

When editing the above text by adding the second line, SPEdit consistently crashes upon typing the semicolon.

Some Things I have tested:

  • This error occurs regardless of the rest of the text, and only requires a hyphen and a semicolon

-;

  • Adding the hyphen after the statement is written, and then re-typing the semicolon also causes the crash.
  • Adding a multiple hyphens prevents the crash

Operating System is Windows 8.1
SPEdit version is 1.1.2.0

(suggestion) Context menu shoud maxmize SPEdit

You know when you click on a right click on an sp file, and press Edit Sourcepawn Script or when you just double click it on and have .sp associated with SourcePawn?

Can you make it so when you do that SPEdit becomes active, because if you have SPEdit minimized, it will not show up automatically like notepad++ does for example.

Crash while closing a 2nd window/tab

If you have two tabs, and then you move one of them to the center to have both of them in two visible parallel tabs/columns , the editor will crash when you close the right tab.

Compiler output

It doesn't shows the compiler's output. ( It doesn't show the errors either )
Unnamed

Request custom properties.

Can you add a feature to SPEdit that if the file it's compiling a comment that reads exactly like an option(in a file) it runs a special script after compiling?

SPedit crashes

It crashes when opening a file through browser, then hitting ctrl + s.

Reproduce: Download some .sp from Alliedmods, click(using your browser) on it*, once opened in SPedit, hit CTRL + S > boom, SPedit crash.

You must have SPedit as default .sp file editor.

FindWindow Animation

  • Speed up the FindWindow Animation (Fade In/Out).
  • Immediatly focus FindBox for instant Access
  • Make the Animation optionable by the "Animated UI" option

Server, compiler and project configs.

It would be cool to have separed |server upload-rcon|, |compiler and sourcemod library directory| configs. So that way you could switch to different compiler versions and servers without having to re-type all of those specific configurations. That way you just have to select a server and compiler config from the project configuration window

More color options & parsed methods intellisense

nogawe9
The file.Close() doesn't color itself correctly

Add the following color thingies to the color editor:

  • Variables (completly white text)
  • On focus window frame (completly red frame around the window when active/focus)
  • The color of a functions variable name stock void afunction(int thistext) { .. }
  • A new option for enum colors
  • Marked text color

Parse these things inside methodmaps in include files:

// Resizes an array.  If the size is smaller than the current size, the
// array is truncated.
//
// @param newsize       New size.

Heres a few suggestions & bugs:

  • Dynamically figure out self defined functions so they come up as suggestions in the intellisense
  • An option in the color editor to put hex codes instead of having to do the sliders on all of them
  • Either something that dynamically figures out when you make new parsed constants or a button where you can refresh so it will color the parsed constants correctly, instead of having to restart the program for the colors to be there
  • Making a parsed constant in a *.sp file will not color them no matter what you do
  • Having another default color scope that is more appealing to the eye, I personally prefer & copied most of the colors from visual studio dark theme into the spedit, if you want my options file let me know!

UTF-8 compliant

Hey,
UTF-8 encoding is showed in ANSI.
é -> é ê -> ê à -> à

Spedit crash

Spedit crash while Hubic is synchronizing your files.

Suggest feature

Russian:
В данной случае, при выделении функции (точнее её часть) - выделяется другой найденный часть функции. Мое предложение добавить пункт, чтобы выделялись только целое слово, а нее её чаcть.
Например есть слова:
a. RoundStart
b. RoundStartandEnd

При выделении "RoundStart" -> выделяется и из b. "RoundStart"andEnd.
Т.е. дабавить опцию выделять только целые слова.

English (google translate):
In this case, the allocation of functions (or rather part of it) - is allocated another part of the function found. My suggestion is to add a paragraph to highlight a whole word only, but it it PART OF.
For example there are words:
a. RoundStart
b. RoundStartandEnd

When you select "RoundStart" -> stands out from b. "RoundStart" andEnd.
Ie mount a option to select only whole words.

[TODO]: Config System

Config system for:

  • Custom Include directory
  • Afterwards commandline execution
  • Custom Copy directory
  • Custom Serverstart directory

Tab Settings

It would be nice to have some tab settings. Perhaps whether to use tabs or spaces, and changing the tab size between 2 and 4.

Rewrite Find/Replace Code

Rewrite Find/Replace code since the current code is not suitable to be able to handle multiple file and lacks of features like regex-replacing or index based search.

Suggestion: Custom code folds

It would be nice if we could create custom code folds.
Perhaps something with the comments such as

//<code-fold:"Name Label">
Everything inside is within the custom fold
//

It would make it easier to code larger plugins.

[Feature Request] Edit Templates

It would be cool if we could edit and save plugin templates in addition to the default ones. It would save a lot of time and help because not everyone structures their plugins the same.

SFTP Upload

Hello,

We have try to upload plugins with sftp but it is not working.

If you can add this options in the next update please :)

This is our error message :
Details: Le préfixe URI n'est pas reconnu.
Done

This is what we enter :
sftp://vps1.amenogames.fr

Ty !

Request: Tree View.

I would really like to see a tree view in addition to the open tabs for better navigation when I have alot of files open at a time. (Which I have most of the time). Also GitHub integration would be a nice feature.

Another feature request.

To go with #27 this feature request will help out users of this program.
First: specify the compiled binary file extension(default: smx)

Another lysis error.

Edit: Woops hit enter too early.

public void OnPluginStart()
{

/* ERROR! unknown load */
 function "OnPluginStart" (number 3)

Cause:

public void OnPluginStart()
{
    FF2BossInfo info;
    PrintToServer("%d", info.ClassIndex);
}

FF2BossInfo is a method map for a rewrite from sratch I want to do for ff2 v2, the methodmap is defined in a sp file included into compiled one.

Addition: Specify include directories

This would benefit a lot of people to be able to tell SPEdit where to look for includes no matter what configuration is selected(Example: main include dirs hold all the stock SM includes, extra includes include things like: /ff2_includes which holds the includes things like FF2 rely on. SPComp supports this as far as I know of.

Lysis errors

Decompiling my freedom_abilities.ff2(compiled with spider.limetech.org) with SPEdit's lysis produces the following errors:
Error while write Globals
Details: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Stacktrace: at System.BitConverter.ToInt32(Byte[] value, Int32 startIndex)
at Lysis.SourceBuilder.dumpArray(Int32 address, Int32 size)
at Lysis.SourceBuilder.dumpArray(Variable var, Int32 address, Int32 level)
at Lysis.SourceBuilder.writeGlobal(Variable var)
at Lysis.SourceBuilder.writeGlobals()
at Lysis.LysisDecompiler.Analyze(FileInfo fInfo)
/* ERROR! Unrecognized opcode genarray_z /
function "EmitSoundToAll" (number 14)
/
ERROR! Unrecognized opcode stradjust_pri /
function "CReplaceColorCodes" (number 19)
/
ERROR! Unable to cast object of type 'Lysis.LDebugBreak' to type 'Lysis.LConstant'. /
function "GetThisPluginName" (number 25)
/
ERROR! Unrecognized opcode neg */
function "Do_TruePower" (number 36)

Compile Information Window

If I compile an .sp file and it has errors, it would be nice to be able to double-click on the error line and have the code window auto-navigate to that line in the code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.