Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Automatically refresh file?
Automatically refresh file? [message #1219980] Sat, 07 December 2013 22:15 Go to next message
Arnstein Kleven is currently offline Arnstein KlevenFriend
Messages: 5
Registered: December 2013
Junior Member
I downloaded Eclipse with the Android SDK, and want to make an Android app. But I found Eclipse extremely hard to use, so I decided to do the actual coding in Vim instead. But I am thinking of having Eclipse open(at least in the beginning, since the intro guide uses it) even though I write in Vim. Every time I alt-tab to Eclipse it says "The file has been changed on the file system. Do you want to replace the editor contents with these changes?" and of course I want that, but is there a way to get this to be done automatically? I don't want to press yes every time I alt-tab.
Re: Automatically refresh file? [message #1220018 is a reply to message #1219980] Mon, 09 December 2013 08:14 Go to previous messageGo to next message
Arnstein Kleven is currently offline Arnstein KlevenFriend
Messages: 5
Registered: December 2013
Junior Member
Anyone?
Re: Automatically refresh file? [message #1220047 is a reply to message #1219980] Mon, 09 December 2013 10:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Window->Preferences->General->Workspace and checking "Refresh using
native hooks or polling" will likely help. It's hard to imagine that
Eclipse's JDT support wouldn't be awfully helpful for writing Java
code. I personally use http://www.viplugin.com/index.htm to make
Eclipse comfortably like a vi editor...


On 08/12/2013 12:57 AM, Arnstein Kleven wrote:
> I downloaded Eclipse with the Android SDK, and want to make an Android
> app. But I found Eclipse extremely hard to use, so I decided to do the
> actual coding in Vim instead. But I am thinking of having Eclipse
> open(at least in the beginning, since the intro guide uses it) even
> though I write in Vim. Every time I alt-tab to Eclipse it says "The
> file has been changed on the file system. Do you want to replace the
> editor contents with these changes?" and of course I want that, but is
> there a way to get this to be done automatically? I don't want to
> press yes every time I alt-tab.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Automatically refresh file? [message #1220096 is a reply to message #1219980] Mon, 09 December 2013 16:10 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 12/7/2013 4:57 PM, Arnstein Kleven wrote:
> I downloaded Eclipse with the Android SDK, and want to make an Android
> app. But I found Eclipse extremely hard to use, so I decided to do the
> actual coding in Vim instead. But I am thinking of having Eclipse
> open(at least in the beginning, since the intro guide uses it) even
> though I write in Vim. Every time I alt-tab to Eclipse it says "The file
> has been changed on the file system. Do you want to replace the editor
> contents with these changes?" and of course I want that, but is there a
> way to get this to be done automatically? I don't want to press yes
> every time I alt-tab.

I use vim externally too because though I've paid a couple of times for
viplugin over the years, it only imparts a very cosmetic vi orientation
to the Eclipse editor.

I've used vi then vim for over 30 years now. It's very hard to give up
the power for the "beginners" editors offered by Eclipse, VS, and other
IDEs I've tried out over the years.

I once tried eclim (eclim.org) and it overcame most of the problems the
viplugin doesn't begin to touch, but it does make you jump through hoops
for the equivalent of Eclipse Content Assist. And it sort of takes over
Eclipse a bit too much for my taste.

I personally continue to use vim for serious, heavy editing where I want
to be in control, don't want my wings clipped by the Eclipse editor and
I don't need Content Assist. I switch back to Eclipse when I do want
help that way. (I'm lame: I should investigate sharpening the saw, but
I've got lots of screen real estate to burn and I've spent years
juggling things this way.)

Check out eclim.org; it may be a good solution for you.
Re: Automatically refresh file? [message #1220172 is a reply to message #1220096] Tue, 10 December 2013 08:34 Go to previous message
Arnstein Kleven is currently offline Arnstein KlevenFriend
Messages: 5
Registered: December 2013
Junior Member
Thanks to both of you, will check out both of your suggestions Smile
Previous Topic:How are we supposed to search in Eclipse Community Forums?
Next Topic:Application "org.eclipse.ui.ide.workbench" could not be found in the registry.
Goto Forum:
  


Current Time: Thu Apr 25 11:21:17 GMT 2024

Powered by FUDForum. Page generated in 0.11514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top