Forum Replies Created
-
AuthorPosts
-
To catch crash you can build&run ted2go in debug mode from ted2go, and use running version for your usual coding.
This means you can in fact do a little hack with stacks where you can set elements directly
Hm, very interesting!
Ok, 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” }
Nice work!
Cool!
I don’t create games yet. Apps only.
All 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 documentThe 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.
Also, 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.
Maybe 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.
Very nice!
What 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.
Hmm 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:
Thanks. Will fix codemap issue and replace shortcut.
Maybe “Jump to definition” and stuff like that should be under the right click menu too?
Yes. Will add.
I guess the only thing right now that needs some polish is the CodeMap
More info, please.
-
AuthorPosts
