Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2, 3, 4  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
trishume




PostPosted: Sun Jan 22, 2012 11:05 am   Post subject: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

For a while now I have been working on a new editor for Open Turing.

It has many new features like:

  • autocomplete
  • code folding
  • tabs
  • regular expression find and replace
  • optional dark theme


Unfortunately there has been limited human/unit testing so there are many undiscovered bugs. There are also many known bugs that are still being fixed.
Many of the bugs are a result of the hackish way it runs code. It calls the old editor to compile the code and then has a special runner execute it.


It is not ready for use by everyone. But it is functional enough that I, and a number of my friends, use it regularly.

If you want to try it you can download it here: https://github.com/downloads/Open-Turing-Project/turing-editor-qt/OpenTuring.zip

To run it open NewEditor\OpenTuring.exe in the package.

Please post bugs in this topic or on github issues. There will be lots.
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Sun Jan 22, 2012 11:59 am   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Impressive!
Alex C.




PostPosted: Sun Jan 22, 2012 2:14 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

i love you :3
Laughing just kiddimng!!! Very Happy
still, thats nice!
Alex C.




PostPosted: Sun Jan 22, 2012 4:40 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

you know what would be really useful though?
"SPELL CHECK"... every time i type Input.Keydown instead of Input.KeyDown i die a littles inside... T_T
SNIPERDUDE




PostPosted: Sun Jan 22, 2012 6:26 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

An IDE! Very Happy
mirhagk




PostPosted: Sun Jan 22, 2012 6:48 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Math.Distance does not highlight correctly (Math does however). It also has Distance pop up twice in the autocomplete. Also a feature I'd suggest is a little pop up box saying parameters and other information for a function. (like VS with ///<summary>)
trishume




PostPosted: Sun Jan 22, 2012 7:48 pm   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ Sun Jan 22, 2012 6:48 pm wrote:
Math.Distance does not highlight correctly (Math does however). It also has Distance pop up twice in the autocomplete. Also a feature I'd suggest is a little pop up box saying parameters and other information for a function. (like VS with ///<summary>)


None of the built-in functions highlight. I haven't migrated the 1000+ line keyword list from the old editor yet. I will fix the distance thing, thanks. And I used to have the popups but they mysteriously stopped working and I'm still working on why. But I agree they are really useful.
ihsh




PostPosted: Sun Jan 22, 2012 11:30 pm   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Wow, these new features are great (especially the tabs and the code-folding)! You must have spent a lot of time developing the program! :O

But somehow, when I click "run," my output screen will never open (even though I get the message" compile suceeded, running..."). Does this has anything to do with the fact that my computer finds "turingexeprolog.exe" suspicious and removes it?

Also, for the auto-complete, is there any way to make it so that you can select the option you want with your mouse?
Sponsor
Sponsor
Sponsor
sponsor
mirhagk




PostPosted: Mon Jan 23, 2012 12:54 am   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

@trishume yeah that popup thing is probably the biggest reason I use an IDE (I can learn new library functions without having to read through giant documentation manuals)
copthesaint




PostPosted: Mon Jan 23, 2012 7:23 am   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

If your making this, and seriously spending the time to make this IDE, I just wanna suggest one thing, the most usefull thing for any IDE, At t he right top corner make it show links to procedures and functions

for example, if this was your program

Turing:
procedure x (s : string)
put s
end x

procedure y (var x : string)
x := "hello world"
end y

function i (pie : boolean) : string
if pie then
result "You have pie!"
end if
result "you dont have pie! :("
end i


Then your IDE would display at the top right corner

code:
proc x (s : string)
proc y (var x : string)
function i (pie : boolean) : string


and when you click on proc x for example it would focus your screen to it. It would make everyones live 100% easier because I always, ALWAYS check my procedures to see what I set my parameters to :S lol Then too, if you improve debuging (turing is generally easy to debug but) if you improve debuging you can make for example a red x appear beside the procedure that is causing the problem.
trishume




PostPosted: Mon Jan 23, 2012 8:05 am   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Yes, turingexeprolog.exe is essential.

Nitty gritty:
turing.exe is passed the flags "-compile file.t"
this compiles it into a .tbc (turing byte code) file
turingexeprolog.exe is passed -file file.tbc which runs the program.

And @copthesaint the "mark" menu does that, just not as well. It's crappiness is on the bugs list.
evildaddy911




PostPosted: Mon Jan 23, 2012 11:30 am   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

did you take out the "replace" button?, also, in the autocomplete, could you have it put the parameters beside the name? i HATE having to check which parameters go where.
@Alex C: for the spell check thing, just have it hightlight any variables/procs/fcns that turing cant find

EDIT: just found the replace button, under find, never mind!
ProgrammingFun




PostPosted: Mon Jan 23, 2012 9:02 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

This is awesome! Sidenote: How many people would want a Ribbon UI on this?
SNIPERDUDE




PostPosted: Mon Jan 23, 2012 9:14 pm   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

ProgrammingFun @ January 23rd 2012, 9:02 pm wrote:
This is awesome! Sidenote: How many people would want a Ribbon UI on this?


The idea of a ribbon UI has potential, it really comes down to how well it's implemented/designed.
I may take part in this, the graphics would be easy enough for me to do.
Programming being more of a hobby, if someone else designs the interface I could take care of visual appeal.
ProgrammingFun




PostPosted: Mon Jan 23, 2012 10:51 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

I'm gonna try to implement a web editor for turing in my free time Very Happy
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 4  [ 60 Posts ]
Goto page 1, 2, 3, 4  Next
Jump to:   


Style:  
Search: