Skip to content

85 feature add types for javaactionorganizeimportschooseimports #86

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lua/java-core/api/test.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local log = require('java-core.utils.log')
local data_adapters = require('java-core.adapters')
local notify = require('java-core.utils.notify')

local DebugClient = require('java-core.ls.clients.java-debug-client')
local TestClient = require('java-core.ls.clients.java-test-client')
Expand Down Expand Up @@ -55,7 +56,7 @@ function M:run_class_by_buffer(buffer, report, config)
local tests = self:get_test_class_by_buffer(buffer)

if #tests < 1 then
vim.notify('No tests found in the current buffer')
notify.warn('No tests found in the current buffer')
return
end

Expand Down
8 changes: 8 additions & 0 deletions lua/java-core/ls/clients/jdtls-client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,14 @@ end
---@field errorMessage? string
---@field destinations jdtls.InstanceMethodMoveDestination[]|jdtls.ResourceMoveDestination[]

---@class jdtls.ImportCandidate
---@field fullyQualifiedName string
---@field id string

---@class jdtls.ImportSelection
---@field candidates jdtls.ImportCandidate[]
---@field range Range

---@param params jdtls.MoveParams
---@return jdtls.MoveDestinationsResponse
function JdtlsClient:get_move_destination(params)
Expand Down
Loading