!mOrxkIlHIqXFyatoms:matrix.org

SpaceVim

2837 Members
SpaceVim - A community-driven vim distribution https://spacevim.org/community/25 Servers

Load older messages


SenderMessageTime
30 Jun 2022
@lnxbusdrvr:matrix.orgErkki Pokkinen
In reply to @wsdjeg:mozilla.org
you can create a java demo repo.

build.xml

<project name="world" default="compile" basedir=".">
	<description>
	</description>
	<property name="src" location="."/>
	<property name="javasrc" value="../../../myownproject/"/>
	<property name="build" location="."/>
	<property name="build.sysclasspath" value="ignore"/>
	
	<target name="init">
		<tstamp/>
	</target>

	<target name="compile" depends="init"
		description="compile the source " >
		<!-- Compile the java code from ${src} into ${build} -->
		<javac debug="yes" memoryMaximumSize="1024m" sourcepath=""
                       srcdir="." nowarn="on" classpathref="classpath"
                       destdir="${build}" fork="true" encoding="ISO-8859-1"
                       includeAntRuntime="false"
                       target="1.6" source="1.6">
		</javac>
	</target>
</project>
05:40:05
@lnxbusdrvr:matrix.orgErkki PokkinenSo these .class-files are in current dir and in subdirs05:41:20
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho) joined the room.08:21:59
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho)

Hi!
I'm struggle to install spacevim in m1 mac for building js dev environment.
I had tried following steps:

1. https://spacevim.org/install-vim-or-neovim-with-python-support/
2. https://spacevim.org/quick-start-guide/
3. https://spacevim.org/use-vim-as-ide/
4. https://spacevim.org/layers/lang/javascript/

And I had shown the error: "failed to start server: [errno 2] no such file or directory: 'tern'"
I had solved this error to input command:
$npm install -g tern

So I resolved tern error, but I faced new error that I can solve.
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
self._target(self._args, *self._kwargs)
File "/Users/moonpming/.cache/vimfiles/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py", line 336, in completation
self.vim.command('call deoplete#auto_complete()')
File "/opt/homebrew/lib/python3.9/site-packages/pynvim/api/nvim.py", line 287, in command
return self.request('nvim_command', string,
kwargs)

May I help me?

08:22:00
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho) *

Hi!
I'm struggle to install spacevim in m1 mac for building js dev environment.
I had tried following steps:

1. https://spacevim.org/install-vim-or-neovim-with-python-support/
2. https://spacevim.org/quick-start-guide/
3. https://spacevim.org/use-vim-as-ide/
4. https://spacevim.org/layers/lang/javascript/

And I had shown the error: "failed to start server: [errno 2] no such file or directory: 'tern'"
I had solved this error to input command:
$npm install -g tern

So I resolved tern error, but I faced new error that I can solve.
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
self._target(self._args, *self._kwargs)
File "/Users/moonpming/.cache/vimfiles/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py", line 336, in completation
self.vim.command('call deoplete#auto_complete()')
File "/opt/homebrew/lib/python3.9/site-packages/pynvim/api/nvim.py", line 287, in command
return self.request('nvim_command', string,
kwargs)

May I help me?

08:22:21
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho) *

Hi!
I'm struggle to install spacevim in m1 mac for building js dev environment.
I had tried following steps:

1. https://spacevim.org/install-vim-or-neovim-with-python-support/
2. https://spacevim.org/quick-start-guide/
3. https://spacevim.org/use-vim-as-ide/
4. https://spacevim.org/layers/lang/javascript/

And I had shown the error: "failed to start server: [errno 2] no such file or directory: 'tern'"
I had solved this error to input command:
$npm install -g tern

So I resolved tern error, but I faced new error that I can't solve.
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
self._target(self._args, *self._kwargs)
File "/Users/moonpming/.cache/vimfiles/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py", line 336, in completation
self.vim.command('call deoplete#auto_complete()')
File "/opt/homebrew/lib/python3.9/site-packages/pynvim/api/nvim.py", line 287, in command
return self.request('nvim_command', string,
kwargs)

May I help me?

08:23:41
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho) *

Hi!
I'm struggle to install spacevim in m1 mac for building js dev environment.
I had tried following steps:

1. https://spacevim.org/install-vim-or-neovim-with-python-support/
2. https://spacevim.org/quick-start-guide/
3. https://spacevim.org/use-vim-as-ide/
4. https://spacevim.org/layers/lang/javascript/

And I had shown the error:
failed to start server: [errno 2] no such file or directory: 'tern'
I had solved this error to input command:
$npm install -g tern

So I resolved tern error, but I faced new error that I can't solve.
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
self._target(self._args, *self._kwargs)
File "/Users/moonpming/.cache/vimfiles/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py", line 336, in completation
self.vim.command('call deoplete#auto_complete()')
File "/opt/homebrew/lib/python3.9/site-packages/pynvim/api/nvim.py", line 287, in command
return self.request('nvim_command', string,
kwargs)

May I help me?

08:24:00
@moonyaho-62bd5a0a6da0373984995b48:gitter.immoonyaho (moonyaho) *

Hi!
I'm struggle to install spacevim in m1 mac for building js dev environment.
I had tried following steps:

1. https://spacevim.org/install-vim-or-neovim-with-python-support/
2. https://spacevim.org/quick-start-guide/
3. https://spacevim.org/use-vim-as-ide/
4. https://spacevim.org/layers/lang/javascript/

And I had shown the error:
failed to start server: [errno 2] no such file or directory: 'tern'
I had solved this error to input command:
$npm install -g tern

So I resolved tern error, but I faced new error that I can't solve.

Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
  File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/moonpming/.cache/vimfiles/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py", line 336, in completation
    self.vim.command('call deoplete#auto_complete()')
  File "/opt/homebrew/lib/python3.9/site-packages/pynvim/api/nvim.py", line 287, in command
    return self.request('nvim_command', string, **kwargs)

May I help me?

08:25:12
@lnxbusdrvr:matrix.orgErkki Pokkinen
In reply to @wsdjeg:mozilla.org
you can create a java demo repo.
*

build.xml

<project name="world" default="compile" basedir=".">
	<description>
	</description>
	<property name="src" location="."/>
	<property name="javasrc" value="../../../myownproject/"/>
	<property name="build" location="."/>
	<property name="build.sysclasspath" value="ignore"/>
	
	<target name="init">
		<tstamp/>
	</target>

	<target name="compile" depends="init"
		description="compile the source " >
		<!-- Compile the java code from ${src} into ${build} -->
		<javac debug="yes" memoryMaximumSize="1024m" sourcepath=""
                       srcdir="." nowarn="on" classpathref="classpath"
                       destdir="${build}" fork="true" encoding="ISO-8859-1"
                       includeAntRuntime="false"
                       target="1.6" source="1.6">
		</javac>
	</target>
</project>
09:38:55
@shougo-550c1bc415522ed4b3dd8cdc:gitter.imShougo (Shougo) Unfortunately, I don't recommand for you to use ternjs 10:29:36
@shougo-550c1bc415522ed4b3dd8cdc:gitter.imShougo (Shougo) deoplete-ternjs just broken. 10:30:11
@shougo-550c1bc415522ed4b3dd8cdc:gitter.imShougo (Shougo) You should use LSP completion instead. 10:30:30
@_discord_988633288790913034:t2bot.iowings_of_fire joined the room.12:43:54
@telegram_1175205734:t2bot.io#OFFLINE# joined the room.12:44:56
@_discord_988633288790913034:t2bot.iowings_of_fire hello....where can i find the key binding file in spacevim ...i am quite new to vim so cant figure it out 12:46:19
1 Jul 2022
@nonexistant_object:matrix.orgnonexistant_object left the room.01:22:38
@_discord_359328028767027210:t2bot.ioLots-o joined the room.03:52:00
@lnxbusdrvr:matrix.orgErkki Pokkinen

How can I attach own Jave-methods ja classes to SpaceVim autocomplete?
my SPC f v d:

#=============================================================================
# basic.toml --- basic configuration example for SpaceVim
# Copyright (c) 2016-2022 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg@outlook.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================

# All SpaceVim option below [option] section
[options]
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = "gruvbox"
    colorscheme_bg = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    enable_guicolors = false
    # Disable statusline separator, if you want to use other value, please
    # install nerd fonts
    statusline_separator = "nil"
    statusline_iseparator = "bar"
    buffer_index_type = 4
    windows_index_type = 3
    enable_tabline_filetype_icon = false
    enable_statusline_mode = false
    statusline_unicode = false
    # Enable vim compatible mode, avoid changing origin vim key bindings
    vimcompatible = true

# https://spacevim.org/layers/autocomplete/ 
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = "complete"
auto_completion_tab_key_behavior = "cycle"

