|
|
Re: declare git repository as a photran project [message #1730080 is a reply to message #1730003] |
Thu, 21 April 2016 10:00 |
Simon Unterstraßer Messages: 3 Registered: April 2016 |
Junior Member |
|
|
Hi Eric
seems like you have to declare the repository as photran project during the import.
But how can I do this? I tested many ways.
The most promising I found:
1. ) I make a local clone of the GitLab repository into subfolder A.
2.) I create a fortran project in subfolder B.
Following
https://wiki.eclipse.org/EGit/User_Guide/Getting_Started
3.) right-click on the fortran project name, select "Team -> Git -> ..."
I was succesful to associate the project with the repository.
Eclipse even moves subfolder B into subfolder A.
If I use the Git perspective, the repository and all its files are shown in the "Git Repositories Views". In this perspective the refactoring tools are not available.
When I switch to the Fortran perspective, the view "Project Explorer" contains the project B (it also indicates that it is linked to a repository). While the button "refactor" exists now, no source files are listed in this view. I tried "Customize View", but I cannot select *.F90 in this dialog box. It rather appears like the file extensions are related to C.
Related to this: Why are .h includes listed within this project? Project B is clearly a fortran project, not a C project!
Thanks for any hints,
Simon
p.s.: I am using Kepler version with Egit 4.3
[Updated on: Thu, 21 April 2016 10:08] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08550 seconds