PDA

View Full Version : [Tool/Web/Other] CarbonPawn 1.0


CarbonFiberSpoon
06/08/2011, 11:31 AM
A new IDE for PAWN created for that little bit of extra comfort. This program runs on Java and uses the Standard Widget Toolkit (http://www.eclipse.org/swt/).

http://www.upload.ee/image/1349818/cpawn.png

+Features:
-Similar behaviour to Pawno
-Indentation doesn't add spaces
-List of syntax highlights that you can disable/enable as you wish
-Shows selection length so you can make optimized strings more easily
-User definable colours for syntax highlighting, background and a lot more
-Supports tabbed scripting
-Content assist(Ctrl+Space)
-Parameter assist(Ctrl+Shift+Space)
-Goto.. line with a separate window
-Find/Replace
-Outlines global variables, functions, enumerations and definitions
-Outline can be filtered, also affecting the content assist
-Insert a colour option
-Ability to choose where compiled AMX is moved after compilation
-Native look to the OS environment you're in
+Image:
-CarbonPawn running on Windows 7 with customized colour settings:
http://www.upload.ee/image/1556766/Clipboard01_sml.jpg (http://www.upload.ee/image/1556756/Clipboard01.jpg)
+Requirements
-Java Runtime Environment (lastest is preferred)
-Correct SWT library for your system
-Decent PC: P4 with at least 512mb of system ram preferred

+Notes
-You use this software at your own responsibility, no warrants
-When modifying the program you must keep original credits as-well.
-Even though this program should be stable, it may still crash, so save your progress a lot
-Optionally you can add "BOOL_IgnoreSettingsSaveFail=true" to the settings.ini file so that the program would not prompt you that the settings had not been saved, useful if the program is in a Read-Only area

+Open with (Windows)
Since you cannot open a file type with a .jar file on Windows, you have to create a .bat file(replace the path with a correct one):

java -jar "C:\CarbonPawn\carbonpawn.jar" %1
pause

Note that there must be a last empty line.
Alternatively, if it does not work, but you do have JRE installed, you may try to locate the "java.exe" and create a bat like this:
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\CarbonPawn\carbonpawn.jar" %1
pause

Also you must make sure that if you are using x86 version of java on a 64bit system, you will need the 32-bit(x86) version SWT library.

+Download
-[upload.ee] CarbonPawn 1.0 build 106 Linux 32-bit (http://www.upload.ee/files/1558573/CarbonPawn1.0a_106_linux_32bit.zip.html)
-[upload.ee] CarbonPawn 1.0 build 106 Linux 64-bit (http://www.upload.ee/files/1558574/CarbonPawn1.0a_106_linux_64bit.zip.html)
-[upload.ee] CarbonPawn 1.0 build 106 Windows 32-bit (http://www.upload.ee/files/1556713/CarbonPawn1.0a_106_win_32bit.zip.html)
-[upload.ee] CarbonPawn 1.0 build 106 Windows 64-bit (http://www.upload.ee/files/1556714/CarbonPawn1.0a_106_win_64bit.zip.html)

+Source code
-You may modify as long as you keep the original credits as-well.
-Written using Eclipse IDE, you'll need to reference the SWT library.
-Download:http://www.upload.ee/files/1556720/CarbonPawn1.0a_106_source.zip.html

+Changelog
-[06.07.11] 1.0a build 106
* Removed the Development menu as it was only for debug purposes.
* Made the program open-source.
-[27.06.11] 0.9f build 105
* Changed the way line numbers are rendered to a less memory-intensive method
* Disabling line numbers now hides them completely
* You can now change the colour of the line between text area and line numbers(Separator line)
* Selecting multiple lines and pressing Tab now changes the indentation of those lines
* Shift+Tab now removes indentation from selected line(s)
* Text options now apply to all existing tabs aswell
* Fixed the param. assist not showing up on Ubuntu
* Added open file types(which are meant to be suggestive, *.* is also in the list)
* Added '*.p' to the open/save file types
-[22.06.11] 0.9e build 102
* Fixed indentation bug going out of line
* Added option to disable the indentation add feature(after '{')
* Added support for char quotes 'a'
* Fixed the algorithm gathering the outline
* The Home key now takes the caret to the indentation end, on a second click to the line beginning
-[08.06.11] 0.9d build 100
* Fixed bug of Goto.. line crashing on Win 32bit
-[08.06.11] 0.9d build 99
* Close tab "x" button
* Save as.. file type
* Added quickbar
* Local function highlight
* '#asdf' is now detected differently
* Minimize to tray option
* Possibility to re-colour the tabs when highlight options changed
* Fixed bug at parameter assist jumping to param from quotes
-[28.05.11] 0.9c build 98
* Save All option (Ctrl+Shift+S)
* Prompts for saving unsaved tabs
* Support for folders inside includes folder, adding some support to systems like YSI
* Include function highlight
* Added highlight support for controls{"new", "public", "if" etc.} and numbers
* Unimportant highlights can now be turned off as having them all on can be too colourful
* Added a colour picker Tools->Insert a colour (Ctrl+K)
* Added an option to change the selected bracket border colour
* Some minor improvements in algorithms
* Added the Sa-MP server includes to the package & the compiler for windows packages
* You can now hop to the warning/error line when selecting it in compiler output window
-[17.05.11] 0.9b build 96
* Preferences is now scrollable in the event that its contents are out of reach
* You can now change the colour of guide windows' (like Replace & content assist)
* Added redo (Ctrl+Y)
* Speed improvements when opening a file
* Added a cool About window ^^
* Set font.. now saves
* Fixed syntax highlighting, replace and some minor things that greatly added to the stability of the program


Feedback is welcome.

RandomDude
06/08/2011, 11:39 AM
1ST
Erm...
Nice And Cool

wups
06/08/2011, 12:09 PM
Does tabbed scripting mean, that the program automatically intends the code for you?
This is quit similar to notepad++.
I like it!

StreetGT
06/08/2011, 12:35 PM
The background color, looks amazing!

FireCat
06/08/2011, 01:43 PM
Nice ;)

[Ask]Terminator
06/08/2011, 02:32 PM
Amazing nice!
is there a way to change the background color to white ?

CarbonFiberSpoon
06/08/2011, 03:19 PM
Thanks for all the great feedback !

Terminator;1331981']Amazing nice!
is there a way to change the background color to white ?
Thanks. It's white as default. The screenshot is supposed to illustrate that you can choose your own colours that suit you the best.

Does tabbed scripting mean, that the program automatically intends the code for you?
This is quit similar to notepad++.
I like it!
It allows you to handle multiple files without having multiple instances of the program open.

[Ask]Terminator
06/08/2011, 04:32 PM
It's excellent i'm using it just one thing:
When i go from a tab to another i cant use the scroll of my mouse till i dont click once on the page :D Can you do something for that? Thank you very much :DDD

Crimson
06/08/2011, 08:28 PM
Thank you very much for this. I've been searching for a nice IDE. Hopefully you will continue to update this one for a while.

I do have one suggestion how ever. Do you think you could add an option to show Content Assist and Parameter Assist automatically?

RealCop228
07/08/2011, 02:31 AM
I'm quite a moron when it comes to Linux. Could someone explain to me how to get this program working on a clean install of Ubuntu 11.04?

CarbonFiberSpoon
07/08/2011, 08:07 AM
I'm quite a moron when it comes to Linux. Could someone explain to me how to get this program working on a clean install of Ubuntu 11.04?
Ah that was my bad, I had packed the linux packages with wrong SWT libraries. The links are fixed now.

Terminator;1332156']It's excellent i'm using it just one thing:
When i go from a tab to another i cant use the scroll of my mouse till i dont click once on the page :D Can you do something for that? Thank you very much :DDD
That'll be fixed in the next release.

RealCop228
07/08/2011, 04:24 PM
Ah that was my bad, I had packed the linux packages with wrong SWT libraries. The links are fixed now.

Oh okay. I thought I was doing something wrong... ;D

Dreftas
10/08/2011, 09:17 PM
Can I enable "Parameter assist" to work always just right after I write function name and without pressing Ctrl+Shift+Space ?

CarbonFiberSpoon
29/08/2011, 08:22 AM
As a little update, to get the errors from missing ';' and '()', add "-;+ -(+" to Tools->Preferences->Compiler options->Launch params.
This also makes YSI work, as these pawn compilation settings are used by YSI.

nescha
25/11/2011, 11:24 PM
Thanks for this.

System64
25/11/2011, 11:50 PM
this looks like a rainbow,
default pawno ftwww!!!!

Momo5000
28/12/2011, 07:56 AM
Hey there!

First i have to say that i've been looking for a editor like this, its just great! i hate using PawnStudio because it has lots of bugs...

Could you do me a favour and add those functions to improve your editor? you would make me pretty happy!

1) Can you add it that the Hint Window - Content Assist (CTRL + SPACE) automatically Open if i type anything?
2) Same as above just for the Parameter Assist
3) Server Start/Stop/Restart hotkey? Im to lazy to run another application for this...
4) I have to reload the file to show up any new datatypes in the Content Assist, could you make it auto-reload every second?

If you would improve, fix and add those functions im ready to marry you, sir!

T0pAz
28/12/2011, 09:57 AM
I don't like the syntax highlighting color. It's very light.

Momo5000
28/12/2011, 10:41 AM
You can adjust the color if you want.

Also here is another improve for you mate :-)

- Autocomplete {} and ()

Kutter
28/12/2011, 10:51 AM
AMAZING ! I use it now !

Ricop522
05/04/2012, 05:59 PM
Downloading it, sorry for bumping, but does carbon accept ", , , etc" ?


Dont stop updating, this can save my life

@edit

I am getting this wrongs characters:



And I lost the identation of my gamemode

simstosh
07/02/2013, 05:33 PM
Linux links is broken again. Can you reupload, please?

Logan_Adams
03/07/2013, 12:47 PM
Yes, please reupload the Linux Links.

Greetz

AlexPro99
03/07/2013, 06:20 PM
nice :D i think that i will use it. +1

kN1GhT
07/07/2013, 03:25 PM
Excellent work!

skydux123
16/07/2013, 06:08 AM
It's don't work for me :(

SwisherSweet
22/09/2013, 07:15 PM
This one looks pretty nice, But i still love the default pawno :)
But i like this one too...

camaro8
31/12/2013, 01:11 PM
Nice One Mann but i prefer pawno.exe ^^

THE_KING$5$
04/01/2014, 08:55 PM
Nice Work. i will be Using it.

PawnoQ
14/02/2014, 01:48 PM
this is NICE!!

How can i apply such a carbon colour like in ur screenshot btw??

S4t3K
21/02/2014, 12:34 PM
May I get ur settings.ini because I like your settings ^^

SaltySandy
21/02/2014, 02:54 PM
Excellent work. It eases up a-lot.

Ozil
26/02/2014, 01:50 PM
Nice!