Commit Graph
898 Commits
Author SHA1 Message Date
David Bernazal bbf15ffc98 Ensure deps are installed 2025-07-01 09:31:04 -05:00
David Bernazal ae4ae5740f Fix ready signal and ignore Elixir tests using skipif 2025-07-01 08:55:40 -05:00
David Bernazal ca1bf842fe Merge branch 'main' into elixir-support 2025-07-01 07:36:54 -05:00
David Bernazal 2d45a39314 Remove windows tests and fix other tests 2025-07-01 07:33:57 -05:00
David Bernazal e9378ecf79 Fix CI failures: Add missing Elixir test repository source files
The lib/ directory was being ignored by the root .gitignore Python packaging rule.
This caused CI failures because test files like models.ex, services.ex, etc. were
missing from the repository.

- Add exception to .gitignore for test/resources/repos/elixir/test_repo/lib
- Add all missing Elixir source files:
  - examples.ex (example functions and data structures)
  - models.ex (User struct and related functions)
  - services.ex (UserService module)
  - test_repo.ex (main module)
  - utils.ex (utility functions)
  - ignored_dir/ignored_module.ex (for testing directory filtering)

These files are essential for Elixir language server tests to function properly.
2025-07-01 07:33:57 -05:00
David Bernazalandopcode81 75016674e1 Implement runtime dependency management for Next LS
Address PR #261 feedback by implementing proper runtime dependency management:

- Add runtime_dependencies.json with platform-specific Next LS binaries
- Implement setupRuntimeDependencies() method following EclipseJDTLS pattern
- Download and manage Next LS binaries in static directory for reproducible results
- Remove CI-based Next LS installation in favor of managed dependencies
- Support Linux, macOS (x64/ARM64), and Windows platforms
- Automatically handle binary permissions and executable naming
- Ensure fixed Next LS v0.23.3 version for all users

This approach provides better version control, reproducibility, and follows
the established pattern used by other language servers in the project.

