SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 06/08/2011, 11:31 AM   #1
CarbonFiberSpoon
Little Clucker
 
Join Date: Apr 2009
Posts: 24
Reputation: 6
Default CarbonPawn 1.0

A new IDE for PAWN created for that little bit of extra comfort. This program runs on Java and uses the Standard Widget Toolkit.


+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:

+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):

Code:
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:
Code:
"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
-[upload.ee] CarbonPawn 1.0 build 106 Linux 64-bit
-[upload.ee] CarbonPawn 1.0 build 106 Windows 32-bit
-[upload.ee] CarbonPawn 1.0 build 106 Windows 64-bit

+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/C...ource.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.

Last edited by CarbonFiberSpoon; 07/08/2011 at 07:54 AM. Reason: updated linux download links
CarbonFiberSpoon is offline   Reply With Quote
Old 06/08/2011, 11:39 AM   #2
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 405
Reputation: -4
Default Re: CarbonPawn 1.0

1ST
Erm...
Nice And Cool
RandomDude is offline   Reply With Quote
Old 06/08/2011, 12:09 PM   #3
wups
High-roller
 
wups's Avatar
 
Join Date: Apr 2010
Location: Lithuania
Posts: 1,369
Reputation: 132
Default Re: CarbonPawn 1.0

Does tabbed scripting mean, that the program automatically intends the code for you?
This is quit similar to notepad++.
I like it!
wups is offline   Reply With Quote
Old 06/08/2011, 12:35 PM   #4
StreetGT
High-roller
 
StreetGT's Avatar
 
Join Date: Dec 2008
Location: Portugal
Posts: 1,226
Reputation: 76
Default Re: CarbonPawn 1.0

The background color, looks amazing!
StreetGT is offline   Reply With Quote
Old 06/08/2011, 01:43 PM   #5
FireCat
Banned
 
Join Date: Jul 2010
Posts: 2,471
Reputation: 596
Default Re: CarbonPawn 1.0

Nice
FireCat is offline   Reply With Quote
Old 06/08/2011, 02:32 PM   #6
[Ask]Terminator
Huge Clucker
 
[Ask]Terminator's Avatar
 
Join Date: Jan 2009
Posts: 203
Reputation: 3
Default Re: CarbonPawn 1.0

Amazing nice!
is there a way to change the background color to white ?
__________________
Code:
[Ask]Terminator is offline   Reply With Quote
Old 06/08/2011, 03:19 PM   #7
CarbonFiberSpoon
Little Clucker
 
Join Date: Apr 2009
Posts: 24
Reputation: 6
Default Re: CarbonPawn 1.0

Thanks for all the great feedback !

Quote:
Originally Posted by [Ask]Terminator View Post
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.

Quote:
Originally Posted by wups View Post
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.
__________________
CarbonFiberSpoon is offline   Reply With Quote
Old 06/08/2011, 04:32 PM   #8
[Ask]Terminator
Huge Clucker
 
[Ask]Terminator's Avatar
 
Join Date: Jan 2009
Posts: 203
Reputation: 3
Default Re: CarbonPawn 1.0

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 Can you do something for that? Thank you very much DD
__________________
Code:
[Ask]Terminator is offline   Reply With Quote
Old 06/08/2011, 08:28 PM   #9
Crimson
Little Clucker
 
Join Date: May 2011
Posts: 35
Reputation: 0
Default Re: CarbonPawn 1.0

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?
Crimson is offline   Reply With Quote
Old 07/08/2011, 02:31 AM   #10
RealCop228
Godfather
 
Join Date: Feb 2010
Location: Springboro, OH
Posts: 8,274
Reputation: 669
Default Re: CarbonPawn 1.0

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?
__________________
Putting [URGENT] in the thread title stops me from opening the thread. Nobody else's problem on this forum is more important that another person's. Try not to be self-centered!
RealCop228 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] CarbonPawn 0.9a CarbonFiberSpoon Tools and Files 50 17/07/2011 06:00 PM


All times are GMT. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.