intellij-lsp
intellij-lsp copied to clipboard
The `lsp` directory is created in every single project that I open with IDEA with this plugin installed
It means that if I want to use this plugin and work with other people, I have to add it to .gitignore of every single project, which is not optimal.
Related issues: #93 and #78
And the fun thing is, log files get created, but are empty.
The next release will put the lsp folder into the .idea one, which should already be in the .gitignore in the majority of the cases.
Regarding the empty logs, if there are no errors, the error logs are empty obviously, and if the output logging is disabled in the settings, the output files will also be empty. I could not create them in this case for sure.
which should already be in the .gitignore in the majority of the cases.
This is not true at all. I don't have a single project where the whole .idea directory is in .gitignore. Some volatile and user-specific parts of it - yes. The rest is tracked by Git.
IMO a more proper solution would be to not store anything, unless requested by an explicit change in the project-specific configuration.
An excerpt from the How to manage projects under Version Control Systems page (from the official IDEA support):
Here is what you need to share:
- All the files under the .idea directory in the project root except the workspace.xml, usage.statistics.xml, and tasks.xml files and the shelf directory which store user-specific settings
- All the .iml module files that can be located in different module directories (applies to IntelliJ IDEA)