mirror of https://github.com/sgoudham/dotfiles.git
feat(nvim): add a lot of stuff & get java lsp working!
Shout-out to this blog https://sookocheff.com/post/vim/neovim-java-ide/chezmoi
parent
1a68968684
commit
644ecec11e
@ -0,0 +1,2 @@
|
|||||||
|
local config = require("lsp.java").make_jdtls_config()
|
||||||
|
require("jdtls").start_or_attach(config)
|
@ -0,0 +1,54 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.default_config = {
|
||||||
|
on_attach = function(client, bufnr)
|
||||||
|
require("lsp-format").on_attach(client)
|
||||||
|
|
||||||
|
-- add lsp-only keybinds
|
||||||
|
local map = function(sequence, cmd, desc)
|
||||||
|
vim.keymap.set("n", sequence, cmd, { buffer = bufnr, desc = desc })
|
||||||
|
end
|
||||||
|
|
||||||
|
map("K", vim.lsp.buf.hover, "Hover")
|
||||||
|
map("]d", vim.diagnostic.goto_next, "Next diagnostic")
|
||||||
|
map("[d", vim.diagnostic.goto_prev, "Previous diagnostic")
|
||||||
|
|
||||||
|
map("gs", vim.lsp.buf.signature_help, "LSP Signature Help")
|
||||||
|
map("gD", vim.lsp.buf.declaration, "LSP Declarations")
|
||||||
|
map("gd", function()
|
||||||
|
require("telescope.builtin").lsp_definitions()
|
||||||
|
end, "LSP Definitions")
|
||||||
|
map("gT", function()
|
||||||
|
require("telescope.builtin").lsp_type_definitions()
|
||||||
|
end, "LSP Type Definitions")
|
||||||
|
map("gr", function()
|
||||||
|
require("telescope.builtin").lsp_references()
|
||||||
|
end, "LSP References")
|
||||||
|
map("gI", function()
|
||||||
|
require("telescope.builtin").lsp_implementations()
|
||||||
|
end, "LSP Implementations")
|
||||||
|
map("gl", function()
|
||||||
|
vim.diagnostic.open_float(0, {
|
||||||
|
scope = "line",
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
|
||||||
|
map("<leader>la", vim.lsp.buf.code_action, "Code Action")
|
||||||
|
map("<leader>lr", vim.lsp.buf.rename, "Rename")
|
||||||
|
map("<leader>lf", vim.lsp.buf.format, "Format")
|
||||||
|
map("<leader>ld", function()
|
||||||
|
require("telescope.builtin").diagnostics()
|
||||||
|
end, "LSP Workplace Diagnostics")
|
||||||
|
map("<leader>lD", function()
|
||||||
|
require("telescope.builtin").diagnostics({ bufnr = 0 })
|
||||||
|
end, "LSP Buffer Diagnostics")
|
||||||
|
map("<leader>ls", function()
|
||||||
|
require("telescope.builtin").lsp_document_symbols()
|
||||||
|
end, "LSP Document Symbols")
|
||||||
|
map("<leader>lS", function()
|
||||||
|
require("telescope.builtin").lsp_workspace_symbols()
|
||||||
|
end, "LSP Workplace Symbols")
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
|
return M
|
@ -0,0 +1,190 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
local HOME = os.getenv("HOME")
|
||||||
|
local SDKMAN_DIR = os.getenv("SDKMAN_DIR")
|
||||||
|
local lsp = require("lsp")
|
||||||
|
local jdtls = require("jdtls")
|
||||||
|
|
||||||
|
-- File types that signify a Java project's root directory. This will be
|
||||||
|
-- used by eclipse to determine what constitutes a workspace
|
||||||
|
local root_markers = { "gradlew", "mvnw", ".git" }
|
||||||
|
local root_dir = require("jdtls.setup").find_root(root_markers)
|
||||||
|
|
||||||
|
-- eclipse.jdt.ls stores project specific data within a folder. If you are working
|
||||||
|
-- with multiple different projects, each project must use a dedicated data directory.
|
||||||
|
-- This variable is used to configure eclipse to use the directory name of the
|
||||||
|
-- current project found using the root_marker as the folder for project specific data.
|
||||||
|
local workspace_folder = HOME .. "/.local/share/eclipse/" .. vim.fn.fnamemodify(root_dir, ":p:h:t")
|
||||||
|
|
||||||
|
-- Helper function for creating keymaps
|
||||||
|
function nnoremap(rhs, lhs, bufopts, desc)
|
||||||
|
bufopts.desc = desc
|
||||||
|
vim.keymap.set("n", rhs, lhs, bufopts)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- The on_attach function is used to set key maps after the language server
|
||||||
|
-- attaches to the current buffer
|
||||||
|
local on_attach = function(client, bufnr)
|
||||||
|
lsp.default_config.on_attach(client, bufnr)
|
||||||
|
|
||||||
|
-- Regular Neovim LSP client keymappings
|
||||||
|
local bufopts = { noremap = true, silent = true, buffer = bufnr }
|
||||||
|
nnoremap("<leader>lwa", vim.lsp.buf.add_workspace_folder, bufopts, "Add workspace folder")
|
||||||
|
nnoremap("<leader>lwr", vim.lsp.buf.remove_workspace_folder, bufopts, "Remove workspace folder")
|
||||||
|
nnoremap("<leader>lwl", function()
|
||||||
|
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
|
||||||
|
end, bufopts, "List workspace folders")
|
||||||
|
|
||||||
|
-- Java extensions provided by jdtls
|
||||||
|
nnoremap("<leader>lo", jdtls.organize_imports, bufopts, "Organize imports")
|
||||||
|
nnoremap("<leader>le", jdtls.extract_variable, bufopts, "Extract variable")
|
||||||
|
nnoremap("<leader>lc", jdtls.extract_constant, bufopts, "Extract constant")
|
||||||
|
vim.keymap.set(
|
||||||
|
"v",
|
||||||
|
"<leader>lm",
|
||||||
|
[[<ESC><CMD>lua require('jdtls').extract_method(true)<CR>]],
|
||||||
|
{ noremap = true, silent = true, buffer = bufnr, desc = "Extract method" }
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
local config = {
|
||||||
|
flags = {
|
||||||
|
debounce_text_changes = 80,
|
||||||
|
},
|
||||||
|
on_attach = on_attach, -- We pass our on_attach keybindings to the configuration map
|
||||||
|
root_dir = root_dir, -- Set the root directory to our found root_marker
|
||||||
|
-- Here you can configure eclipse.jdt.ls specific settings
|
||||||
|
-- These are defined by the eclipse.jdt.ls project and will be passed to eclipse when starting.
|
||||||
|
-- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
|
||||||
|
-- for a list of options
|
||||||
|
settings = {
|
||||||
|
java = {
|
||||||
|
format = {
|
||||||
|
settings = {
|
||||||
|
-- Use Google Java style guidelines for formatting
|
||||||
|
-- To use, make sure to download the file from https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style.xml
|
||||||
|
-- and place it in the ~/.local/share/eclipse directory
|
||||||
|
url = "/.local/share/eclipse/eclipse-java-google-style.xml",
|
||||||
|
profile = "GoogleStyle",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
implementationsCodeLens = { enabled = true },
|
||||||
|
referenceCodeLens = { enabled = true },
|
||||||
|
signatureHelp = { enabled = true },
|
||||||
|
contentProvider = { preferred = "fernflower" }, -- Use fernflower to decompile library code
|
||||||
|
-- Specify any completion options
|
||||||
|
completion = {
|
||||||
|
maxResults = 20,
|
||||||
|
postfix = { enabled = true },
|
||||||
|
favoriteStaticMembers = {
|
||||||
|
"org.hamcrest.MatcherAssert.assertThat",
|
||||||
|
"org.hamcrest.Matchers.*",
|
||||||
|
"org.hamcrest.CoreMatchers.*",
|
||||||
|
"org.junit.jupiter.api.Assertions.*",
|
||||||
|
"java.util.Objects.requireNonNull",
|
||||||
|
"java.util.Objects.requireNonNullElse",
|
||||||
|
"org.mockito.Mockito.*",
|
||||||
|
},
|
||||||
|
filteredTypes = {
|
||||||
|
"com.sun.*",
|
||||||
|
"io.micrometer.shaded.*",
|
||||||
|
"java.awt.*",
|
||||||
|
"jdk.*",
|
||||||
|
"sun.*",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- Specify any options for organizing imports
|
||||||
|
sources = {
|
||||||
|
organizeImports = {
|
||||||
|
starThreshold = 9999,
|
||||||
|
staticStarThreshold = 9999,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- On Save Cleanup
|
||||||
|
cleanup = {
|
||||||
|
actionsOnSave = {
|
||||||
|
"addOverride",
|
||||||
|
"qualifyStaticMembers",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- How code generation should act
|
||||||
|
codeGeneration = {
|
||||||
|
toString = {
|
||||||
|
template = "${object.className}{${member.name()}=${member.value}, ${otherMembers}}",
|
||||||
|
},
|
||||||
|
hashCodeEquals = {
|
||||||
|
useJava7Objects = true,
|
||||||
|
},
|
||||||
|
useBlocks = true,
|
||||||
|
},
|
||||||
|
-- If you are developing in projects with different Java versions, you need
|
||||||
|
-- to tell eclipse.jdt.ls to use the location of the JDK for your Java version
|
||||||
|
-- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
|
||||||
|
-- And search for `interface RuntimeOption`
|
||||||
|
-- The `name` is NOT arbitrary, but must match one of the elements from `enum ExecutionEnvironment` in the link above
|
||||||
|
configuration = {
|
||||||
|
maven = {
|
||||||
|
userSettings = HOME .. "/.m2/settings.xml",
|
||||||
|
},
|
||||||
|
runtimes = {
|
||||||
|
{
|
||||||
|
name = "JavaSE-17",
|
||||||
|
path = SDKMAN_DIR .. "/candidates/java/17.0.5-amzn",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "JavaSE-11",
|
||||||
|
path = SDKMAN_DIR .. "/candidates/java/11.0.18-amzn",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "JavaSE-1.8",
|
||||||
|
path = SDKMAN_DIR .. "/candidates/java/8.0.362-amzn",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- cmd is the command that starts the language server. Whatever is placed
|
||||||
|
-- here is what is passed to the command line to execute jdtls.
|
||||||
|
-- Note that eclipse.jdt.ls must be started with a Java version of 17 or higher
|
||||||
|
-- See: https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line
|
||||||
|
-- for the full list of options
|
||||||
|
cmd = {
|
||||||
|
SDKMAN_DIR .. "/candidates/java/17.0.5-amzn/bin/java",
|
||||||
|
"-Declipse.application=org.eclipse.jdt.ls.core.id1",
|
||||||
|
"-Dosgi.bundles.defaultStartLevel=4",
|
||||||
|
"-Declipse.product=org.eclipse.jdt.ls.core.product",
|
||||||
|
"-Dlog.protocol=true",
|
||||||
|
"-Dlog.level=ALL",
|
||||||
|
"-Xmx4g",
|
||||||
|
"--add-modules=ALL-SYSTEM",
|
||||||
|
"--add-opens",
|
||||||
|
"java.base/java.util=ALL-UNNAMED",
|
||||||
|
"--add-opens",
|
||||||
|
"java.base/java.lang=ALL-UNNAMED",
|
||||||
|
-- If you use lombok, download the lombok jar and place it in ~/.local/share/eclipse
|
||||||
|
-- "-javaagent:"
|
||||||
|
-- .. HOME
|
||||||
|
-- .. "/.local/share/eclipse/lombok.jar",
|
||||||
|
|
||||||
|
-- The jar file is located where jdtls was installed. This will need to be updated
|
||||||
|
-- to the location where you installed jdtls
|
||||||
|
"-jar",
|
||||||
|
-- HOME .. "/.local/share/eclipse.jdt.ls/bin",
|
||||||
|
vim.fn.glob(HOME .. "/.local/share/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_*.jar"),
|
||||||
|
|
||||||
|
-- The configuration for jdtls is also placed where jdtls was installed. This will
|
||||||
|
-- need to be updated depending on your environment
|
||||||
|
"-configuration",
|
||||||
|
HOME .. "/.local/share/eclipse.jdt.ls/config_linux",
|
||||||
|
|
||||||
|
-- Use the workspace_folder defined above to store data for this project
|
||||||
|
"-data",
|
||||||
|
workspace_folder,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
function M.make_jdtls_config()
|
||||||
|
return config
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
@ -0,0 +1,60 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"lewis6991/gitsigns.nvim",
|
||||||
|
config = function()
|
||||||
|
require("gitsigns").setup({
|
||||||
|
on_attach = function(bufnr)
|
||||||
|
local gs = package.loaded.gitsigns
|
||||||
|
|
||||||
|
local function map(mode, l, r, opts, desc)
|
||||||
|
opts = opts or {}
|
||||||
|
opts.buffer = bufnr
|
||||||
|
opts.desc = desc
|
||||||
|
vim.keymap.set(mode, l, r, opts)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Navigation
|
||||||
|
map("n", "]c", function()
|
||||||
|
if vim.wo.diff then
|
||||||
|
return "]c"
|
||||||
|
end
|
||||||
|
vim.schedule(function()
|
||||||
|
gs.next_hunk()
|
||||||
|
end)
|
||||||
|
return "<Ignore>"
|
||||||
|
end, { expr = true }, "Next Hunk")
|
||||||
|
|
||||||
|
map("n", "[c", function()
|
||||||
|
if vim.wo.diff then
|
||||||
|
return "[c"
|
||||||
|
end
|
||||||
|
vim.schedule(function()
|
||||||
|
gs.prev_hunk()
|
||||||
|
end)
|
||||||
|
return "<Ignore>"
|
||||||
|
end, { expr = true }, "Previous Hunk")
|
||||||
|
|
||||||
|
-- Actions
|
||||||
|
map({ "n", "v" }, "<leader>gs", ":Gitsigns stage_hunk<CR>", {}, "Stage Hunk")
|
||||||
|
map({ "n", "v" }, "<leader>gr", ":Gitsigns reset_hunk<CR>", {}, "Reset Hunk")
|
||||||
|
map("n", "<leader>gS", gs.stage_buffer, {}, "Stage Buffer")
|
||||||
|
map("n", "<leader>gu", gs.undo_stage_hunk, {}, "Undo Stage Hunk")
|
||||||
|
map("n", "<leader>gR", gs.reset_buffer, {}, "Reset Buffer")
|
||||||
|
map("n", "<leader>gp", gs.preview_hunk, {}, "Preview Hunk")
|
||||||
|
map("n", "<leader>gb", function()
|
||||||
|
gs.blame_line({ full = true })
|
||||||
|
end, {}, "Show Blame")
|
||||||
|
map("n", "<leader>gb", gs.toggle_current_line_blame, {}, "Current Line Blame")
|
||||||
|
map("n", "<leader>gd", gs.diffthis, {}, "Diff This")
|
||||||
|
map("n", "<leader>gD", function()
|
||||||
|
gs.diffthis("~")
|
||||||
|
end, {}, "")
|
||||||
|
map("n", "<leader>gd", gs.toggle_deleted, {}, "Show Deleted")
|
||||||
|
|
||||||
|
-- Text object
|
||||||
|
map({ "o", "x" }, "ih", ":<C-U>Gitsigns select_hunk<CR>")
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-tree/nvim-tree.lua",
|
||||||
|
dependencies = "nvim-tree/nvim-web-devicons",
|
||||||
|
config = function()
|
||||||
|
require("nvim-tree").setup({
|
||||||
|
hijack_cursor = true,
|
||||||
|
sync_root_with_cwd = true,
|
||||||
|
respect_buf_cwd = true,
|
||||||
|
update_focused_file = {
|
||||||
|
enable = true,
|
||||||
|
update_root = false,
|
||||||
|
},
|
||||||
|
view = {
|
||||||
|
centralize_selection = true,
|
||||||
|
},
|
||||||
|
renderer = {
|
||||||
|
group_empty = true,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
keys = {
|
||||||
|
{ "<leader>e", "<cmd>NvimTreeToggle<cr>", "Open Explorer" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"ahmedkhalf/project.nvim",
|
||||||
|
config = function()
|
||||||
|
require("project_nvim").setup({
|
||||||
|
patterns = {
|
||||||
|
".git",
|
||||||
|
"_darcs",
|
||||||
|
".hg",
|
||||||
|
".bzr",
|
||||||
|
".svn",
|
||||||
|
"Makefile",
|
||||||
|
"package.json",
|
||||||
|
"stylua.toml",
|
||||||
|
"wezterm.lua",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
return {}
|
||||||
|
-- return {
|
||||||
|
-- {
|
||||||
|
-- "notjedi/nvim-rooter.lua",
|
||||||
|
-- lazy = false,
|
||||||
|
-- priority = 1000,
|
||||||
|
-- config = function()
|
||||||
|
-- require("nvim-rooter").setup({
|
||||||
|
-- update_cwd = true,
|
||||||
|
-- update_focused_file = {
|
||||||
|
-- enable = true,
|
||||||
|
-- update_cwd = true,
|
||||||
|
-- },
|
||||||
|
-- })
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
|
-- }
|
@ -0,0 +1,714 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<profiles version="13">
|
||||||
|
<profile kind="CodeFormatterProfile" name="GoogleStyle" version="13">
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries"
|
||||||
|
value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_cascading_method_invocation_with_arguments.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_prefer_two_fragments" value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_comment_inline_tags" value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_local_variable_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter"
|
||||||
|
value="1040" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type.count_dependent"
|
||||||
|
value="1585|-1|1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression.count_dependent"
|
||||||
|
value="16|4|80" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration.count_dependent"
|
||||||
|
value="16|4|48" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration.count_dependent"
|
||||||
|
value="16|4|49" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_cascading_method_invocation_with_arguments"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.source" value="1.7" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration.count_dependent"
|
||||||
|
value="16|4|48" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_local_variable_annotation"
|
||||||
|
value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="0" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants.count_dependent"
|
||||||
|
value="16|5|48" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description"
|
||||||
|
value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<!-- <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="100" /> -->
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation.count_dependent"
|
||||||
|
value="16|4|48" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration"
|
||||||
|
value="0" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package"
|
||||||
|
value="1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_type_annotation" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_field_declaration" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments"
|
||||||
|
value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_generic_type_arguments" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment_new_line_at_start_of_html_paragraph"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comment_prefix"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_parameter_annotation"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method"
|
||||||
|
value="1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column"
|
||||||
|
value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="2" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment"
|
||||||
|
value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter.count_dependent"
|
||||||
|
value="1040|-1|1040" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_package.count_dependent"
|
||||||
|
value="1585|-1|1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.force_if_else_statement_brace" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="3" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_package_annotation" value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_type" value="1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer"
|
||||||
|
value="2" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_new_anonymous_class" value="20" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable.count_dependent"
|
||||||
|
value="1585|-1|1585" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field.count_dependent"
|
||||||
|
value="1585|-1|1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="0" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body"
|
||||||
|
value="0" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header"
|
||||||
|
value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="2" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header"
|
||||||
|
value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="0" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_field" value="1585" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration"
|
||||||
|
value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation"
|
||||||
|
value="16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration.count_dependent"
|
||||||
|
value="16|4|48" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method.count_dependent"
|
||||||
|
value="1585|-1|1585" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration"
|
||||||
|
value="end_of_line" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.wrap_non_simple_member_annotation" value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable"
|
||||||
|
value="1585" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_generic_type_arguments.count_dependent"
|
||||||
|
value="16|-1|16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration.count_dependent"
|
||||||
|
value="16|5|80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
|
||||||
|
value="insert" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header"
|
||||||
|
value="true" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for"
|
||||||
|
value="insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_for_statement" value="16" />
|
||||||
|
<setting
|
||||||
|
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments"
|
||||||
|
value="do not insert" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column"
|
||||||
|
value="false" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false" />
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
Loading…
Reference in New Issue