Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure jdtls not to automatically generate .gradle .project .settings files #3367

Open
zaiqiang-dong opened this issue Jan 23, 2025 · 0 comments

Comments

@zaiqiang-dong
Copy link

zaiqiang-dong commented Jan 23, 2025

Configure jdtls not to automatically generate .gradle .project .settings files

In my code dir, when i open a java code file, will auto generate .gradle .project .settings , how to config to diable this function and not automatically generate .gradle .project .settings files

my config

require("lspconfig").jdtls.setup({
	settings = {
		java = {
			implementationsCodeLens = { enabled = true },
			import = { -- <- this
				generatesMetadataFilesAtProjectRoot = false,
				gradle = {
					enabled = true,
					wrapper = {
						enabled = true,
					},
				},
			},
		},
	},
	init_options = {},
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant