SA-MP Forums Archive
[PAWN EDITOR] PawnSciTE • Highlighting, Folding, Colorpicker, FTP and much more! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [PAWN EDITOR] PawnSciTE • Highlighting, Folding, Colorpicker, FTP and much more! (/showthread.php?tid=15767)

Pages: 1 2 3 4


[PAWN EDITOR] PawnSciTE • Highlighting, Folding, Colorpicker, FTP and much more! - Darkimmortal - 28.10.2007


This is an incredibly lightweight standalone SciTE modification (no SciTE knowledge or previous installation needed) that adds full syntax highlighting, code folding, FTP uploads, gta-host.com server restarting, Function Parameter Tooltips, JumpTo Functions+Callbacks, Colour Previews and Colour Picker and much, MUCH more!


_________________________________________________

All you need to do is download it and run the installer!


Links are at the bottom!

_________________________________________________

0.6 Progress

Green = Complete
Orange = Almost complete
Red = In development
Blue = Need more requests for the feature

Waiting for suggestions


_________________________________________________

Cool Features:
_________________________________________________


System Requirements

_________________________________________________


Some Random Info:
_________________________________________________

Changelog

0.1
0.2
0.3
0.4

0.5

0.51
0.52
_________________________________________________

Known Bugs as of 0.52:
_________________________________________________

Screenshots

Main Window of 0.5 (0.52 has a transparent toolbox when unfocused)
[img width=500 height=400]http://dkimmortal.com/bleh4.png[/img]

Settings Interface of 0.3 (0.52 looks almost exactly the same)



Function Parameter Tooltips (Cool, eh? )


_________________________________________________
Downloads:

PawnSciTE 0.52 (zipped installer) (via my site) (direct link)
PawnSciTE 0.52 (zipped without installer) (lacks fonts) (via my site) (direct link)
PawnSciTE 0.52 (zipped source only) (via my site) (direct link)
SciTE 1.76 Source Code

PawnSciTE 0.52 (zipped installer) (via mirror by oliverluata) (direct link)
PawnSciTE 0.52 (zipped installer) (via mirror by Numhaken) (captcha +5 second delay)



(Feel free to mirror)

[size=12pt]You should uninstall any previous versions when installing. If you don't, make sure you install it OVER any previous versions, overwriting all old files.


Re: [EDITOR] SciTE Plugin for Pawn - Joske_Vermeulen - 28.10.2007

it doesn't work properly and you can't convert it to amx -_-

I even think this ain't even made for pawn


Re: [EDITOR] SciTE Plugin for Pawn - Darkimmortal - 28.10.2007

Quote:

it doesn't work properly and you can't convert it to amx -_-

Yes, it does work properly, you just need to set it up correctly.

Make sure you imported it correctly into SciTEGlobal.properties, or just used the included SciTE package. Also make sure that the location of pawncc.exe at the the top of pwn.properties is set correctly. Once this is done, conversion to .amx is as simple as hitting compile, or pressing ctrl+F7.

Quote:

I even think this ain't even made for pawn

No offence, but having spent the past 3 or 4 hours making this, I think I would know what language it is for.


Re: [EDITOR] SciTE Plugin for Pawn - Joske_Vermeulen - 28.10.2007

I forgot to add something -_-
even tough I have read the whole manual
works now

could you change the font ? because the one atm is not that good


Re: [EDITOR] SciTE Plugin for Pawn - Darkimmortal - 29.10.2007

Quote:

could you change the font ? because the one atm is not that good

Just enable "Use Monospaced Font" in the options menu, or mess around in SciTEGlobal.properties. The packaged SciTE has Bitstream Vera Sans Mono set as the monospaced font, so if you don't have that installed, weird things could happen.


Re: [EDITOR] SciTE Plugin for Pawn - Alejandro - 29.10.2007

i downloaded it and using how but how do you use it? i dont see any syntax highlighting on my script.


Re: [EDITOR] SciTE Plugin for Pawn - Darkimmortal - 29.10.2007

Quote:

i downloaded it and using how but how do you use it? i dont see any syntax highlighting on my script.

Try using the full package (scite.zip) and just open a .pwn file or set the language to "Pawn" in the Languages menu. You'll need to edit the first line in pwn.properties to the path of your compiler (without trailing slash).

If you just extracted pwn.properties into an existing SciTE installation, you need to import it into SciTEGlobal.properties (there's instructions on how to do this in the readme).


Re: [EDITOR] SciTE Plugin for Pawn - kc - 29.10.2007

cool! I got this all working fine. it looks very promising


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 29.10.2007

I've just added an update - check the first post.

Still no code completion though


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - kc - 29.10.2007

well... I can compile with it...


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 29.10.2007

Quote:

well... I can compile with it...

You mean the syntax highlighting isn't working?


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - kc - 29.10.2007

no, I wasnt very clear, everything seems to work fine for me

except I cant nativly open .pwn files... I need to change the file extensions to show to all files before they show.


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 29.10.2007

Quote:

except I cant nativly open .pwn files... I need to change the file extensions to show to all files before they show.

Are you sure you overwrote your SciTEGlobal.properties with the one in the updated files package?


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support etc. - [SWK]Acid - 29.10.2007

I just downloaded this, followed the setup and started testing it. I found a bug really really fast.

I scripted this:
Code:
forward public lol(const hey[]);

public lol(const hey[])
{
	return printf(hey);
}
And I get this error:
Code:
>C:\Programmer\pawno\pawncc test.pwn
test.pwn(5) : error 017: undefined symbol "printf"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
>Exit code: 1
Something tells me you aren't done yet. Good work though, I really like it, and I hope you'll fix this bug (and others like it if there's any - I haven't tested others than printf).


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 29.10.2007

That bug can't be caused by my plugin - it uses pawncc.exe directly, just like pawno does.

If that is all there was in the script, maybe the lack of
Code:
#include <a_samp>
caused the problem...


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support etc. - [SWK]Acid - 29.10.2007

Quote:
Originally Posted by Darkimmortal
That bug can't be caused by my plugin - it uses pawncc.exe directly, just like pawno does.

If that is all there was in the script, maybe the lack of
Code:
#include <a_samp>
caused the problem...
Lol I feel stupid right now


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - IJzerenRita - 29.10.2007

I tried this plugin and I can tell you it's work great It's great since I had to compile my scripts separately (I always use SciTE), and now it's all integrated

However, from the replies I read here, I think you should use this plugin only if you're familiar with SciTE. It's not meant for people who are only able to work with single-purpose editors like Pawno.


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 29.10.2007

Quote:

However, from the replies I read here, I think you should use this plugin only if you're familiar with SciTE. It's not meant for people who are only able to work with single-purpose editors like Pawno.

I agree - unless you really understand SciTE (it's actually not too complex an editor compared to editors like Notepad++), you should wait until I get round to building an auto installer and a customised version of SciTE just for pawn.

I'm also working on a macro to do FTP uploads and auto-restarting for gta-host.com servers. Well actually, it's already built and working perfectly but I want to see if I can integrate it with SciTE, possibly uploading and restarting upon successful compilation.


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - bzuco - 30.10.2007

it has no commands list on right site as classic pawno?


Re: [EDITOR] SciTE Plugin for Pawn - syntax highlighting, compilation support et - Darkimmortal - 30.10.2007

Quote:

it has no commands list on right site as classic pawno?

I think I know what you mean, although I've only seen it in screenshots as its never worked for me. Hopefully I will be able to implement something similar to a later version.

And for anyone that uses this plugin, I have almost completed a new version, complete with easy installer, FTP uploads and gta-host.com server restarting. The first release should be very soon!