Commit Graph
2320 Commits
Author SHA1 Message Date
Dominik Jain 32a97eb306 Do not overwrite input variable for flexibility 2026-01-09 18:21:34 +01:00
Dominik Jain a5f586fda2 Add version check for new features, telling the caller to update 2026-01-09 13:34:57 +01:00
Erik Cervin-EdinandClaude Opus 4.5 77af789fc3 fix(java): add missing linux-arm64 configuration for Eclipse JDTLS
The linux-arm64 platform entry was missing required fields (jre_home_path,
jre_path, lombok_jar_path, jdtls_launcher_jar_path, jdtls_readonly_config_path)
causing a KeyError when activating Java projects on ARM64 Linux systems.

Fixes #486

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 11:22:16 +01:00
Alberto Simoes ff68b53397 Fix context and mode file detection logic
- Replace .yml extension check with proper file existence check
- Check if path exists as a file first before treating as name
- Raise FileNotFoundError for paths that look like files but don't exist
  (contains path separators or ends with .yml/.yaml)
- Improves error messages when file paths are invalid
2026-01-09 09:35:01 +00:00
Alberto Simões 4cdc2a7405 Merge pull request #1 from cx-alberto-simoes/Test
Validate if files exist, instead of just lookint to yml extension
2026-01-09 09:20:56 +00:00
Dominik Jain 337472a33a Postprocess HTML documentation in symbol overviews within the client, not the tool 2026-01-08 18:10:30 +01:00
Dominik Jain 01d0f26164 Post-process symbol collections in the client (implementing it centrally for all affected API calls) 2026-01-08 17:52:32 +01:00
Dominik Jain 76834ddf32 JetBrainsFindReferencingSymbolsTool: set include_quick_info to False by default
Signature info is not generally helpful when looking for references
2026-01-08 17:29:46 +01:00
Alberto Simoes c25fb66262 Instead of checking for extension, check if file exists 2026-01-08 15:02:22 +00:00
Dominik Jain 18a9a13f69 Add type jb.GetSymbolsOverviewResponse 2026-01-08 16:02:16 +01:00
Alberto Simoes 201db5afcb Instead of checking for extension, check if file exists 2026-01-08 15:00:00 +00:00
Dominik Jain e1e7c233ed JetBrainsPluginClient.get_symbols_overview: Add parameter include_file_documentation 2026-01-08 15:48:46 +01:00
Dominik Jain 25db8275a0 JetBrainsPluginClient.find_symbol: Change new flag defaults to False 2026-01-08 15:33:55 +01:00
Dominik Jain 04d9abd854 Fix incorrect default in docstring 2026-01-08 15:15:02 +01:00
Dominik Jain 360e8d31c6 JetBrainsPluginClient: Consistently use private members 2026-01-08 15:05:41 +01:00
Dominik Jain 0da7abd324 Log JetBrains plugin version for matching client 2026-01-08 15:05:41 +01:00
Dominik Jain e3915371b4 Check for (non-)recoverable error only for 2023.2.6+, where status code is differentiated 2026-01-08 15:05:41 +01:00
Dominik Jain 559250cfdd Get plugin status upon client construction, storing version 2026-01-08 15:05:41 +01:00
Dominik Jain e996e914cf Add version util 2026-01-08 15:05:41 +01:00
Dominik Jain a45500be5f Add plugin error preamble only for non-recoverable errors 2026-01-08 14:07:39 +01:00
Dominik Jain 7bd70e9631 Remove TODO 2026-01-08 13:39:05 +01:00
Dominik Jain eb54e834b6 Do not use placeholder in example command 2026-01-06 18:04:39 +01:00
Dominik Jain 5104c7008e Fix exception message 2026-01-06 18:04:39 +01:00
Alberto Simoes 870aa2cc3a Support --mode and --context with yaml files 2026-01-06 15:21:42 +00:00
Michael Panchenko 72ce32a65a Fix jetbrains plugin setup instructions
Typo in config file path for windows and missing instructions on how to verify that the setup works
2026-01-06 09:56:05 +07:00
Roman Nikulenkov 51829c5866 docs: add copilot instructions referencing CLAUDE.md 2026-01-05 17:47:34 +03:00
Roman Nikulenkov 1643c14aae refactor(gopls): streamline gopls settings validation and JSON serialization
test(go): add assertions for SolidLanguageServer cache states
2026-01-05 17:00:54 +03:00
Roman Nikulenkov 71d23277da feat(gopls): support gopls_settings via ls_specific_settings
- Forward ls_specific_settings.go.gopls_settings to gopls as LSP initializationOptions (JSON-validated)
- Add cache context fingerprinting so persisted symbol caches are invalidated when Go build context changes (e.g. buildFlags, GOFLAGS, GOOS, GOARCH, CGO_ENABLED)
- Add build-tag fixtures + tests covering tag-dependent symbols and cache invalidation
- Document ls_specific_settings + Go example in configuration docs
2026-01-05 15:58:43 +03:00
Michael Panchenko 1b862ee687 Enhanced error message for plugin API errors 2026-01-05 11:33:37 +07:00
Michael Panchenko a69832dae5 Always show at least quick_info (but not docstring) in jb_find_symbol 2026-01-04 23:01:27 +07:00
Jordan Munch O'HareandJordan Munch O'Hare 962fb486b6 fix(elm): resolve ELM_HOME path and wait for workspace initialization (#885)
- Convert relative ELM_HOME to absolute path based on repository root,
  fixing package discovery when devbox uses relative paths like '.elm'
- Wait for textDocument/publishDiagnostics before marking server ready,
  ensuring workspace is fully scanned before accepting LSP requests
- Use shutil.which() for elm tool paths in initialization options

Fixes 'No Elm workspace contains' errors when elm-language-server
starts before workspace indexing completes.

Co-authored-by: Jordan Munch O'Hare <git@jordan.munchohare.com>
2026-01-04 12:24:04 +01:00
Michael Panchenko 5b0705c373 New field in JB type 2026-01-04 18:16:58 +07:00
969ec5e510 Fix linux-musl platform ID string format to match PlatformId enum (#899)
The get_platform_id() function was generating "linux-arm64-musl" but the
PlatformId enum expects "linux-musl-arm64". This caused a ValueError on
musl-based Linux systems (e.g., Alpine Linux on arm64).

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

Co-authored-by: mhaynie <mhaynie@pazer.us>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 12:13:26 +01:00
Ketema Harris c807e98191 Enhance rust-analyzer detection by checking common paths
Includes tests that rely on mocks
2026-01-04 12:11:52 +01:00
Michael Panchenko 16c6b7eacf Fixes in typed dicts (incorrect translation from java) 2026-01-03 20:03:33 +07:00
Michael Panchenko 7be24d185f Rename module (typo) 2026-01-03 19:31:30 +07:00
Michael Panchenko e3fa2d0b67 Fixed NotRequired vs None annotations in jetbrain_types.py 2026-01-03 19:28:53 +07:00
Michael Panchenko d3f3326011 Added symbol info by default in LS based FindReferencingSymbolsTool
Previously we extracted a few content lines around the symbol instead
2026-01-03 19:13:38 +07:00
Michael Panchenko 1d5cf33237 Support for info in JB symbols and various improvements. Adds bs4 to deps
- Added typed dicts for most responses in jetbrains_types.py
- Fix bug in code_editor (location key no longer existed, found by mypy after adding the types)

Should be merged after next version of plugin release
2026-01-03 18:43:02 +07:00
Michael Panchenko 4f5d894bcd Merge branch 'refs/heads/main' into feature/docstring_and_signature
# Conflicts:
#	src/serena/tools/jetbrains_tools.py
2026-01-03 18:29:14 +07:00
Michael Panchenko 5e7d5469cf Merge pull request #863 from oraios/improved_overview_tools
Improved overview tools
2026-01-03 18:27:53 +07:00
Michael Panchenko d03c057382 Removed symbol from hierarchy tool response 2026-01-03 14:56:46 +07:00
Michael Panchenko 036625e809 Merge branch 'main' into feature/docstring_and_signature 2026-01-03 11:00:58 +07:00
Seyed (Yahya) Shirazi f758a3d19c Add MATLAB language server support (#893)
Requires Matlab and node to be installed, using vscode Matlab extension as LS
2026-01-01 21:56:23 +07:00
Michael Panchenko 823e7c6325 Merge pull request #862 from triepod-ai/feat/add-tool-annotations
feat: Add tool annotations for improved LLM tool understanding
2026-01-01 19:07:26 +07:00
Michael Panchenko 6ae5757ed5 Pinned ruamel to 0.18.14
From 0.19 on ruamel requires C++ build tools on windows
2026-01-01 19:00:53 +07:00
Dominik Jain a8c720e3b4 Reorder tool inclusion definitions for improved flexibility
(allowing, in particular, open_dashboard to be disabled by SerenaConfig)
2025-12-28 22:56:04 +01:00
Dominik Jain 05b93fd469 Improve comments 2025-12-28 21:12:34 +01:00
Dominik Jain 2138adf4d4 Use subprocess instead of multiprocessing to open the dashboard
(output redirection with multiprocessing worked only when called
from the main thread)
2025-12-28 21:12:34 +01:00
Dominik Jain 0f5d86aadf Improve handling of OpenDashboardTool
* Mark the tool as optional (disabled by default)
  * Enable the tool if the dashboard is enabled, not opened and the GUI is off
  * Improve factorisation and return value/error handling
2025-12-28 21:04:12 +01:00