Comments (5)
It's problem of your jdt.ls, you can download older version of jdt.ls.
from coc-java.
Okay, thanks. I updated the server via the CocCommand java.updateLanguageServer
. Does that command just download the absolute latest version of jdt.ls? I was thinking that it would download the latest version of jdt.ls known to work with the installed version of coc; could it be made to do that to prevent this problem in the future?
from coc-java.
I reverted back to the version of jdt.ls that was working for me before I upgraded (jdt-language-server-0.37.0-201904162228.tar.gz). Automatic imports work again, but the missing candidates problem persists as before. When adding an Entity annotation I only see the org.hibernate.annotations.Entity
option in the autocompletion list, but importing javax.persistence.Entity
is still an option in the code actions, so I know the server is aware of that class. I did not have this issue before with this version jdt.ls, so is it possible that the newest version of coc is removing javax.persistence.Entity
from the autocomplete options as if it were a duplicate of the org.hibernate.annotations.Entity
list item?
BTW, I am now on this commit from the coc release branch
## versions
vim version: NVIM v0.3.4
node version: v10.16.0
coc.nvim version: 0.0.72-d87103178f
term: xterm-256color
platform: linux
from coc-java.
The missing autocomplete candidate problem seems to be with coc. I reverted to commit 25e10368d5f9b61ee3a448fb7810597bdd5533ca
on the release branch and now see both javax.persistence.Entity
and org.hibernate.annotations.Entity
in the autocomplete options list.
Now on this version:
## versions
vim version: NVIM v0.3.4
node version: v10.16.0
coc.nvim version: 0.0.72-8c7241d7e3
term: xterm-256color
platform: linux
from coc-java.
Should be fixed on recent version of coc-java, try upgrade coc.nvim to latest release and coc-java to version 1.14.0.
from coc-java.
Related Issues (20)
- Invalid runtime for JavaSE-20: Runtime at '/usr/local/opt/jdk-20.0.2.jdk/Contents/Home' is not compatible with the 'JavaSE-20' environment. HOT 4
- JDTLS fails to start, missing dynamic libs
- Support for apache ant HOT 1
- [coc.nvim]: UnhandledRejection: TypeError: Cannot read properties of null (reading '0') HOT 8
- when override method, how do i select these checkboxes.
- coc-codeaction-refactor Error on notification "codeAction": TypeError: import_coc26.workspace.asRelativePath is not a function HOT 3
- Auto completion is not working
- java.autobuild.enabled is not supported without documented.
- CPU Spikes, OOM errors, Race Conditions, source file corruption when `organizeImports` is true 10+ second delays
- Gradle wrapper seems not working as went to use a old gradle wrapper. HOT 2
- cannot jump to .proto file if symbols is generated from a protobuf file HOT 2
- Fail to download Coc-java HOT 2
- How to multi-select in "Generate Constructors" popup-menu HOT 3
- Error choosing `show errors` action on workspace import
- Embedded JRE and NixOS HOT 3
- [Feature Request] Support java.cleanup.actions HOT 3
- always download jre
- Project picker: duplicate entries in case of multiple projects loaded to workspace
- Publish 1.22.4 to npmjs HOT 2
- [Feature] Populate quickfix with workspace.compile & build errors / results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-java.