Code Monkey home page Code Monkey logo

ide-bash's People

Contributors

aminya avatar mads-hartmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

aminya

ide-bash's Issues

Issues with VS Code

I've just started using VS Code as an IDE for Bash scripts and I'm having some rather irritating issues. These issue are seen under Kubuntu 19.10, Ubuntu 18.04, and Fedora 31, but none of these issues are seen under Windows 10 or CentOS 7.6 with the same exact script, extensions and settings (sync'd via Settings Sync).

I have the following extension installed (among others, but these seem to be the ones that affect me):

Bash Debug from rogalmic, version 0.3.6

Bash IDE from Mads Hartmann version 1.3.3 (bash-language-server is installed but not the Docker container for explainshell)

The issues I'm seeing:

If I type something that is not (yet) completely correct, such as typing the word "if" on a line, the entire file gets red squiggly underlines. Damned annoying, and not at all helpful.

The auto-complete does not seem to understand Bash at all. I type "if foo ; then" and hit Enter, and the word "then" gets changed to "gdk-pixbuf-thumbnailer".

I started trying different version of each and found that Code 1.31.1 and Bash IDE 1.3.0 are the newest ones that don't show the issues on Kubuntu 19.10.

VS Code   Bash IDE  Result
1.40.2    1.3.3     BAD
1.31.1    1.3.3     BAD
1.31.1    1.1.1     OK
1.31.1    1.2.0     OK
1.31.1    1.3.0     OK
1.31.1    1.3.2     BAD
1.31.1    1.3.1     BAD
1.31.1    1.3.0     OK (Confirmed)
1.32.3    1.3.0     BAD
1.32.2    1.3.0     BAD
1.32.1    1.3.0     BAD

Multiple warnings when building in Windows 10

FYI HTH. A list of the warning messages when installing to Windows 10

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> npm i -g bash-language-server
C:\Users\papesr\AppData\Roaming\npm\bash-language-server -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\bin\main.j
s

> [email protected] install C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter
> node-gyp rebuild


C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter>if not defined npm_config_node_gyp (node "C:\
Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else
(node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Warning: Missing input files:
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\prepare_grammar.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\parse_table_builder.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\flatten_grammar.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\precedence_range.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\expand_tokens.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\rule_can_be_blank.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\lex_item_transitions.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\externals\json-parser\json.c
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\syntax_grammar.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\parse_item.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rules\character_set.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\lex_table.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rules\metadata.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\normalize_rules.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\parse_table.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\generate_code\c_code.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\extract_choices.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rules\choice.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\parse_regex.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\parse_grammar.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\lex_table_builder.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rules\repeat.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\parse_item_set_builder.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\lex_item.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\expand_repeats.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\extract_tokens.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\intern_symbols.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\util\string_helpers.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\build_tables\lookahead_set.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rules\seq.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\compile.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\rule.cc
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\..\..\..\vendor\tree
-sitter\src\compiler\prepare_grammar\token_description.cc
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  document.c
  get_changed_ranges.c
  language.c
  lexer.c
  node.c
  stack.c
  parser.c
  string_input.c
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-lang
uage-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-lang
uage-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-lang
uage-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\string_input.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\document.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\stack.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-s
erver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bas
h-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-s
erver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bas
h-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-s
erver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\parser.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bas
h-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\get_changed_ranges.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-se
rver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\lexer.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language
-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\language.c)
..\..\..\vendor\tree-sitter\src\runtime\lexer.c(47): warning C4244: '=': conversion from 'int64_t' to 'uint32_t', possible loss of data [C:
\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\node.c)
  tree.c
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(51)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(60)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c)
C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69):
warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'std::size_t'
 (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c) [C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-ser
ver\node_modules\tree-sitter\build\vendor\tree-sitter\runtime.vcxproj]
  C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\vendor\tree-sitter\src\runtime/alloc.h(69)
  : note: consider using '%zu' in the format string (compiling source file ..\..\..\vendor\tree-sitter\src\runtime\tree.c)
  utf16.c
  utf8proc.c
  win_delay_load_hook.cc
  runtime.vcxproj -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\Release\\runtime.
  lib
  ast_node.cc
  ast_node_array.cc
  binding.cc
  logger.cc
  document.cc
  input_reader.cc
  conversions.cc
  win_delay_load_hook.cc
..\src\input_reader.cc(51): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data [C:\Users\papesr\AppData\Roam
ing\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
c:\users\papesr\appdata\roaming\npm\node_modules\bash-language-server\node_modules\nan\nan_new.h(208): warning C4244: 'argument': conversio
n from 'uint64_t' to 'double', possible loss of data (compiling source file ..\src\ast_node.cc) [C:\Users\papesr\AppData\Roaming\npm\node_m
odules\bash-language-server\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  ..\src\ast_node.cc(329): note: see reference to function template instantiation 'v8::Local<v8::Number> Nan::New<v8::Number,uint64_t>(A0)'
   being compiled
          with
          [
              A0=uint64_t
          ]
     Creating library C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\Release\tree_sit
  ter_runtime_binding.lib and object C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\build\R
  elease\tree_sitter_runtime_binding.exp
  Generating code
  Finished generating code
  tree_sitter_runtime_binding.vcxproj -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\bui
  ld\Release\\tree_sitter_runtime_binding.node
  tree_sitter_runtime_binding.vcxproj -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter\bui
  ld\Release\tree_sitter_runtime_binding.pdb (Full PDB)

> [email protected] install C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash
> node-gyp rebuild


C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash>if not defined npm_config_node_gyp (node
 "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )
else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  parser.c
  binding.cc
  scanner.cc
  win_delay_load_hook.cc
     Creating library C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash\build\Release\tre
  e_sitter_bash_binding.lib and object C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash\
  build\Release\tree_sitter_bash_binding.exp
  Generating code
  Finished generating code
  tree_sitter_bash_binding.vcxproj -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash\b
  uild\Release\\tree_sitter_bash_binding.node
  tree_sitter_bash_binding.vcxproj -> C:\Users\papesr\AppData\Roaming\npm\node_modules\bash-language-server\node_modules\tree-sitter-bash\b
  uild\Release\tree_sitter_bash_binding.pdb (Full PDB)
+ [email protected]
added 20 packages in 40.061s
PS C:\Windows\system32>

Allow configuring path to language server

Thanks for this package!

It would be neat if there was a setting in this package that allowed configuring the path to the language server instead of requiring to put it in a directory that is part of the PATH environment variable. This would allow building and installing the language server somewhere non-globally.

Error: Connection is disposed when opening preferences

[Enter steps to reproduce:]

  1. ^, to open preferences
  2. ...

Atom: 1.28.2 x64
Electron: 2.0.5
OS: "Fedora release
Thrown From: ide-bash package 1.0.11

Stack Trace

Uncaught Error: Connection is disposed.

At /home/jhonce/.atom/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:616

Error: Connection is disposed.
    at /packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:138:28)
    at throwIfClosedOrDisposed (/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:616:19)
    at Object.sendNotification (/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:667:13)
    at LanguageClientConnection._sendNotification (/packages/ide-bash/node_modules/atom-languageclient/build/lib/languageclient.js:364:19)
    at LanguageClientConnection.didChangeConfiguration (/packages/ide-bash/node_modules/atom-languageclient/build/lib/languageclient.js:134:14)
    at _disposable.add.atom.config.observe (/packages/ide-bash/node_modules/atom-languageclient/build/lib/auto-languageclient.js:263:36)
    at onDidChangeKeyPath.event (/usr/share/atom/resources/app/src/config.js:1057:60)
    at emitter.on (/usr/share/atom/resources/app/src/config.js:1067:22)
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Config.emitChangeEvent (/usr/share/atom/resources/app/src/config.js:1226:62)
    at Config.setRawValue (/usr/share/atom/resources/app/src/config.js:1052:23)
    at Config.set (/usr/share/atom/resources/app/src/config.js:715:18)
    at SettingsPanel.set (/usr/share/atom/resources/app/node_modules/settings-view/lib/settings-panel.js:238:34)
    at /usr/share/atom/resources/app/node_modules/settings-view/lib/settings-panel.js:333:36
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at TextBuffer.module.exports.TextBuffer.emitDidStopChangingEvent (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:1817:26)
    at later (/usr/share/atom/resources/app/node_modules/text-buffer/lib/helpers.js:28:13)

Commands

  2x -0:31.3.0 tabs:close-all-tabs (div.title.icon.icon-file-symlink-file.dark-blue)
     -0:20.6.0 settings-view:open (atom-pane.pane.active)

Non-Core Packages

atom-alignment 0.13.0 
atom-beautify 0.32.5 
atom-ide-ui 0.12.0 
atom-material-syntax 1.0.8 
atom-material-syntax-dark 1.0.0 
atom-material-syntax-light 0.4.6 
atom-material-ui 2.1.3 
busy-signal 1.4.3 
file-icons 2.1.22 
file-watcher 1.2.6 
git-blame 1.7.0 
go-debug 1.6.2 
go-plus 5.8.3 
highlight-selected 0.14.0 
ide-bash 1.0.11 
ide-go 0.7.0 
ide-html 0.4.2 
ide-json 0.2.1 
ide-python 1.0.0 
ide-yaml 0.4.3 
intentions 1.1.5 
language-diff 0.7.0 
language-docker 1.1.8 
language-dots 0.0.4 
language-ini 1.20.0 
language-markdown 0.26.0 
language-roff 1.2.2 
language-rpm-spec 0.16.0 
linter 2.2.0 
linter-ui-default 1.7.1 
minimap 4.29.8 
minimap-highlight-selected 4.6.1 
minimap-linter 2.1.3 
open-recent 5.0.0 
platformio-ide-terminal 2.8.3 
project-manager 3.3.6 
python-import-magic 2.0.0 
sort-lines 0.18.0 
tidy-tabs 0.4.0 
todo-show 2.3.0 
toggle-quotes 1.1.0 
tree-view-git-status 1.5.0 

Irritating Issue: Problem Tab shows up att the time while Hovering even when it is minimized

Version: 1.36.1
Commit: 2213894ea0415ee8c85c5eea0d0ff81ecc191529
Date: 2019-07-08T22:55:08.091Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 5.0.0-21-generic

As shown in the following image I can close the problem tab pane by clicking on the X symbol at the end. When the extension is enabled, it opens the pane, whenever I hover on any part of the code, which is a bit annoying as, not all the time we want the pane to be open.

If somebody wants it, they could manually open the pane and hover on the code.

image

Update package on repository

When downloading from APM, the package does not have the Windows fix (#9 for #4), which means it still does not start the language server correctly. Could you push the update forwards to the atom package repository, please?

Uncaught Error: Connection is closed.

[Enter steps to reproduce:]

  1. work with atom on a cloudformation template

Atom: 1.30.0 x64
Electron: 2.0.5
OS: Mac OS X 10.13.6
Thrown From: ide-bash package 1.0.11

Stack Trace

Uncaught Error: Connection is closed.

At /Users/phillipstockmann/.atom/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:613

Error: Connection is closed.
    at /packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:138:28)
    at throwIfClosedOrDisposed (/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:613:19)
    at Object.sendNotification (/packages/ide-bash/node_modules/vscode-jsonrpc/lib/main.js:667:13)
    at LanguageClientConnection._sendNotification (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/languageclient.js:242:15)
    at LanguageClientConnection.didChangeWatchedFiles (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/languageclient.js:143:10)
    at ServerManager.projectFilesChanged (/packages/ide-puppet/node_modules/atom-languageclient/build/lib/server-manager.js:233:33)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at didChangeCallback (/Applications/Atom.app/Contents/Resources/app/src/project.js:413:28)
    at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:533:13)
    at sub.native.onDidChange.events (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:436:64)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at NSFWNativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:167:24)
    at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:276:18)

