[Tool/Web/Other] CarbonPawn 1.0
#1

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

Код:
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
-[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.
Reply
#2

1ST
Erm...
Nice And Cool
Reply
#3

Does tabbed scripting mean, that the program automatically intends the code for you?
This is quit similar to notepad++.
I like it!
Reply
#4

The background color, looks amazing!
Reply
#5

Nice
Reply
#6

Amazing nice!
is there a way to change the background color to white ?
Reply
#7

Thanks for all the great feedback !

Quote:
Originally Posted by [Ask]Terminator
Посмотреть сообщение
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
Посмотреть сообщение
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.
Reply
#8

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
Reply
#9

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?
Reply
#10

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?
Reply
#11

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
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.

Quote:
Originally Posted by [Ask]Terminator
Посмотреть сообщение
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
That'll be fixed in the next release.
Reply
#12

Quote:
Originally Posted by CarbonFiberSpoon
Посмотреть сообщение
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...
Reply
#13

Can I enable "Parameter assist" to work always just right after I write function name and without pressing Ctrl+Shift+Space ?
Reply
#14

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.
Reply
#15

Thanks for this.
Reply
#16

this looks like a rainbow,
default pawno ftwww!!!!
Reply
#17

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!
Reply
#18

I don't like the syntax highlighting color. It's very light.
Reply
#19

You can adjust the color if you want.

Also here is another improve for you mate

- Autocomplete {} and ()
Reply
#20

AMAZING ! I use it now !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)