tag:blogger.com,1999:blog-3283609923804350642.post260200141859763720..comments2023-06-05T23:03:15.094-07:00Comments on Tor Norbye's Blog: AndroidTor Norbyehttp://www.blogger.com/profile/00746799716822637466noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-3283609923804350642.post-74115877253985006842010-10-24T21:55:30.503-07:002010-10-24T21:55:30.503-07:00@Tor,
For issue (2) selecting a symbol and navi...@Tor,<br /> For issue (2) selecting a symbol and navigating between the occurances, you can use the Next/Prev annotation. By default only Errors & Warnings are selected, but you can add Occurances to it (the options are available via the pulldown menu in the toolbar)Prakash G.R.https://www.blogger.com/profile/13046268367318873066noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-13503204009822670322010-10-22T12:47:34.511-07:002010-10-22T12:47:34.511-07:00@Paul: Thanks. This is really useful.@Paul: Thanks. This is really useful.Lars Vogelhttps://www.blogger.com/profile/15780848976283335301noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-56985506275204925042010-10-22T07:59:11.826-07:002010-10-22T07:59:11.826-07:00Everyone, thank you very, very much!
With all y...Everyone, thank you very, very much! <br /><br />With all your suggestions I'm now much more productive. I haven't had a chance to try Paul's plugin yet, which sounds like exactly what I want (well, it would be even better if it would also work on diff views, e.g. Go To Next Difference when I'm in a diff view, but I'm starting to get used to using a different keybinding for that iteration). I'll try the plugin today.<br /><br />Anyway, thanks again! I'll go and file some request-for-enhancement on a couple of minor issues. For example - thank you for the tip about the lightbulb error appearing in the status bar - I hadn't noticed that because it only happens if the cursor is -inside- the underlined region, it doesn't happen if the caret is anywhere on the line as I was used to from NetBeans. etc. <br /><br />Scott, thanks for not only investigating that <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=328396" rel="nofollow">SWT issue</a>, but beating me to filing a bug and even fixing it with both Windows and Mac patches within a day!Tor Norbyehttps://www.blogger.com/profile/00746799716822637466noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-4042056036644740272010-10-22T05:10:33.118-07:002010-10-22T05:10:33.118-07:00@Lars: sure, the plugin is attached to https://bug...@Lars: sure, the plugin is attached to https://bugs.eclipse.org/bugs/show_bug.cgi?id=328460paulweb515https://www.blogger.com/profile/13481600474889179891noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-34539351343472144772010-10-21T10:50:27.428-07:002010-10-21T10:50:27.428-07:00I answered your question about the mouse down/drag...I answered your question about the mouse down/drag listener problem on stackoverflow.com, but the short version is that it's a bug without a workaround. If you file a bug I'll attach my patch to it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-57252815756272789032010-10-21T10:40:57.764-07:002010-10-21T10:40:57.764-07:00@Paul: I like to get your plugin for navigating th...@Paul: I like to get your plugin for navigating the search results.Lars Vogelhttps://www.blogger.com/profile/15780848976283335301noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-40458368113372882752010-10-21T08:35:38.589-07:002010-10-21T08:35:38.589-07:00For navigating my search results from anywhere, I ...For navigating my search results from anywhere, I use my own little plugin. ALT+. and ALT+, will move to the next search result and activate that editor. I can make it available (it's trivial) if anybody is interested.<br /><br />Also, within the editor you can add "Occurrences" to the list of things that CTRL+. and CTRL+, navigate through. Either in the preferences, or by using the dropdown menu from the NextAnnotation/PreviousAnnotation toolbar items.<br /><br /><br />PWpaulweb515https://www.blogger.com/profile/13481600474889179891noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-49616588573150275172010-10-20T03:16:45.347-07:002010-10-20T03:16:45.347-07:00Hi Tor,
welcome to the Eclipse community! We are ...Hi Tor,<br /><br />welcome to the Eclipse community! We are happy that you are joining us. :-)<br /><br />I'm not sure if I get your first question right, but you can use Ctrl+J to have an incremental text search. If you press Ctrl+J it brings you to the next occurance.<br /><br />Light bulb: As Ian said F2 should work. <br /><br />Egit (team provider) is currenlty under heavy development and they are actively reacting to bug reports. This link should allow you to open a bug if you are not happy with EGit: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EGit <br /><br />A intro to EGit can be found here: http://www.vogella.de/articles/EGit/article.html<br /><br />I also would prefer if Alt+Shift+R would select the full text. This might be personal preference. <br /><br />You find my personal main important shortcuts here: http://www.vogella.de/articles/EclipseShortcuts/article.html<br /><br />For example Cntr+Q is pretty useful (Goes to the last edited position in the editor). <br /><br />In case you need some material to get started with Eclipse Plugin development I hope these links might be helpful: <br /><br />http://www.vogella.de/articles/EclipseRCP/article.html<br />http://www.vogella.de/articles/EclipsePlugIn/article.html<br /><br />Again, welcome in the Eclipse community. :-)Lars Vogelhttps://www.blogger.com/profile/15780848976283335301noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-53503441515549578682010-10-19T19:05:38.796-07:002010-10-19T19:05:38.796-07:00Re: lightbulb. This tells you that a 'quick f...Re: lightbulb. This tells you that a 'quick fix' is possible. Often this comes with a warning / error. <br /><br />If you put your cursor on the line, the status bar will tell you the error / warning. You can also press F2 to see it in a text box. <br /><br />As you mentioned, you can press Ctrl+1 to get the quickfix options.<br /><br />As for the other things, if they turn out to be missing features, please feel free to file bugs / feature requests (bugs.eclipse.org).<br /><br />HTH<br />IanIan Bullhttps://www.blogger.com/profile/02668098567506210626noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-75667911075393714062010-10-19T18:21:47.905-07:002010-10-19T18:21:47.905-07:00If you say something funny about egit on twitter a...If you say something funny about egit on twitter and @caniszczyk, I'm sure you will get a reply.Eric Cloningerhttps://www.blogger.com/profile/15257382372052085633noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-77780702950070615032010-10-19T17:43:05.681-07:002010-10-19T17:43:05.681-07:00You might try asking these questions in the Eclips...You might try asking these questions in the Eclipse forums http://www.eclipse.org/forums/<br /><br />The newcomer and swt forums would be ideal.<br /><br />I will also try to point people at your blog.<br /><br />Congrats on the new gig at Google.Ian Skerretthttps://www.blogger.com/profile/17602295352818028160noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-16557235973015350562010-10-18T11:29:25.243-07:002010-10-18T11:29:25.243-07:00Congratulations Tor .. awesome news.Congratulations Tor .. awesome news.Adrianohttps://www.blogger.com/profile/15156405220293815117noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-23243816151070056842010-10-18T10:23:17.777-07:002010-10-18T10:23:17.777-07:00A really good site for Eclipse tips is http://ecli...A really good site for Eclipse tips is http://eclipseone.wordpress.com/ He has all sorts of little shortcuts and keyboard help that even after using Eclipse for years I didn't know about.MattGrommeshttps://www.blogger.com/profile/16898610705335836595noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-5622587210785088672010-10-18T06:11:14.242-07:002010-10-18T06:11:14.242-07:00Another approach to rename is to double-click to s...Another approach to rename is to double-click to select the symbol you want to rename and then trigger the rename function.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-69237789877604807912010-10-18T05:12:14.307-07:002010-10-18T05:12:14.307-07:00Awesome news!
As a long, long time Javaposse list...Awesome news!<br /><br />As a long, long time Javaposse listener I'm very happy to get another very skilled coder to work with Android. I don't know what you're going to be doing in Google but I really hope you would be working improving the tooling. Android really needs it.<br /><br />Best of luck in your new job!Juhanihttps://www.blogger.com/profile/07819792599905242968noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-53691492666595238852010-10-17T06:52:52.156-07:002010-10-17T06:52:52.156-07:00I've always found the Synchronize View to be o...I've always found the Synchronize View to be one of the best version control features I've used. So I suggest that one for sure. One of the times I use the mouse is to select team -> Synchronize.<br /><br />Also there is a command for the search for current symbol.<br /><br />Command is: Search All Occurrences in File<br />No shortcut was mapped by default.<br />I added shortcut (Window->Preferences->General->Keys, Searched for it, added a keyboard short cut for it (look out for conflicts). I set the context to Java Editor. Then Ctrl . and , work to move between them.Anonymoushttps://www.blogger.com/profile/05544381473566297307noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-79063915508708855452010-10-16T12:57:36.772-07:002010-10-16T12:57:36.772-07:00to do what you want with renaming, you can hit cmd...to do what you want with renaming, you can hit cmd-option-r to do the instant rename, then hit it again to get a modal dialog with the full text selected.Unknownhttps://www.blogger.com/profile/07932471321797790897noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-25684665194571589452010-10-15T20:28:59.966-07:002010-10-15T20:28:59.966-07:00I'm just guessing, but isn't there a synch...I'm just guessing, but isn't there a synchronize view/perspective for viewing all incoming/outgoing changes with egit? I'd be surprised if there wasn't...sundoghttps://www.blogger.com/profile/07992544959392470882noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-85318044261972635972010-10-15T19:45:36.733-07:002010-10-15T19:45:36.733-07:00I'm in the same boat, switching from Netbeans ...I'm in the same boat, switching from Netbeans to Eclipse after a job change. For the version control view maybe you'll see a git option in General>Editors>Text Editors>Quick Diff? I have a couple for Perforce.Brian Hhttps://www.blogger.com/profile/05418445401722333726noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-59209490844710902812010-10-15T13:21:30.731-07:002010-10-15T13:21:30.731-07:00Nooooo!Nooooo!Robert "kebernet" Cooperhttps://www.blogger.com/profile/03336622901079453553noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-83287150893874968412010-10-15T12:55:32.505-07:002010-10-15T12:55:32.505-07:00Eclipse is ok - though I switched to Netbeans from...Eclipse is ok - though I switched to Netbeans from Eclipse about a year ago and never want to go back. Too bad the (really awesome) tooling from Google is all about eclipse.<br />A big "thank you" for your contributions to Netbeans and all the OpenSource projects in the past which make my life so much better!<br />I wonder what the Android future will be :)<br /><br />PS: Must be quite a trip to change the stack - I never liked git compared to hg. If you can make it, I will have a second look.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-48270324243171590852010-10-15T11:28:51.380-07:002010-10-15T11:28:51.380-07:00Hi. I'm reading your post and I'm new to E...Hi. I'm reading your post and I'm new to Eclipse too (because Android). I find this and I hope this really help you:<br /><br />http://hamletdarcy.blogspot.com/2010/10/eclipse-keyboard-shortcut-wallpaper.html<br /><br />Is not beautiful, but it's useful.<br /><br />Cheers.Demonhttps://www.blogger.com/profile/07309179235032387842noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-53104203458689386052010-10-15T11:26:19.161-07:002010-10-15T11:26:19.161-07:00Yep, I'm using that one. It's pretty decen...Yep, I'm using that one. It's pretty decent - but it doesn't (as far as I can tell) have a "status view" which was the primary view for all version control systems in NetBeans -- cvs, subversion, mercurial, git. Egit does however have a Diff view so I can view the diffs, but I also haven't found a way to have it diff all the files I've changed in one go - I seem to have to go and open each one. I'm hoping I've just missed something and that the functionality is there...Tor Norbyehttps://www.blogger.com/profile/00746799716822637466noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-52797096247128683992010-10-15T11:17:18.945-07:002010-10-15T11:17:18.945-07:00The only git plugin I have heard of for Eclipse is...The only git plugin I have heard of for Eclipse is egit. I can't testify to how good/bad it is.Anonymousnoreply@blogger.com