(Unoffcial) TK Editor .NET Alpha Releases

|===================================================================================| http://imageshack.us/a/img220/5058/adbutton.png http://img137.imageshack.us/img137/2069/b...

Started
May 10th, 2012

Last Reply
7 days ago

1
2
3
...
15
16
|===================================================================================|
Image Image
|===================================================================================|

Official Project Home: https://github.com/rpgtoolkit/RPGCode-Express

RPGCode Express Beta 1:

Features:
  • IntelliSense Autocomplete
  • Accurate Syntax Highlighting
  • Running the program in Trans3
  • Running your project in Trans3.
  • Explicit Variables listed in Autocomplete Menu
  • The ability to look inside "Included" program files
  • Collapsible Code
  • Accurate Line Numbering
  • Find and Replace Code
  • Extensive Undo and Redo Actions
  • Handles Cut, Copy, and Paste
  • Project File Management
  • New Docking User Interface
  • Classes and Methods dropdown list
  • Properties Window

How To Use It:

To use it you will have to run it directly from the .exe file there's no installation process, it is bare bone. It comes in a single version for both 32bit and 64bit versions of Windows.

Download Link*: http://github.com/rpgtoolkit/RPGCode-Express/downloads

*Requires .NET Framework 4.0 or greater: http://www.microsoft.com/en-us/download ... x?id=17851

LICENSE:

RPGCode Express is now licensed under the GNU GPLv3, meaning that RPGCode Express will always be freedom software.

DISCLAIMER:

This is an Alpha release and is not fit for use in a production environment. Please open and edit COPIED versions of your programs and NOT ORIGINALS. I will not be held responsible for any loss of data or corruption. You agree to this disclaimer by downloading "RPGCode Express Beta 1".

NOTICE:
Everything I am producing is unoffcial. TK Editor .NET is my personal project and is currently not the offcial fork for the TK. Please do not refer to it as "TK 4" or anything else other than TK Editor .NET or TK .NET.

swordmaster
0 people found this helpful
It should be noted that you have the newest .net framework installed. (broke on my work PC)

EDIT:
Should also state, it's been years since I've even looked at the RPG toolkit as a means to make a game, so good luck with the process of updating it!

EDIT AGAIN:
Oh, btw, looks promising... I can't do to much with it though, cause I've mostly completely forgotten the RPGCode language.... Kind of unfortunate.
0 people found this helpful
Nice work so far. I like how it's shaping up. :) Testing the 32bit version.

Bugs
  • Tabs are converted to spaces (but you probably know that one already :P).
  • Only the first and last lines of multiple-line C-style comments are highlighted correctly.
  • function ClassName::functionName() registers the function as ClassName in the code completion popup.
  • There's a leftover of the code completion: Type "do" and it brings up a do/while loop, which doesn't exist in RPGCode.
  • e+- syntax breaks coloring for numbers (eg., 1e+6). Most people don't know this feature exists though.
  • elseif, struct, null, true, false, default, inline, include (and some other less important ones) aren't highlighted (should be keywords).

That's all I've found so far. Keep up the good work.
0 people found this helpful
Bug Fix:

  • C-style comments are highlighted correctly throughout.

  • function ClassName::functionName() will add functionName to the autocomplete list instead of ClassName.

  • Removed left over "do/while" silly me...

  • Added keywords "elseif, struct, null, true, false, default, inline, include" to syntax highlighting.

Occasionally_Correct said "Tabs are converted to spaces (but you probably know that one already :P).
"


Not 100% sure what you mean by this, even tho I'm supposed to lol :? could you give me an example?

Occasionally_Correct said "e+- syntax breaks coloring for numbers (eg., 1e+6). Most people don't know this feature exists though.
"


I'll deal with this tomorrow, also could you list the other less important keywords so I can add them in?

NOTE:

Will merge fixes in the next release.
0 people found this helpful
He means that if you hit tab on the keyboard, instead of tabing in, it places like 5-6 spaces instead of a tab. (don't know the number, didn't try it XD)
0 people found this helpful
Ah OK, yes it converts tabs to spaces, a tab is equal to exactly 4 space characters (can be adjusted).

It works this way because the entire control is drawn using GDI+ as opposed to using a richtextbox, which is far to slow for effective syntax highlighting.
0 people found this helpful
Tabs vs spaces is a long running debate in the programming world, as silly as that seems. If I press tab, I want a tab. Very deliberately don't want spaces. Seems trivial, but still.
0 people found this helpful
The Code Editor is based on the principle of one symbol - one position on the screen. Special characters like Tab destroy this model. Tab is supported only with the transformation in the spaces.

However I can convert the spaces back to Tabs on file save, so no loss there. It's a trivial limitation...
0 people found this helpful
Sorry, should have worded it better. The problem isn't really that tabs are converted to spaces, but how it behaves on backspace: If I hit backspace, it only goes back one actual space. To delete a line, I have to hit backspace four times per tab.

When I use Eclipse for writing Python code, for example, it also converts tabs to spaces (since space indents are standard in Python), but it still treats them in the editor as if they were normal tabs, eg. one backspace per block of 4 spaces. Most other editors do this as well.

I don't have a preference for tabs vs spaces in the file as long as they behave the same way in the editor. I know it seems like a small, nit-picky gripe, but all those spaces add up.

"could you list the other less important keywords so I can add them in?"

on error, goto, resume next, returnmethod -- that should be all of them. (Less important because returnmethod was superseded by return, and the error handling keywords were superseded by functions, although they are still listed in the help files.)
0 people found this helpful
Should old keywords that have been superseded perhaps be highlighted differently, sort of like an IDE might point out deprecated stuff?

Anyway, sounds really awesome! It already can apparently do far more than the original can, at least by the standards of what features I would use.

Personally, I like tabs converted to spaces, but I see how the backspacing could annoy. I can't recall if netbeans backspaces as if they're tabs or not, since I know it converts tabs to spaces. I usually use shift+tab to jump back a tab. Does that key combo work?
0 people found this helpful
website by phil carty © 2011
additional icons by matty andrews and dana brett harris