GrandOrgue code and IDEs #771
Replies: 10 comments 19 replies
-
Because creating a project for IDE is not quite simple and may cause errors I prefer to include projects for different IDEs to the source tree. Personally I work with GO on different computers and keeping netbeans project in the repo solves the problem of synchronisation. |
Beta Was this translation helpful? Give feedback.
-
Personal files are in the netbeans/private subdirectory and they are ignored by git. Everyone can open the progect in his own environment without any problems. Netbeans does not have any special 'export' feature because the same project can be opened by other people in every personal environment. |
Beta Was this translation helpful? Give feedback.
-
It does not prevent using this project files by anyone in any other directory path.
Netbeans calculates relative pathes from absolute paths of the files and the project root folder. Futher it uses only the relative paths and ignores the absolute paths at all. I agree that does not look very nice, but it is still working. I've made a context replacement of
Unfortunally most of IDEs require the predefined directory structure beyong the root project directory and will not work from
|
Beta Was this translation helpful? Give feedback.
-
Personally, I'd prefer to not include specific development environment stuffs in project. As some maybe want to have their specific configuration. In all the projects I've involved in, it's more common to have entries in .gitignore like : .vscode/ Constraining external tools in the project is generally a bad idea. |
Beta Was this translation helpful? Give feedback.
-
@larspalo I've just tested using my netbeans project in a fresh Ubuntu 18.04 by I wasn't able to do it with netbeans 10, but I was able to do it with netbeans 12.5. Steps to reproduce:
|
Beta Was this translation helpful? Give feedback.
-
If you have installed C/C++ plugin in nb 10, it does not work in nb 12. You should to uninstall this plugin with nb 10, then run nb 12.5 and install it again. It's better to clear ~/.netbeans directory before start using nb12 otherwise some artifacts from 10 may prevent C/C++ to work with 12.5 |
Beta Was this translation helpful? Give feedback.
-
I managed to move the netbeans project files from the root directory to the Please take a look at https://github.com/oleg68/GrandOrgue-oficial/tree/feature/move-netbeans . If it is OK, I will create a PR. Maybe eclipse also allows to do such trick? |
Beta Was this translation helpful? Give feedback.
-
We are already doing this, arent't we?
Because netbeans requires the subdirectory named We could create a single project directory for all IDEs But disadvantages:
I thought that the directory name
I prefer to have ready-to use solutions than templates requiring manual steps before using them. You can just open the project
Yes, exactly. |
Beta Was this translation helpful? Give feedback.
-
@larspalo So
Where might we put the howto-guides for using certain ides (like I posted above about netbeans)? To IDEs.md in the root directory? Or to
If we do not use it, it is difficult to make a well working project config. So l suggest to let to a new developer that is using codeblocks to do it. |
Beta Was this translation helpful? Give feedback.
-
I added #773 |
Beta Was this translation helpful? Give feedback.
-
Currently the GO source code contain a /nbproject folder that's not essential to the GO source. In the .gitignore file only /nbproject/private is listed thus making any changes done in the /nbproject under version control. This is highly undesirable, I think. Personally I mostly use a simple text editor for coding, but perhaps we need to adopt a strategy that's suitable to different developers taste in IDEs and their different project files.
I suggest we remove the /nbproject folder and it's content from GrandOrgue source code. Next we agree upon a way in which developers should have their project files separate from the source code, and possibly add some entries to .gitignore that will cover all needed cases.
Beta Was this translation helpful? Give feedback.
All reactions