[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30

#Enable python relevant layers
[[layers]]
  name = "lang#python"

# JavaIDE
[[layers]]
  name = "lang#java"

[[layers]]
  name = "lsp"
  filetypes = [
    "java"
  ]
  [layers.override_cmd]
    java = [
    "java",
    "-Xmx520",
    "-XX:MaxPermSize=256m",
    "-Dfile.encoding=Latin1",
    "-Declipse.application=org.eclipse.jdt.ls.core.id1",
    "-Dosgi.bundles.defaultStartLevel=4",
    "-Declipse.product=org.eclipse.jdt.ls.core.product",
    "-Dlog.protocol=true",
    "-Dlog.level=NONE",
    "-noverify",
    "-jar",
    "/home/user/lsp/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar",
    "-cp",
    "/home/user/git/ownproj/build/ownproj.jar",
    "-configuration",
    "/home/user/lsp/eclipse.jdt.ls/config_linux/",
    "-data",
    "/home/user/.cache/javalsp"
    ]
06:09:24
@_discord_359328028767027210:t2bot.ioLots-o Hello, i want to ask 06:26:44
@_discord_359328028767027210:t2bot.ioLots-oScreenshot_from_2022-07-01_13-25-28.png
Download Screenshot_from_2022-07-01_13-25-28.png
06:27:23
@_discord_359328028767027210:t2bot.ioLots-o I used ycm, and then conflig 06:27:23
@_discord_359328028767027210:t2bot.ioLots-o * I used ycm, and then conflict 06:28:00
@telegram_134044077:t2bot.ioСёма
In reply to @lnxbusdrvr:matrix.org

How can I attach own Jave-methods ja classes to SpaceVim autocomplete?
my SPC f v d:

#=============================================================================
# basic.toml --- basic configuration example for SpaceVim
# Copyright (c) 2016-2022 Wang Shidong & Contributors
# Author: Wang Shidong < wsdjeg@outlook.com >
# URL: https://spacevim.org
# License: GPLv3
#=============================================================================

# All SpaceVim option below [option] section
[options]
    # set spacevim theme. by default colorscheme layer is not loaded,
    # if you want to use more colorscheme, please load the colorscheme
    # layer
    colorscheme = "gruvbox"
    colorscheme_bg = "dark"
    # Disable guicolors in basic mode, many terminal do not support 24bit
    # true colors
    enable_guicolors = false
    # Disable statusline separator, if you want to use other value, please
    # install nerd fonts
    statusline_separator = "nil"
    statusline_iseparator = "bar"
    buffer_index_type = 4
    windows_index_type = 3
    enable_tabline_filetype_icon = false
    enable_statusline_mode = false
    statusline_unicode = false
    # Enable vim compatible mode, avoid changing origin vim key bindings
    vimcompatible = true

# https://spacevim.org/layers/autocomplete/ 
# Enable autocomplete layer
[[layers]]
name = 'autocomplete'
auto_completion_return_key_behavior = "complete"
auto_completion_tab_key_behavior = "cycle"

[[layers]]
name = 'shell'
default_position = 'top'
default_height = 30

#Enable python relevant layers
[[layers]]
  name = "lang#python"

# JavaIDE
[[layers]]
  name = "lang#java"

[[layers]]
  name = "lsp"
  filetypes = [
    "java"
  ]
  [layers.override_cmd]
    java = [
    "java",
    "-Xmx520",
    "-XX:MaxPermSize=256m",
    "-Dfile.encoding=Latin1",
    "-Declipse.application=org.eclipse.jdt.ls.core.id1",
    "-Dosgi.bundles.defaultStartLevel=4",
    "-Declipse.product=org.eclipse.jdt.ls.core.product",
    "-Dlog.protocol=true",
    "-Dlog.level=NONE",
    "-noverify",
    "-jar",
    "/home/user/lsp/eclipse.jdt.ls/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar",
    "-cp",
    "/home/user/git/ownproj/build/ownproj.jar",
    "-configuration",
    "/home/user/lsp/eclipse.jdt.ls/config_linux/",
    "-data",
    "/home/user/.cache/javalsp"
    ]
Please, use pastebin.com for that👌🏼
06:37:43
@lnxbusdrvr:matrix.orgErkki Pokkinen
In reply to @telegram_134044077:t2bot.io
Please, use pastebin.com for that👌🏼

Can't use that for pastebin

 0.32 KB

Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste.
The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning.
This paste can only be published with the visibility set to "Private".

https://pastebin.com/GMRxzjip

08:58:31
@telegram_134044077:t2bot.ioСёма
In reply to @lnxbusdrvr:matrix.org

Can't use that for pastebin

 0.32 KB

Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste.
The content you are trying to publish has been deemed potentially offensive or questionable by our filters, because of this you’re receiving this warning.
This paste can only be published with the visibility set to "Private".

https://pastebin.com/GMRxzjip

https://pastebin.com/Urd8jvzD
09:01:44
@lnxbusdrvr:matrix.orgErkki PokkinenRedacted or Malformed Event09:24:32
@lnxbusdrvr:matrix.orgErkki Pokkinen * How can I attach own Jave-methods ja classes to SpaceVim autocomplete? my SPC f v d: https://pastebin.com/qTCKTeYj Spacial thx to Сёма09:34:52
@lnxbusdrvr:matrix.orgErkki Pokkinen *

How can I attach own Jave-methods ja classes to SpaceVim autocomplete?
my SPC f v d:
https://pastebin.com/qTCKTeYj

Spacial thx to Сёма

Supplemental:
I got Standard Java to work, by commenting lsp-part
https://pastebin.com/6ykrb4uV

09:59:51
@telegram_930156506:t2bot.ioVyacheslav joined the room.17:58:32
@telegram_930156506:t2bot.ioVyacheslav Can someone help me with this warning in lspconfig.lua, which appearing every time I run nvim?
[dein] Error occurred while executing hook: nvim-lspconfig
[dein] Vim(lua):E5108: Error executing lua ...e/user/.SpaceVim/bundle/nvim-lspconfig/lua/lspconfig.lua:81: attempt to concatenate local 'k' (a bo
olean value)
[dein] stack traceback:
[dein] ^I...e/user/.SpaceVim/bundle/nvim-lspconfig/lua/lspconfig.lua:81: in function '__index'
[dein] ^I[string ":lua"]:49: in main chunk
pyright working fine, only annoing warning. k = True
18:12:15

Show newer messages


Back to Room ListRoom Version: 9