Home » Eclipse Projects » EGit / JGit » Eclipse editor features stop working(eclipse editor features stop working in egit repository related project)
Eclipse editor features stop working [message #891755] |
Mon, 25 June 2012 19:25 |
Gloria Muse Messages: 5 Registered: June 2012 |
Junior Member |
|
|
After installing the egit plugin, and loading my git repository, the eclipse features: syntax error highlighting, auto-complete, and class loading? (showing the details for a function located in a different file, and ability to "Open Declaration") have stopped working. These issues exist while editing PHP files, (debug is happening external to eclipse at this time).
These functions still work in other eclipse "projects" within the same workspace, as long as they are not linked into egit. These functions have only stopped working within the egit related project.
This makes eclipse useless ... I might as well be using Notepad or TextEdit instead.
System:
- MacOS X Lion version 10.7.3
- Version: Helios Release - Build id: 20100617-1415 (Fresh download and install yesterday _ June 24)
- Eclipse EGit 1.3.0.201202151440-r org.eclipse.egit.feature.group
- Eclipse JGit 1.3.0.201202151440-r org.eclipse.jgit.feature.group
- EGit Project Set Support 1.3.0.201202151440-r org.eclipse.egit.psf.feature.group
- Eclipse IDE for PHP Developers 1.3.0.20100617-0520 epp.package.php
- Eclipse Platform 3.6.0.I20100608-0911 org.eclipse.platform.ide
- EPP PHP Feature 1.3.0.20100617-0520 org.eclipse.epp.package.php.feature.feature.group
I also tried copying the folder containing all the code files into a new folder, deleting the files/folders named: .git, .gitignore, and .project, then importing as a new PHP Project "General -> File System", but the eclipse features are not working here either, but they are working in an older version of the code I imported earlier.
I've also attempted the "-clean" option on eclipse startup.
Really confused. Please help. Has anyone else had similar experience?
Is this a true "Bug" that I should report as such?
G
|
|
| |
Re: Eclipse editor features stop working [message #892353 is a reply to message #891812] |
Wed, 27 June 2012 20:47 |
Gloria Muse Messages: 5 Registered: June 2012 |
Junior Member |
|
|
Hi Stefan,
Thanks for suggesting an action.
I'm somewhat new to eclipse, been using it for a few months, without much incident (just an occasional "out of sync with file system" which I hoped moving the git repository clone into egit would resolve). So, I found the error log view, and there are a few messages, but I cannot be certain if they are related to egit or not. Maybe you can decipher, so the error log export is attached.
The attached error log is from my older version of eclipse. Trying to avoid making my newer version any more messed up than it already is. Same issues in both versions.
Eclipse EGit 1.3.0.201202151440-r org.eclipse.egit.feature.group
Eclipse JGit 1.3.0.201202151440-r org.eclipse.jgit.feature.group
EGit Project Set Support 1.3.0.201202151440-r org.eclipse.egit.psf.feature.group
Eclipse IDE for PHP Developers 1.2.2.20100216-1730 epp.package.php
Eclipse Platform 3.5.2.M20100211-1343 org.eclipse.platform.ide
EPP PHP Feature 1.2.2.20100216-1730 org.eclipse.epp.package.php.feature.feature.group
Disconnect is omitted from the list under Team. There is only "apply patch" and "share project". Instead I tried "remove from repository view". After this the missing functions are working again. But this defeats the purpose of having egit installed, doesn't it?
Note: In my newer version of eclipse (version listed in original post - but egit has been uninstalled), I'm now getting "Processing Dirty Regions" error messages, but only on a few of the files opened in the php editor, and not always. So, I'm now wishing I'd never tried to install egit and clone the repository into eclipse.
Your help is greatly appreciated.
G
|
|
| |
Re: Eclipse editor features stop working [message #892594 is a reply to message #892433] |
Thu, 28 June 2012 16:43 |
Gloria Muse Messages: 5 Registered: June 2012 |
Junior Member |
|
|
Hi Stefan,
Here's the steps that resulted in the php editor functionality to stop working (to summarize the editor issues: no longer highlighted syntax errors; no longer showed details of a method call when the method is in an external file, including inability to "show declaration"; and auto-completion.
1) eclipse was installed in early feburary
2) in eclipse: File->New->New PHP Project
- imported code stored in my local file system that was obtained from git repository via SourceTree
3) worked fine for several months
4) in eclipse: File->New->New PHP Project
- created a new project to hold some temporary files and as a place to test snippets of code
5) installed egit, never used it (uncertain but probably around the April timeframe)
6) in eclipse: File->Import->CVS->git
- provided information for our team's new git repository
- cloned the code into a new folder
*** This is the point at which the issues started happening.
7) downloaded and enabled the latest stable version of eclipse
in eclipse: Help->Install New Software
- entered the egit repository url, and installed
9) did step 5 above, with the same results
After this, I attempted several things, the order I am now uncertain of, and included:
- from repositories view: delete repository (which I think deleted the files within the file system, even though the check box was marked to not do this)
- uninstalled egit
- cloned the new repository using SourceTree and brought it into eclipse for editing using File->New->New PHP Project->General->FileSystem
And, most recently, to try what you suggested regarding "Disconnect", I reloaded the git repository folder. This is where I was unable to locate "Disconnect" as an option. I cannot say if it was there previously or not.
When doing a File->New->Project->CVS->git it seems that the project should already be considered as shared. After doing this, is sharing something I must also do?
My reason for wanting to use egit is that when updated files were pulled using SourceTree, eclipse often complained about "Out of date with File System, click Refresh", and sometimes the "Refresh" was grayed out, and other times I'd still get the out of date message after clicking Refresh.
I'm thinking of starting over with my original download of eclipse (had fewer problems), and give up on using egit. The newer eclipse version is giving me intermittent errors: "Processing Dirty Regions".
I'll also ask in the PHP forum, as you suggest, although due to a coding deadline, it may be a few days.
Thanks so much for your assistance,
G
ps. Our team is small, and I'm the only one using eclipse as my editor. I'd like to have something working to have a compelling argument for them to join me.
|
|
| | | |
Goto Forum:
Current Time: Wed Sep 25 05:38:53 GMT 2024
Powered by FUDForum. Page generated in 0.05648 seconds
|