Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

feature: Support generatesMetadataFilesAtProjectRoot #53

Description

@jvalkeal

Did you check the docs?

  • I have read all the docs

Is your feature request related to a problem? Please describe.

Project metadata should not be generated inside a project.

redhat-developer/vscode-java#618
https://devblogs.microsoft.com/java/say-goodbye-to-project-files-in-1-1-0/

Describe the solution you'd like

jdtls has an option which can be passed by using -Djava.import.generatesMetadataFilesAtProjectRoot=false. This is the default i.e. vscode uses thought they provide an option so that user can change it.

Describe alternatives you've considered

Think there's none unless you somehow try to override whole command launching jdtls.

Additional context

No response

Activity

  1. s1n7ax commented on Dec 20, 2023

    @s1n7ax
    Member

    @jvalkeal I will do a research and make it default. Changing cmd arguments are not possible. Do you think taking cmd arguments through require 'java'.setup() should be implemented? or allow functions in the setup configuration and let the user handle them if a function is passed?

  2. self-assigned this
    on Dec 20, 2023
  3. added this to the v2.0.0 milestone on Dec 20, 2023
  4. jvalkeal commented on Dec 20, 2023

    @jvalkeal
    Author

    I don't think user should ever have full control of the command. One other thing which is absolutely something user need to controls is:

    Default memory setting is fine for simple projects but will need to be changed with larger projects. ldtls in vscode quite often crashes and then it will propose to change memory settings. It'd be nice to have a generic way to modify some settings from a main config.

  5. jvalkeal commented on Dec 22, 2023

    @jvalkeal
    Author

    I was looking to just PR this little change but realised that obviously it needs to go in with #54. Once metadata moves out from a project directory into a shared workspace directory, that workspace needs to be unique as .metadata dir will get mixed up.

  6. assigned and unassigned on Dec 22, 2023
  7. moved this to In Progress in Java for Neovimon Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions