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 19, 2017 at 8:12 pm #10631
Command H crashes the IDE on 2013 My MacBook Air.
September 19, 2017 at 9:19 pm #10632Are you sure it crashed? Command+H is a system shortcut that hides the app. It’s probably down there, still loaded in the dock.
The shortcut needs to be changed in Ted2Go for MacOS.
September 20, 2017 at 1:04 am #10634@ethernaut
I think you are right. It does need to be changed/fixed though.September 20, 2017 at 2:39 am #10635Thanks. Will fix codemap issue and replace shortcut.
September 20, 2017 at 3:00 am #10637Hmm I’m unable to double click .exe files in the Project Tree now.
I have to right click and select “Open on Desktop” in order to open them.September 20, 2017 at 3:52 am #10638Hmm I’m unable to double click .exe files in the Project Tree now.
Do you see Okay prompt to execute file when double-click on it?
Or do you want to open exe as a plain text file?
Attachments:
September 20, 2017 at 11:01 am #10643What hotkeys should I use for macos find / replace actions?
Android studio (AS):
- Find – Cmd+F
 - Find next – Cmd+G
 - Find prev – Cmd+Shift+G
 - Replace – Cmd+R
 
Collisions:
- Cmd+G – goto line.
 - Cmd+R – build&run
 
AS for goto line uses Cmd+L, but in ted2go it’s “Lock build file”.
I need help from macos users.
As a temp (or not) variant – Cmd+Shift+F to replace.
September 20, 2017 at 8:44 pm #10651Maybe it’s just me, but I never use “Build” and always use “Build and Run”, so I’d prefer to move “Build and Run” to Cmd+B, allowing Replace to go to “Cmd+R”. “Build” could go to Ctrl+B. Maybe a vote?
Rarely use goto line, thanks to Ted2Go excellent error highlighting system. You could use Ctrl+L, maybe? Ctrl and Alt shortcuts are actually allowed on Macs!
It’s the “Cmd” shortcuts that can cause system shortcut conflicts (Ctrl+Cursor being the main exception , since it is used to switch between apps in full screen).
By the way, I really would prefer if jump to previous/next word was Alt+Cursor instead of Ctrl+Alt+Cursor. Ted2Go is the only mac app that behaves like that, so it always confuses my brain when switching between apps (i.e. even web browser based text editing follows that rule)… navigate prev/next is not as useful, and actually seems non functional on Macs right now. I’d much rather swap those shortcuts.
Or maybe users could customize their shortcuts editing a .json file!
September 21, 2017 at 5:40 am #10662Maybe it’s just me, but I never use “Build” and always use “Build and Run”
Me too.
Maybe a vote?
Would be nice, but there is a few people in this topic.
Maybe
- Cmd+B to “Build and run”
 - Ctrl+Shift+B to “Build” ?
 
By the way, I really would prefer if jump to previous/next word was Alt+Cursor instead of Ctrl+Alt+Cursor.
Ok, I did understand – it’s default mojox.TextView behaviour, not ted2go itself.
What’s better here – my own fix by copy-paste or Mark’s fix in mojox?
navigate prev/next is not as useful, and actually seems non functional on Macs right now.
Probably, because of shortcut collision? Navigation position stored when you jump to declaration or click on item in SOURCE list.
Or maybe users could customize their shortcuts editing a .json file!
Will do someday.
September 21, 2017 at 5:57 am #10664Maybe it’s just me, but I never use “Build” and always use “Build and Run”
I use ‘Build’ a lot.
I ‘Build’ the Server for my game, then run it externally.
Then I ‘Build & Run’ the game from inside Ted2Go.So to me, the shortcuts (on Windows) are perfect for building and running.
September 21, 2017 at 6:05 am #10665Also, in ted2go
- Cmd+Shift+R assigned to “Check for errors”.
 - Ctrl+Shift+F – open “Find in files dialog”.
 
