Commit graph

80 commits

Author SHA1 Message Date
Mathias Fussenegger
29255ea26d Fix nvim-0.11 deprecation warnings 2024-05-16 17:05:21 +02:00
Mathias Fussenegger
81ead309b9 Mention dependency management in readme for nvim-dap 2024-02-18 12:41:43 +01:00
Mathias Fussenegger
96e3978c3f Add a function to jump to tests & reverse 2023-07-10 21:53:06 +02:00
Mathias Fussenegger
6e6352f671 Add test generation functionality (optional with vscode-java-test) 2023-07-09 13:57:18 +02:00
Mathias Fussenegger
0261cf5a76 Implicitly add commands/debug adapter
Should make the setup slightly more convenient
2023-06-29 07:57:29 +02:00
tsuoihito
b041dd4308 Fix comment in VimL 2023-05-05 07:49:00 +02:00
Mathias Fussenegger
aa04fc0e4d Add signature refactoring to extensions in README 2023-04-17 18:42:44 +02:00
Michael Härtl
ffb8f63689
Change readme example config from min to max heap (#454) 2023-04-03 19:56:11 +02:00
Mathias Fussenegger
34202bc141 Mention python 3.9 requirement for jdtls.py 2023-03-19 07:41:28 +01:00
shae
db08bfb873 Fix typo in the quickstart-config gradle root detection 2023-02-28 20:19:37 +01:00
dundargoc
beb9101fb4 Fix typos 2023-01-20 07:08:45 +01:00
Mathias Fussenegger
a5c6f38f81 Add a extract_variable_all function for the corresponding code action 2022-12-22 14:08:47 +01:00
Mathias Fussenegger
f39efa0e82 Include nosuf parameter in glob examples
Otherwise `suffixes` and `wildignore` settings could filter out the jar
files.

See https://github.com/mfussenegger/nvim-jdtls/issues/352#issuecomment-1293047108
2022-10-28 10:43:08 +02:00
Mathias Fussenegger
47472f648f Add a quickstart configuration example that's less verbose
The many lines of configuration scares people
2022-10-23 12:43:18 +02:00
Mathias Fussenegger
75d27daa06 Add a JdtHotcodeReplace command to trigger code replace manually
Closes https://github.com/mfussenegger/nvim-jdtls/issues/334
2022-09-29 12:15:05 +02:00
Mathias Fussenegger
3a489be735 Fix markdownlint warnings 2022-08-18 10:15:41 +02:00
Mathias Fussenegger
71a719315c Bump java requirement in README
Eclipse.jdt.ls 1.13.0 requires at least Java 17
2022-06-30 17:49:29 +02:00
Mathias Fussenegger
e80d8104b9 Add API reference docs for main jdtls module 2022-06-17 19:00:10 +02:00
Mathias Fussenegger
f582b5be2a Extend debug configuration section in README 2022-05-06 16:56:05 +02:00
Mathias Fussenegger
ffb08466d5 Add :JdtWipeDataAndRestart and :JdtShowLogs commands to simplify troubleshooting 2022-04-14 16:47:49 +02:00
Mathias Fussenegger
b5c07f498d Add note about indentation settings to troubleshooting section 2022-04-14 15:19:47 +02:00
Mathias Fussenegger
3bc283b692 Extend troubleshooting section with some more common issues 2022-01-11 18:54:48 +01:00
Mathias Fussenegger
eda96facfd Fix troubleshooting link in readme 2022-01-06 15:20:53 +01:00
Mathias Fussenegger
55e1933195 Make some tweaks to troubleshooting section in readme 2022-01-06 15:14:54 +01:00
Mathias Fussenegger
e75a4be18a Add a function & command to change the default runtime 2022-01-06 14:50:47 +01:00
Mathias Fussenegger
215f241fa6 Mention target audience and alternatives in README 2022-01-06 13:50:33 +01:00
Mathias Fussenegger
48e5f23da5 Update GHA linter to super-linter/slim@v4 2022-01-06 12:41:41 +01:00
Mathias Fussenegger
47d7a9caec readme: Add init_options / bundles skeleton to config example 2021-12-12 11:40:52 +01:00
Mathias Fussenegger
a35df7a7dc Clarify where config is coming from in debug setup part of readme 2021-12-11 11:30:33 +01:00
Mathias Fussenegger
8250cf5653 Bump required neovim version to 0.6.0
Users of neovim 0.5.0 or 0.5.1 can use the `nvim-05` branch.
2021-12-09 20:08:58 +01:00
Mathias Fussenegger
f9aeca2aca Deprecate custom code_action method
With neovim 0.6 it is possible to use the built-in
vim.lsp.buf.code_action function and still have all extensions from
jdtls work.
2021-12-07 19:30:39 +01:00
Mathias Fussenegger
46809aaebf Remove nvim 0.5 compatibility layer
0.5.1 is now the required minimum version
2021-12-01 23:35:03 +01:00
Mathias Fussenegger
3fa992f333 Clarify ftplugin/java.lua location a bit more 2021-11-19 11:00:32 +01:00
Mathias Fussenegger
3c058742f6 Make configuration section in README more verbose
It assumed users are able to translate the CLI instructions into the
`cmd` definitions and some other knowledge - e.g. where to place the
`ftplugin/java.lua` file.
2021-11-18 15:19:05 +01:00
Mathias Fussenegger
f9fcc46771 Fix configuration link in readme 2021-09-26 16:28:52 +02:00
Mathias Fussenegger
4bdfaf52d7 Readme: Extend data directory configuration example 2021-09-26 16:23:20 +02:00
Mathias Fussenegger
b07dd81fbe Readme: Refer to upstream install instructions and overhaul some parts
- Removes the Installation parts and instead delegates to the upstream
  instructions.

- Removes the `java-lsp.sh` script and just pass the options directly to
  `config.cmd`. Users could still create a script if they want to.

- Introcues a `local config` in the `Usage` section early on so that
  later parts which refer to `config` are less confusing.

- Explains the differences between nvim-lspconfig and nvim-jdtls a bit
  more
2021-09-26 16:15:43 +02:00
Mathias Fussenegger
846187eef8 Remove warning and neovim/nightly requirement from readme
Neovim 0.5 got released
2021-07-02 20:01:46 +02:00
Mathias Fussenegger
018b013d5e Make some small tweaks to install instructions 2021-06-29 20:04:55 +02:00
Mathias Fussenegger
89fdc14457 Mention other eclipse.jdt.ls installation options in readme 2021-06-06 21:16:25 +02:00
Mathias Fussenegger
36baba2afb Extract dap.configurations.java setup into separate functions
Based on the discussion in https://github.com/mfussenegger/nvim-jdtls/pull/82

This adds two new functions in the `jdtls.dap` module:

- `setup_dap_main_class_configs` which extends `dap.configurations.java`
- `fetch_main_configs` which takes a callback which receives all
  configurations for the discovered main classes. This allows users to
  customize how to use them or post-process them.

`setup_dap` no longer implicitly extends `dap.configuration.java` but
instead only configures the adapter.
2021-05-21 11:23:28 +02:00
Mathias Fussenegger
7cee62b302 Add JdtCompile argument completion/change arg to full/incremental
Something must have changed in eclipse.jdt.ls: Using a `'true'`
value as argument to `java/buildWorkspace` no longer triggered full
compilation.

This uses this as an opportunity to change the argument to `full` or
`incremental` and to add completion for the two options.
2021-05-19 18:37:40 +02:00
Mathias Fussenegger
cfed968585 Support hotcode replacement via nvim-dap
Calling `setup_dap` with `{ hotcodereplace = 'auto' }` will enable
hotcode reloading during an active debugging session.

There are some limitations - for example, the current active stackframe
cannot be modified.

Requires https://github.com/mfussenegger/nvim-dap/pull/179
2021-05-19 18:01:14 +02:00
Mathias Fussenegger
6fa8c5a945 Add extract_constant to README 2021-05-04 23:06:55 +02:00
Mathias Fussenegger
c4199f88d5 Add github action workflow for linting 2021-03-20 14:08:57 +01:00
Mathias Fussenegger
666d7413eb Add support for move refactorings 2021-03-19 12:11:37 +01:00
Mathias Fussenegger
de1fbbb64f Add reference to sample-configurations wiki to readme 2021-03-12 19:37:57 +01:00
Mathias Fussenegger
a35ce80f0e Document per project data dir requirement in README
See https://github.com/mfussenegger/nvim-jdtls/issues/33
2021-01-30 13:29:49 +01:00
Mathias Fussenegger
357d0b4052 Adjust logpath from data to cache
To follow the change in neovim:

- ea8756f85d
2021-01-17 14:09:24 +01:00
Mathias Fussenegger
750432ca50 Mention -configuration option adjustment in readme 2021-01-06 10:47:23 +01:00