Commands

     -8:15.8.0 core:backspace (input.hidden-input)
     -8:14.6.0 core:delete (input.hidden-input)
 11x -8:13.9.0 core:move-right (input.hidden-input)
     -8:01.1.0 core:save (input.hidden-input)
  3x -6:44 core:backspace (input.hidden-input)
     -5:16.3.0 core:move-right (input.hidden-input)
  4x -5:15.1.0 core:move-left (input.hidden-input)
  4x -5:14.4.0 core:move-right (input.hidden-input)
     -5:13.4.0 core:backspace (input.hidden-input)
     -5:11.1.0 core:delete (input.hidden-input)
  7x -5:10.5.0 core:move-left (input.hidden-input)
     -4:56 core:backspace (input.hidden-input)
     -4:03.8.0 core:save (input.hidden-input)
  2x -3:35.7.0 datatip:toggle (input.hidden-input)
  2x -3:34.3.0 core:save (input.hidden-input)
  3x -2:41.7.0 core:move-left (input.hidden-input)

Non-Core Packages

aligner 1.2.4 
aligner-javascript 1.3.0 
aligner-puppet 0.1.1 
atom-cform-yaml 0.5.1-0 
atom-ide-ui 0.13.0 
atom-inline-blame 0.0.6 
build 0.70.0 
build-dockerfile 1.0.1 
build-gradle 0.6.0 
busy-signal 1.4.3 
docker 0.8.0 
editorconfig 2.2.2 
git-plus 8.0.2 
go-plus 5.8.6 
Hydrogen 2.5.1 
ide-bash 1.0.11 
ide-docker 0.0.2 
ide-go 0.12.3 
ide-json 0.2.1 
ide-puppet 1.3.1 
ide-python 1.0.0 
ide-yaml 0.4.4 
language-ansible 0.2.2 
language-docker 1.1.8 
language-groovy 0.7.0 
language-jenkinsfile 0.1.1 
language-puppet 0.23.0 
language-yaml-cloudformation 0.3.1 
linter 2.2.0 
linter-docker 0.3.2 
linter-jenkins 1.0.2 
linter-js-cloudformation-yaml 2.2.1 
linter-puppet-lint 0.8.4 
multi-cursor 2.1.5 
tab-length 0.1.0 

Atom Error: Unable to start the Bash language server in Windows

I get these errors when starting Atom (on Windows 10), or reloading the ide-bash plugin

  • "Unable to start the Bash language server, Please make sure you've followed the System Requirements section in the README"
  • "BashIDE language server for Shell Script unable to start, Error: spawn bash-language-server ENOENT"

image

Set up everything correctly AFAICT ,and I have just installed the latest release of Atom (1.27.2 x64)

( this issue is forked from comments in #2 )
( could be mitigated by #1 )
( seems quite similar to bash-lsp/bash-language-server#41 )

I think it's happening here in main.js. Maybe "spawn" isn't smart enough to find the npm package in windows

https://github.com/mads-hartmann/ide-bash/blob/ff7acfe95a37915ed8e1effe75df88e2b073c5e0/src/main.js#L29-L31

I found a couple of things to look into

Attempt to run npm i -g bash_language server command

When I try to run the command to enable the bash language server, this is the result

npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: use String.prototype.padStart()
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142

changed 115 packages, and audited 116 packages in 5s

3 packages are looking for funding
run npm fund for details

found 0 vulnerabilities

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.