halfbrained / cuda_lsp Goto Github PK
View Code? Open in Web Editor NEWLSP Client plugin for CudaText
LSP Client plugin for CudaText
NOTE:LSP: Python - Failed to create process, command: None; Error: 'NoneType' object is not iterable
Startup: 310ms, plugins: 170ms (console_complete 21ms, runner 23ms, hilite_occurrences 6ms, lsp 124ms, terminal_plus 1ms, tab_icons 1ms)
Init: cudatext
import sys
_plugin_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(_plugin_dir, 'lsp_modules'))
import cuda_project_man
from .book import DocBook
maybe move them into 'work' function?
ProjMan-- must have! it's slow
когда я в одной строке вожу по Id влево, вправо (быстро чтобы плагин подавился) то получается так двигать чтобы один из "стопов" ничего не дал. как будто ивент пропустился.
e.g. on the top of hover-form we can place (underlined) blue hyperlink like "file.py:20" which can be clicked in this hover form.
because settings/ dir is more suitable for configs.
name prefix "lsp_" is needed, to find files of only LSP.
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_tab_icons
Init: cuda_hilite_occurrences
Init: cuda_lsp
Loaded session: "history session.json", 120ms, 1 file(s)
Startup: 290ms, plugins: 160ms (console_complete 16ms, runner 19ms, tab_icons 2ms, hilite_occurrences 6ms, lsp 119ms)
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 375, in dbg_show_msg
lang = self._langs[langid]
KeyError: 'python'
ERROR: Exception in CudaText for dbg_show_msg: KeyError: 'python'
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_tab_change: ModuleNotFoundError: No module named 'wcmatch'
Loaded session: "history session.json", 130ms, 0 file(s)
Startup: 290ms, plugins: 160ms (console_complete 17ms, runner 18ms, lsp 129ms)
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'wcmatch'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from wcmatch.glob import globmatch, GLOBSTAR, BRACE
ModuleNotFoundError: No module named 'wcmatch'
ERROR: Exception in CudaText for cuda_lsp.shutdown_server: ModuleNotFoundError: No module named 'wcmatch'
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 276, in on_state
if state == APPSTATE_SESSION_LOAD_BEGIN: # started
NameError: name 'APPSTATE_SESSION_LOAD_BEGIN' is not defined
ERROR: Exception in CudaText for on_state: NameError: name 'APPSTATE_SESSION_LOAD_BEGIN' is not defined
on this line
msg_status(msg + _('Text is already formatted'))
after "Te" i got completion "Telegram/ .... text"
must insert this
app_idle(|)
but it does
app_idle(wait)|
это позволит не раздражать юзера когда он просто двигает мышкой, а у него попАпы лезут.
а также поправить вызовы mouse_stop когда он идет в top menu.
on_key(self, ed_self, key, state): Called when user presses a key in editor. Param "key" is int key code; values are listed in the module cudatext_keys. Param "state" is string of chars: "a" if Alt pressed, "c" if Ctrl pressed, "s" if Shift pressed, "m" if Meta (Windows-key) pressed. Method can return False to disable key processing, other return value is ignored.
on_key_up(self, ed_self, key, state): Called when user depresses a key in editor. Params meaning is the same as in "on_key". Currently called only for Ctrl/Shift/Alt keys (to not slow down).
so you didn't handle that event?
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_tab_icons
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from .wcmatch.glob import globmatch, GLOBSTAR, BRACE
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/glob.py", line 28, in <module>
from . import _wcparse
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/_wcparse.py", line 25, in <module>
import bracex
ModuleNotFoundError: No module named 'bracex'
ERROR: Exception in CudaText for cuda_lsp.on_open: ModuleNotFoundError: No module named 'bracex'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from .wcmatch.glob import globmatch, GLOBSTAR, BRACE
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/glob.py", line 28, in <module>
from . import _wcparse
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/_wcparse.py", line 25, in <module>
import bracex
ModuleNotFoundError: No module named 'bracex'
ERROR: Exception in CudaText for cuda_lsp.on_open: ModuleNotFoundError: No module named 'bracex'
Init: cuda_hilite_occurrences
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from .wcmatch.glob import globmatch, GLOBSTAR, BRACE
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/glob.py", line 28, in <module>
from . import _wcparse
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/_wcparse.py", line 25, in <module>
import bracex
ModuleNotFoundError: No module named 'bracex'
ERROR: Exception in CudaText for cuda_lsp.on_open: ModuleNotFoundError: No module named 'bracex'
Loaded session: "history session.json", 160ms, 3 file(s)
Startup: 320ms, plugins: 180ms (console_complete 16ms, runner 19ms, tab_icons 2ms, lsp 142ms, hilite_occurrences 5ms)
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from .wcmatch.glob import globmatch, GLOBSTAR, BRACE
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/glob.py", line 28, in <module>
from . import _wcparse
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/_wcparse.py", line 25, in <module>
import bracex
ModuleNotFoundError: No module named 'bracex'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'bracex'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 12, in <module>
from .wcmatch.glob import globmatch, GLOBSTAR, BRACE
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/glob.py", line 28, in <module>
from . import _wcparse
File "/home/user/.config/cudatext/py/cuda_lsp/wcmatch/_wcparse.py", line 25, in <module>
import bracex
ModuleNotFoundError: No module named 'bracex'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'bracex'
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_tab_icons
Init: cuda_hilite_occurrences
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from pydantic import parse_obj_as, ValidationError
ModuleNotFoundError: No module named 'pydantic'
ERROR: Exception in CudaText for cuda_lsp.on_open: ModuleNotFoundError: No module named 'pydantic'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from pydantic import parse_obj_as, ValidationError
ModuleNotFoundError: No module named 'pydantic'
ERROR: Exception in CudaText for cuda_lsp.on_tab_change: ModuleNotFoundError: No module named 'pydantic'
Loaded session: "history session.json", 170ms, 1 file(s)
Startup: 350ms, plugins: 200ms (console_complete 17ms, runner 19ms, tab_icons 3ms, hilite_occurrences 8ms, lsp 154ms, terminal_plus 1ms)
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from pydantic import parse_obj_as, ValidationError
ModuleNotFoundError: No module named 'pydantic'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'pydantic'
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_tab_icons
Init: cuda_hilite_occurrences
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from .pydantic import parse_obj_as, ValidationError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/__init__.py", line 2, in <module>
from . import dataclasses
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/dataclasses.py", line 3, in <module>
from .class_validators import gather_all_validators
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/class_validators.py", line 8, in <module>
from .errors import ConfigError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/errors.py", line 5, in <module>
from .typing import display_as_type
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/typing.py", line 23, in <module>
from typing_extensions import Annotated, Literal
ModuleNotFoundError: No module named 'typing_extensions'
ERROR: Exception in CudaText for cuda_lsp.on_open: ModuleNotFoundError: No module named 'typing_extensions'
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from .pydantic import parse_obj_as, ValidationError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/__init__.py", line 2, in <module>
from . import dataclasses
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/dataclasses.py", line 3, in <module>
from .class_validators import gather_all_validators
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/class_validators.py", line 8, in <module>
from .errors import ConfigError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/errors.py", line 5, in <module>
from .typing import display_as_type
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/typing.py", line 23, in <module>
from typing_extensions import Annotated, Literal
ModuleNotFoundError: No module named 'typing_extensions'
ERROR: Exception in CudaText for cuda_lsp.on_tab_change: ModuleNotFoundError: No module named 'typing_extensions'
Loaded session: "history session.json", 160ms, 1 file(s)
Startup: 330ms, plugins: 190ms (console_complete 16ms, runner 19ms, tab_icons 2ms, hilite_occurrences 5ms, lsp 154ms)
Init: cuda_lsp
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/__init__.py", line 1, in <module>
from .lsp import Command
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 9, in <module>
from .language import Language
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 19, in <module>
from .dlg import Hint
File "/home/user/.config/cudatext/py/cuda_lsp/dlg.py", line 6, in <module>
from .sansio_lsp_client.structs import MarkupKind
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/__init__.py", line 3, in <module>
from .client import *
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/client.py", line 6, in <module>
from .pydantic import parse_obj_as, ValidationError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/__init__.py", line 2, in <module>
from . import dataclasses
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/dataclasses.py", line 3, in <module>
from .class_validators import gather_all_validators
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/class_validators.py", line 8, in <module>
from .errors import ConfigError
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/errors.py", line 5, in <module>
from .typing import display_as_type
File "/home/user/.config/cudatext/py/cuda_lsp/sansio_lsp_client/pydantic/typing.py", line 23, in <module>
from typing_extensions import Annotated, Literal
ModuleNotFoundError: No module named 'typing_extensions'
ERROR: Exception in CudaText for cuda_lsp.on_mouse_stop: ModuleNotFoundError: No module named 'typing_extensions'
I sugest to show this
filename.py, line 202
/path/of/dir1
file2.py, line 303
/path/of/dir2
tilde don't work. '/home/user/.local/bin/pyls` works
what u can do: move all modules to subfolder lsp_modules and add to sys.path THAT dir.
Python 3.8.5
Init: cuda_console_complete
Init: cuda_runner
Init: cuda_tab_icons
Init: cuda_hilite_occurrences
Init: cuda_lsp
Loaded session: "history session.json", 120ms, 1 file(s)
Startup: 300ms, plugins: 160ms (console_complete 20ms, runner 20ms, tab_icons 3ms, hilite_occurrences 6ms, lsp 117ms)
Init: cudatext
Traceback (most recent call last):
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 205, in on_lexer
self.on_open(ed_self)
File "/home/user/.config/cudatext/py/cuda_lsp/lsp.py", line 163, in on_open
if lang.on_open(doc): # doc's .lang is set only when was actually didOpen-ed
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 316, in on_open
if self.client.is_initialized:
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 91, in client
self._start_server()
File "/home/user/.config/cudatext/py/cuda_lsp/language.py", line 116, in _start_server
self.process = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyls'
ERROR: Exception in CudaText for on_lexer: FileNotFoundError: [Errno 2] No such file or directory: 'pyls'
better give NOT crash but nice error msg.
[info]
title=LSP Client
desc=Support LSP (Language Server Protocol) servers, for different languages
ie work begins
Plug loads 100+ msec. big.
10 default is ok.
the cmd_unix is for all other unixes (Lin, BSD, Solaris.,..)
eg for HTML server users may need to set N lexers for 1 server:
so lang_ids is not needed, let user write this mapping!
lang_ids = {
'ABAP': 'abap',
'Windows Bat': 'bat',
'Batch files': 'bat',
'BibTeX': 'bibtex',
'Clojure': 'clojure',
'Coffeescript': 'coffeescript',
'C': 'c',
'C++': 'cpp',
'C#': 'csharp',
ed.set_prop(PROP_LINE_TOP, max(0, n-3))
after #29, i did some completion Enter, then Undo. 2-3 times.
then server does this crap
it will force users to have json lexer.
no need to show filename (base) 2 times!
kvichans uses Python lexer renamed to smth. how to support that?
{
"langids": ["python"],
"cmd": ["/home/user/.local/bin/pyls"]
}
it is my config. how?
Started LSP server: py
* got shutdown response, exiting
show LSP: started server "py"
, etc
PROP_LAST_LINE_ON_TOP: bool: allow to scroll control, so last line shows on top.
set to False. nicer.
Started LSP server: py
-
not nice. better show the server name here: 'python'.
line
msg_status(msg + _("Cannot format selection(s)"))
call completion after "msg",choose"msg_box". result is bad str.
msg_box(text, flags)(msg + _("Cannot format selection(s)"))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.