And I’m confused in Cmd and Ctrl. I’m not a macos user at all.
September 21, 2017 at 6:59 am #10667The Mac has ALT and CTRL, the CMD button is like our Windows Key.
But the shortcuts are not the same, for example our CTRL + C is CMD + C for them, even thought they have CTRL.
So it seems like CMD is mostly (not always?) used instead of CTRL.I’ve got a few Mac computers, but I’m not familiar enough with them to know what the shortcuts usually are.
I think it would really help if someone could just write up a list of all the Ted2Go keyboard shortcuts and then just fill in what each shortcut should be on Mac.
September 21, 2017 at 9:33 am #10668The Mac has ALT and CTRL, the CMD button is like our Windows Key.
Thanks!
I think it would really help if someone could just write up a list of all the Ted2Go keyboard shortcuts and then just fill in what each shortcut should be on Mac.
Will check.
Seems I found my bad with shortcuts! Please, check out newest dev-branch.
I replaced Ctrl (to be strict – Modifiers.Menu) + Left with Ctrl+A – goto start of line, and Menu+Right with Ctrl+E – goto end of line.
Hope I break nothing else.
September 21, 2017 at 9:54 am #10669All shortcuts (please notify if something was missed):
Monkey123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217--- BUILD -----------------------------------------------#If __TARGET__="macos"buildAndRun.HotKey=Key.RbuildAndRun.HotKeyModifiers=Modifier.Menu#ElsebuildAndRun.HotKey=Key.F5#Endif#If __TARGET__="macos"debugApp.HotKey=Key.DdebugApp.HotKeyModifiers=Modifier.Menu#ElsedebugApp.HotKey=Key.F8#Endif#If __TARGET__="macos"build.HotKey=Key.Bbuild.HotKeyModifiers=Modifier.Menu#Elsebuild.HotKey=Key.F6#Endif#If __TARGET__="macos"semant.HotKey=Key.Rsemant.HotKeyModifiers=Modifier.Menu|Modifier.Shift#Elsesemant.HotKey=Key.F7#EndifnextError=New Action( "Next build error" )nextError.HotKey=Key.F4lockBuildFile.HotKey=Key.LlockBuildFile.HotKeyModifiers=Modifier.MenuupdateModules.HotKey=Key.UupdateModules.HotKeyModifiers=Modifier.Menu_forceStop.HotKey=Key.F5_forceStop.HotKeyModifiers=Modifier.Shift--- EDIT -----------------------------------------------undo.HotKey=Key.Zundo.HotKeyModifiers=Modifier.Menu|Modifier.Ignore#If __TARGET__="macos"redo.HotKey=Key.Zredo.HotKeyModifiers=Modifier.Menu|Modifier.Ignore|Modifier.Shift#Elseredo.HotKey=Key.Yredo.HotKeyModifiers=Modifier.Menu|Modifier.Ignore#Endifcut.HotKey=Key.Xcut.HotKeyModifiers=Modifier.Menu|Modifier.Ignorecopy.HotKey=Key.Ccopy.HotKeyModifiers=Modifier.Menu|Modifier.Ignorepaste.HotKey=Key.Vpaste.HotKeyModifiers=Modifier.Menu|Modifier.IgnoreselectAll.HotKey=Key.AselectAll.HotKeyModifiers=Modifier.Menu|Modifier.IgnorewordWrap.HotKey=Key.ZwordWrap.HotKeyModifiers=Modifier.Alt--- FILE -----------------------------------------------#if __TARGET__="macos"new_.HotKey=Key.Tnew_.HotKeyModifiers=Modifier.Menu#elsenew_.HotKey=Key.Nnew_.HotKeyModifiers=Modifier.Menu#endifopen.HotKey=Key.Oopen.HotKeyModifiers=Modifier.MenuopenProject.HotKey=Key.OopenProject.HotKeyModifiers=Modifier.Menu|Modifier.Shiftclose.HotKey=Key.Wclose.HotKeyModifiers=Modifier.Menusave.HotKey=Key.Ssave.HotKeyModifiers=Modifier.MenusaveAll.HotKey=Key.SsaveAll.HotKeyModifiers=Modifier.Menu|Modifier.Shift#If __TARGET__="windows"quit.HotKey=Key.F4quit.HotKeyModifiers=Modifier.Alt|Modifier.Ignore#Elseif __TARGET__="macos"quit.HotKey=Key.Qquit.HotKeyModifiers=Modifier.Menu|Modifier.Ignore#Elseif __TARGET__="linux"quit.HotKey=Key.F4quit.HotKeyModifiers=Modifier.Alt|Modifier.Ignore#endif#if __TARGET__="macos"prefs.HotKey=Key.Comma#Elseprefs.HotKey=Key.P#Endifprefs.HotKeyModifiers=Modifier.Menu--- FIND -----------------------------------------------find.HotKey=Key.Ffind.HotKeyModifiers=Modifier.MenufindNext.HotKey=Key.F3findPrevious.HotKey=Key.F3findPrevious.HotKeyModifiers=Modifier.Shiftreplace.HotKey=Key.Hreplace.HotKeyModifiers=Modifier.MenufindInFiles.HotKey=Key.FfindInFiles.HotKeyModifiers=Modifier.Menu|Modifier.Shift--- VIEW -----------------------------------------------goBack.HotKey=Key.LeftgoBack.HotKeyModifiers=Modifier.Alt|Modifier.MenugoForward.HotKey=Key.RightgoForward.HotKeyModifiers=Modifier.Alt|Modifier.Menu#If __TARGET__="macos"comment.HotKey=Key.Backslash#Elsecomment.HotKey=Key.Apostrophe#Endifcomment.HotKeyModifiers=Modifier.Menu#If __TARGET__="macos"uncomment.HotKey=Key.Backslash#Elseuncomment.HotKey=Key.Apostrophe#Endifuncomment.HotKeyModifiers=Modifier.Menu|Modifier.ShiftgotoLine.HotKey=Key.GgotoLine.HotKeyModifiers=Modifier.MenugotoDeclaration.HotKey=Key.F12 | Key.F2--- DOCUMENTS -----------------------------------------------nextDocument.HotKey=Key.TabnextDocument.HotKeyModifiers=Modifier.ControlprevDocument.HotKey=Key.TabprevDocument.HotKeyModifiers=Modifier.Control|Modifier.Shift--- HELP -----------------------------------------------quickHelp.HotKey=Key.F1findInHelp.HotKey=Key.F1findInHelp.HotKeyModifiers=Modifier.Control--- Ted2Go.CodeView -----------------------------------------------macosCtrl+Backspace - delete line at cursorGui+Left - goto start of lineGui+Right - goto end of lineGui+Up - goto start of documentGui+Down - goto end of documentGui+Z - undoGui+Shift+Z - redowindowsCtrl+E - delete line at cursorCtrl+Home - goto start of documentbothCtrl+Insert - copy selectedShift+Insert - paste from clipboardShift+Delete - cut selectedTab - shift selected leftShift+Tab - shift selected right (untab)Ctrl+Space - show completion listInsert - switch overwrite text mode--- mojox.TextView -----------------------------------------------macosCtrl+A - goto start of lineCtrl+E - goto end of lineHome - goto start of documentEnd - goto end of documentwindowsCtrl+Home - goto start of documentCtrl+End - goto end of documentbothGui(on mac)|Ctrl(on win)Gui|Ctrl+A - select all,Gui|Ctrl+X,C,V - cut, copy, pasteGui|Ctrl+Z,Y - undo, redoGui|Ctrl+Left - goto previous wordGui|Ctrl+Right - goto next wordTab, Shift+Tab - indentationPageUp, PageDown - scroll documentSeptember 26, 2017 at 6:33 am #10812Ok, I done some fixes and improvements in v2.6:
- Menus and hints now fitted into window bounds.
 - Replaced all TextField with TextFieldExt and made it cursor blinked-beam.
 - Hide completion list by Home / End keys.
 - Lock build file by double-click on tab.
 - Add custom style for locked tab.
 - Fixed endless loop in “Find previous” logic when there is only one result exists.
 - Kills app being debugged before building.
 - Fixed code map – clicking outside of content height have no effect now.
 - Added item “Goto declaration” into editor menu. Also fixed mouse right-click behaviour.
 - Save all opened files when updating modules.
 - Fixed crash on app closing if you close it quickly after start.
 - Improved store / restore docs sizes.
 - Show hints by timer – not immediately.
 - Find / Replace panel – added switcher to replace mode (“R”-button).
 - Macos – changed hotkey for Replace action to Alt+Cmd+F.
 
You can download binaries for macos and windows at https://nerobot.itch.io/ted2go
Big thanks for all supporters. (Hi, Leo!
)
For themes creators – new in styles:
- colors: { “textview-extra-selection”:”#5555″ }
 - styles: { “FindReplaceView”, “TabsDropArea”, “TabButtonLocked” }
 
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.
		
		
	