lvim icon indicating copy to clipboard operation
lvim copied to clipboard

Questions about Java

Open punkucheung opened this issue 3 years ago • 1 comments

Hello chris, Can you help me see why? Thank you

I downloaded yours

When I use "lvim" to edit. I received the following error message.

Deprecation notice: [lvim.builtin.dashboard] setting is no longer supported. Use lvim.builtin.alpha instead. See LunarVim#1906 packer.nvim: Error running config for nvim-treesitter: ...er/start/nvim-treesitter/lua/nvim-treesitter/install.lua:373: Parser not available for language main tained Press ENTER or type command to continue

When I use lvim to open Java file, showing this, how to solve it?

====================================================

checkhealth

hop: require("hop.health").check()

Ensuring keys are unique

  • OK: Keys are unique

Checking for deprecated features

  • OK: All good

magma: health#magma#check

requirements

  • OK: NeoVim >=0.5
  • OK: Python >=3.8
  • OK: Python package pynvim found
  • OK: Python package jupyter-client found
  • OK: Python package ueberzug found
  • OK: Python package Pillow found
  • OK: Python package cairosvg found
  • OK: Python package pnglatex found
  • OK: Python package plotly found
  • OK: Python package kaleido found

null-ls: require("null-ls.health").check()

  • INFO: no sources registered

nvim: health#nvim#check

Configuration

  • WARNING: Missing user config file: /home/punku/.config/nvim/init.vim
    • ADVICE:
      • :help |init.vim|

Performance

  • OK: Build type: Release

Remote Plugins

  • OK: Up to date

terminal

  • INFO: key_backspace (kbs) terminfo entry: key_backspace=\177
  • INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  • INFO: $VTE_VERSION='6800'
  • INFO: $COLORTERM='truecolor'

nvim-lsp-installer: require("nvim-lsp-installer.health").check()

nvim-lsp-installer report

  • OK: neovim version >= 0.7.0
  • WARNING: Go: not available
  • OK: cargo: cargo 1.61.0
  • WARNING: luarocks: not available
  • WARNING: Ruby: not available
  • WARNING: RubyGem: not available
  • WARNING: Composer: not available
  • WARNING: PHP: not available
  • OK: npm: 8.5.5
  • OK: node: v18.3.0
  • OK: python3: Python 3.10.5
  • OK: pip3: pip 22.1.2 from /home/punku/.local/lib/python3.10/site-packages/pip (python 3.10)
  • OK: javac: javac 11
  • OK: java: openjdk version "11" 2018-09-25
  • OK: JAVA_HOME: openjdk version "11" 2018-09-25
  • WARNING: julia: not available
  • OK: wget: GNU Wget 1.21.3 built on linux-gnu.
  • OK: curl: curl 7.83.1 (x86_64-pc-linux-gnu) libcurl/7.83.1 OpenSSL/1.1.1o zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
  • OK: gzip: gzip 1.12
  • OK: tar: tar (GNU tar) 1.34
  • OK: bash: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • OK: sh: Ok
  • OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Mon 20 Jun 2022 12:35:16 AM CST.

nvim-treesitter: require("nvim-treesitter.health").check()

Installation

  • OK: tree-sitter found 0.20.6 (parser generator, only needed for :TSInstallFromGrammar)
  • OK: node found v18.3.0 (only needed for :TSInstallFromGrammar)
  • OK: git executable found.
  • OK: cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" } Version: cc (GCC) 12.1.0
  • OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

Parser/Features H L F I J

  • cmake ✓ . ✓ . .
  • query ✓ ✓ ✓ ✓ ✓
  • c_sharp ✓ ✓ ✓ . ✓
  • typescript ✓ ✓ ✓ ✓ ✓
  • swift ✓ ✓ . . .
  • r ✓ ✓ . ✓ ✓
  • ocaml ✓ ✓ ✓ . ✓
  • json ✓ ✓ ✓ ✓ .
  • vim ✓ ✓ ✓ . ✓
  • erlang . . . . .
  • jsdoc ✓ . . . .
  • scss ✓ . . ✓ .
  • css ✓ . ✓ ✓ ✓
  • solidity ✓ . . . .
  • julia ✓ ✓ ✓ ✓ ✓
  • html ✓ ✓ ✓ ✓ ✓
  • lua ✓ ✓ ✓ ✓ ✓
  • java ✓ ✓ . ✓ ✓
  • php ✓ ✓ ✓ ✓ ✓
  • make ✓ . . . ✓
  • fish ✓ ✓ ✓ ✓ ✓

punkucheung avatar Jun 19 '22 15:06 punkucheung

I have a different question, since the issue name allows it, I would like to ask: Do you have any keymapping/shortcuts for compiling jars and/or generating initial maven/gradle/ant files when creating a project?

litoj avatar Dec 21 '22 13:12 litoj