About Monkey 2 › Forums › Monkey 2 Projects › Ted2Go IDE
This topic contains 596 replies, has 46 voices, and was last updated by 
 nerobot 3 months ago.
- 
		AuthorPosts
 - 
		
			
				
September 26, 2017 at 8:27 am #10816
this version crashes on MacOS after a few minutes, not sure why yet.
September 26, 2017 at 8:47 am #10817To catch crash you can build&run ted2go in debug mode from ted2go, and use running version for your usual coding.
September 27, 2017 at 6:28 pm #10846Definitely crashing within a few seconds on MacOS. Seems to be related to the error hilighting since it happens as soon as I hover the error red line in the document.
I launched a debug build from the command line and got this (I removed any file paths in the error):
Attempt to invoke method on null instance
{{!DEBUG!}}
>?????:Void();/home/ … /Ted2Go/view/HintView.monkey2;33;533590191
>?????:Void();/home/… /monkey2/modules/std/time/timer.monkey2;38;530998829
period:Double=0.55555555555555558
timeout:Double=200.16928584955556
now:Double=200.17998897400003
sleep:Double=-0.010703124444461309September 27, 2017 at 7:12 pm #10848nerobot said:
Similar feature is right inside of Ted2Go IDE [to clean the buildv directories]
It works if you have a .buildv right inside project folder. So you can’t clean modules inside of ‘monkey2’ project. I can add recursive search if needed.It seems that once a directory is imported as a Project the command can be triggered from right click context menu in the Project tab. It does the trick however perhaps there could be room for improvement.
a) It seems by GUI design the functionality is related to the right click context menu. This will allow me to import first the directory and then trigger the clean command (I will assume recursive search exists). Perhaps there could be also another alternative way to use the tool in a more project-independent way.
b) Having a recursive function might be useful. For example I might open a massive directory that contains many monkey2 projects.
c) If you are interested to attach this utility in the IDE feel free to do so, if you find it good. Perhaps by throwing an entry in the main menu, it will show this GUI to be used accordingly, alternatively activating the project clean command from the Project tab might still present this GUI but initialized with the appropriate values.
d) A note to myself I might consider later on to add the option to include .project directories or not as well in the deletion process.
No need to respond to this message, do anything you like.
September 28, 2017 at 5:50 am #10853Seems to be related to the error hilighting since it happens as soon as I hover the error red line in the document.
Fixed now.
No need to respond to this message, do anything you like.
Thanks.
Fix in completion
Current version (on itch.io) have bug – modules don’t parsed and you can see insufficient completion list.Now it fixed in repository.
September 28, 2017 at 8:29 am #10854Tested the latest dev branch for a few minutes, crash seems fixed now. Thanks!
September 28, 2017 at 11:17 am #10857A few words about my development.
Updated version numeration
Now I name current dev version with ‘a’ postfix (alpha) – like v2.7a.
And will remove postfix when ready to release.
Started to improving parser / completer
Now completion can understand namespaces!
Just type filesystem. (with dot) and see what happen. Namespaces are filtered by ‘using’ directives, to see filesystem you should to ‘using’ it (via Using std.. for example).
Also completion works inside of ‘Using root.sub1.sub2’ section.
In new version I pass into parser new data about document – docLineStr and docPosInLine. They help to understand where we are.
More improvements are coming.
Look at all new stuff in dev-branch.
October 2, 2017 at 7:25 am #10924I can reproduce MacOS crash in Itch version of MX2 1.107 , by opening modules/mojo/graphics/texture.monkey2
October 2, 2017 at 7:29 am #10925October 3, 2017 at 10:59 am #10954I’ve rebuilt from https://github.com/engor/Ted2Go master, so far no Mac crash.
October 6, 2017 at 3:59 am #11002There was a bug in process reader which raised an app crash.
You can catch it working with huge files (about 2000+ lines).
Good news – it fixed now in dev branch!
Thanks to Mark Sibly for help fixing that.
PS. I found, that “Goto declaration” works better if you are using namespaces for your code.
For example, in PromptInvasion banana, if you try to go to Entity declaration, you will jump to mojo3d.graphics.Entity class. But if you specify “Namespace inv ; Using inv..” then you will jump to Entity class inside of invasion project.
October 6, 2017 at 9:10 am #11015I just uploaded new binaries v2.7a at https://nerobot.itch.io/ted2go
- Fixes in parser.
 
It’s an ‘alpha’, but it should be more stable than v2.6.
October 9, 2017 at 6:33 am #11043Improved keywords capitalizer.
Now, if you were typing chars and then jump to another text line – by mouse click or up / down / left / right keys – formatter will try to fix all words in line, not just word-under-cursor.
Also disabled autocompletion inside of commented blocks (rem / end). If it was useful for anybody – please let me know.
And version bumped to v2.7.
October 9, 2017 at 11:21 pm #11052I’ve been using Ted2Go for a few weeks now and enjoying it. Thank you for the work nerobot!
Does anyone else experience the IDE throttling CPU? Right now it’s at 98% CPU on my MacBook Air early-2014, and it regularly idles around 15% CPU on my desktop Windows 10.
October 10, 2017 at 1:37 am #11053I’ve been using Ted2Go for a few weeks now and enjoying it. Thank you for the work nerobot!
Glad to hear!
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.