julienkluge / spedit Goto Github PK
View Code? Open in Web Editor NEWSPEdit - A lightweight sourcepawn editor.
SPEdit - A lightweight sourcepawn editor.
Mind adding pre/post copy commands and some keywords for them(like {current_file}) to make configurating more User Friendly?
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.
Is it possible you can make popup thing(for params and function list) appear above if there is not much screen left below the text for it to fit in all?
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!
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)
It would be nice to include a solution file for people who want to manually compile the binary from git source.
The app consistantly crashes when you click on the struct SharedPlugin from the "Parsed from include directory" window
If I type '{' it closes it with '}'. So with as '[' and ']'
Also It could be disabled in the Options menu.
This should be fairly easy to implement I think
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?
Parsing Intellisense from current directory for auto completion, or via recursive includes checks, would be every helpful.
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.
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.
I hope this feature doesn't already exist, since I couldn't find it anywhere. If it doesn't though, I'd be very thankful if you add it, because it speeds up writing tremendously.
Thanks for SPEdit and take care!
When editing the above text by adding the second line, SPEdit consistently crashes upon typing the semicolon.
Some Things I have tested:
-;
Operating System is Windows 8.1
SPEdit version is 1.1.2.0
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.
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.
Close button and the Close All button don't work.
Also CTRL+W doesn't work to close the file either.
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?
Can you make tab groups minimizable?
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.
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
The file.Close()
doesn't color itself correctly
stock void afunction(int thistext) { .. }
// Resizes an array. If the size is smaller than the current size, the
// array is truncated.
//
// @param newsize New size.
Hey,
UTF-8 encoding is showed in ANSI.
é -> é ê -> ê à -> à
Spedit crash while Hubic is synchronizing your files.
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.
Config system for:
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 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.
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.
maybe I want to send a message in game to players that plugins are getting updated added or removed etc
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.
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 !
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.
To go with #27 this feature request will help out users of this program.
First: specify the compiled binary file extension(default: smx)
Hello. Can you make hotkey for minize all modules? It will be very helpfull.
http://ctrlv.cz/FT8P <- screenshot
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.
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.
Thread the Rcon sending.
-Whitethunder
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)
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.
As the title, the crash happends because I am trying to compile in 1.7 and fails (It's me who forget to switch) and then switching to 1.6.4, then it just crashes and there is no errorlog, I can post a windows crash log. But it's in danish.
Well, this is the best sourcepawn editor, only problem is: I can not type brackets ( [], {}.. etc ), because it doesn't have keyboard localization. ( Many countries have different keyboards. )
I currently use Atom for coding which has keyboard localization plugin, here you can find it: https://atom.io/packages/keyboard-localization ( Source code: https://github.com/andischerer/atom-keyboard-localization )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.