Co-authored-by: opcode81 <opcode81@users.noreply.github.com>
2025-07-01 07:33:57 -05:00
David Bernazal 395f656736 Add Next LS installation to CI workflow
- Install Next LS v0.23.3 binary for all platforms (Linux, macOS, Windows)
- Download platform-specific binaries from GitHub releases
- Add binaries to PATH for use in Elixir language server tests
- Ensures Next LS is available for optimal Elixir test performance
- Resolves CI dependency requirements for Elixir language server integration
2025-07-01 07:33:57 -05:00
David Bernazal 6d7e4a2e5e Address PR #261 feedback: Add Elixir CI support and fix codespell error
- Add Elixir/Erlang setup to pytest.yml using erlef/setup-beam@v1
- Configure Elixir 1.18.4 and OTP 26.1 for CI compatibility
- Fix codespell false positive for '*cripts' glob pattern with ignore comment
- Resolves CI test failures for Elixir language server integration
2025-07-01 07:33:57 -05:00
David Bernazal c665099740 Elixir Support 2025-07-01 07:33:57 -05:00
Michael Panchenko bf7d9a4472 Changelog, readme (minor) [ci skip] 2025-07-01 14:33:11 +02:00
Michael Panchenko b3f2f168ea Merge pull request #263 from oraios/fix_file_ignores_and_pattern_search
Fix file ignores and pattern search
2025-07-01 14:23:53 +02:00
Michael Panchenko 6c670f54bd Fix in clojure tests: skipif needs a boolean, not a string 2025-07-01 14:23:22 +02:00
Michael Panchenko 790ca6eac4 Further fixes in path matching (consider the root path for isdir check) 2025-07-01 14:05:53 +02:00
Michael Panchenko c2c7d35e99 Extended docstring of SearchForPatternTool
The LM had a hard time doing good searches.
2025-07-01 13:18:59 +02:00
Tom Longhurst cfe3350c34 Fix C# Language Server (#262)
Now when the language server starts, the initialisation will scan for solution or project files, and then pass them to the language server instructing it to open them. Which in-turn should give us all the nice context since the code is actually being 'loaded' up properly now.
2025-06-30 22:39:44 +02:00
Michael Panchenko 4d3281b7e7 Simplify search_text interface and handling of patterns 2025-06-30 21:17:28 +02:00
Michael Panchenko 81e0a324a5 Possibility to restrict paths to search for
The LLM also tries passing the relative_path param to the tool
2025-06-30 21:16:49 +02:00
Michael Panchenko 993df0c25c Bugfix: match_path for gitignores was not working with anchored patterns 2025-06-30 19:40:05 +02:00
Michael Panchenko 16973aff61 Merge pull request #256 from johnnymo87/fix/ruby-import-error
fix(solargraph): Fix ImportError in Ruby language server
2025-06-29 19:54:56 +02:00
Jonathan Mohrbacher 11b2a72b1e fix(solargraph): Fix ImportError in Ruby language server 2025-06-29 11:46:24 -04:00
Michael Panchenko 1d7eddb43b Merge pull request #239 from thomhurst/feature/csharp-language-server
Microsoft.CodeAnalysis.LanguageServer for C#
2025-06-29 17:37:39 +02:00
Dominik Jain b67648819e Update lock file 2025-06-29 17:23:59 +02:00
Dominik Jain 58f70938cf Do not use a list of command items to launch the LS on Linux/macOS 2025-06-29 17:23:15 +02:00
Dominik Jain 8314aef732 Fix typo 2025-06-29 16:50:20 +02:00
Dominik Jain b5fb7867b3 ProcessLaunchInfo: Allow cmd to be a list, use a list for csharp_language_server 2025-06-29 16:44:59 +02:00
Dominik Jain 0d9fb0a196 Formatting 2025-06-29 16:44:37 +02:00
Dominik Jain 974fe95987 Revert "Don't use shell=True on windows, typos"
This reverts commit 548c7b0d2a.
2025-06-29 16:36:01 +02:00
Michael Panchenko 2ef1ecd6f6 Reverted \\ replacement in ls_utils 2025-06-29 15:36:25 +02:00
Michael Panchenko 548c7b0d2a Don't use shell=True on windows, typos 2025-06-29 15:35:56 +02:00
Michael Panchenko 0f205013c3 Merge branch 'main' into feature/csharp-language-server 2025-06-29 13:53:50 +02:00
Michael Panchenko 263d696ad9 Csharp ls: minor, mostly aesthetic improvements 2025-06-29 13:44:50 +02:00
Michael Panchenko 2e90418ade Added ruff rule to not complain on local imports 2025-06-29 13:44:12 +02:00
Michael Panchenko d7cdf85fe0 multilspy -> solidlsp in log messages 2025-06-29 13:05:20 +02:00
Miguel de Benito Delgado 808cc86248 Merge pull request #251 from mdbenito/feature/clojure-lsp
Support for clojure via clojure-lsp
2025-06-29 11:51:47 +02:00
Miguel de Benito Delgado cbb393dd72 Raise instead of assert in a couple of places 2025-06-29 11:42:49 +02:00
Michael Panchenko 53b115ee6d Merge pull request #255 from mdbenito/feature/pytest-xdist
Add pytest-xdist for parallel tests
2025-06-29 11:40:39 +02:00
Miguel de Benito Delgado 16c5af2882 Do not use -n auto in CI 2025-06-29 11:36:46 +02:00
Miguel de Benito Delgado 87f9d8a2e2 Add pytest-xdist for parallel tests 2025-06-29 11:13:43 +02:00
Miguel de Benito Delgado 612912b791 Fix logger use and improve detection of failed downloads in clojure setup 2025-06-29 10:51:27 +02:00
Miguel de Benito Delgado 254526d80d Test serena tools find symbol and find symbol references for clojure 2025-06-29 10:43:14 +02:00
Miguel de Benito Delgado 3bd8c4a944 Factor a couple of constants for clojure tests out 2025-06-29 10:41:17 +02:00
Miguel de Benito Delgado 8ac9d79076 Declare runtime deps inside clojure LS class 2025-06-29 10:22:48 +02:00
Miguel de Benito Delgado 320af42cf0 Merge branch 'oraios:main' into feature/clojure-lsp 2025-06-29 10:11:23 +02:00
Miguel de Benito Delgado b307ff10ca Fix executable name for windows 2025-06-29 10:07:21 +02:00
Miguel de Benito Delgado 62f5985aa5 Declare InitializeParams inside LS class 2025-06-29 10:07:00 +02:00
Michael Panchenko 9c6bb51b9d Fix in platformId in cpp runtime_dependencies.json 2025-06-29 02:13:20 +02:00
Michael PanchenkoandClaude a8b54077fe Fix Windows C# JSON parsing errors by normalizing paths
Normalize all paths to use forward slashes instead of backslashes to prevent
JSON parsing errors when Windows paths contain unescaped backslashes.
This affects PathUtils.uri_to_path() and PathUtils.get_relative_path().

Fixes JSONDecodeError: Invalid \escape and Expecting value errors in C# tests on Windows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 01:38:16 +02:00
Michael Panchenko 0ea317bd33 Restructured C# tests to be like the other tests 2025-06-29 01:00:43 +02:00
Michael Panchenko 365cb8e9d2 LS: more extensive and async shutdown logic
The C# process did not terminate properly
2025-06-29 00:55:20 +02:00
Michael Panchenko 0c282c7f90 minor 2025-06-29 00:53:48 +02:00