Ignoring java.codeGeneration.toString.limitElements as java.codeGeneration.toString is undefined
See original GitHub issueHi everyone! I’m facing this error message since yesterday with coc-java extension. It show up in status bar as soon as nvim start even if it is not a java project folder.
My coc.vim output :
## versions
vim version: NVIM v0.4.0-674-g8342b4486
node version: v9.11.2
coc.nvim version: 0.0.66-ad629df759
term: rxvt-unicode-256color
platform: linux
## Error messages
Ignoring java.codeGeneration.toString.template as java.codeGeneration.toString is undefined
Ignoring java.codeGeneration.toString.codeStyle as java.codeGeneration.toString is undefined
Ignoring java.codeGeneration.toString.skipNullValues as java.codeGeneration.toString is undefined
Ignoring java.codeGeneration.toString.listArrayContents as java.codeGeneration.toString is undefined
Ignoring java.codeGeneration.toString.limitElements as java.codeGeneration.toString is undefined
## Output channel: prettier
## Output channel: snippets
[Error 17:35:38] Convert regex error for: li(st)? (?<num>\d+)$
[Error 17:35:38] Convert regex error for: ol(st)? (?<num>\d+)$
I’ve tried to install and uninstall coc-java extension with these openjdk version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
then I tried
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
It seems to be ok with oracle-jdk.
Does coc-java only working with oracle-jdk and not openjdk?
Best Regard!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Language Support for Java(TM) by Red Hat
codeGeneration.toString.limitElements : Limit number of items in arrays/collections/maps to list, if 0 then list all. Defaults to 0 . java.
Read more >How to configure Intellij toString() template to align with Eclipse
Code > Generate... > toString(). On the dialog that opens, in the top right, there is a button labelled 'Settings...'.
Read more >@ToString - Project Lombok
Annotating a class with @ToString will cause lombok to generate an implementation ... Be aware that the default implementation of toString() in java.lang....
Read more >toString() Generation Settings dialog | IntelliJ IDEA ... - JetBrains
Variable Returns Description
$fields java.util.List List of FieldElement objects
$methods java.util.List List of MethodElement objects
$member Element The Element object
Read more >JavaScript String toString() Method - W3Schools
The toString() method is used internally by JavaScript when an object needs to be displayed as a text (like in HTML), or when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Forgot to run
call coc#util#install()
@MicahMartin should be bundle not updated, checkout
:CocInfo