Releases: AdaCore/ada_language_server
Releases · AdaCore/ada_language_server
25.0.20241014
Release notes
- Fix the removal of old log files in the
~/.als
directory - Fix the
Ada: Go to other file
command for child packages - Fix various project loading issues after significant changes in the GPR2 project loading API
- Make sure all project issues are emitted as diagnostics
- Avoid lingering diagnostics from earlier failed loading attempts
- Treat a subclass of non-critical project issues as non-blocking for the ALS
- Add a setting
ada.projectDiagnostics
to control whether the ALS should emit project diagnostics
- Fix the
ada: Run main
task when the main executable is at the workspace root
25.0.20240915
Release notes
- Implement type hierarchy requests
- Migrate the build infrastructure to ALIRE
- Migrate the VSIX publication infrastructure out of GitHub Actions
- Revamp the VS Code extension walkthrough
- Filter invisible completion items by unit prefix
- Provide SPARK CodeLenses on subprograms when gnatprove is on PATH
- Improve completion for GPR project files
24.0.6
- Add Alire support for GPR language
- Take into account selection for 'sort dependencies' refactoring
- Add basic support for ALIRE in VS Code tasks
- Add tasks for GNAT SAS, GNATdoc and GNATtest
- Auto-import action for invisible completion items
- Improve hover feature for GPR files
- Run
alr show
andalr printenv
in a sequence - Other bug fixes
- Load GNATtest tests in the Testing view.
- Run individual tests or subsets of tests from the Testing view.
24.0.5
- Display GPR errors and warnings in diagnostics
- Rework the GNATtest integration in VS Code
- Fix request traces in log files
- More requests for GPR language
- definition
- declaration
- completion
- Fix tasks based on current location
24.0.4
- Improve auto import suggestion
- Add all the missing workspace directories at once
- Add a 'Do not show again' button in missing dirs' popup
- Create a launch configuration for each main for attaching to a running process
- Make debug configurations have preLaunchTask fields pointing to build tasks
- Package a sourcemap file for the Ada extension
- Use case-sensitive search when renaming comments
- Handle null environment variable in vscode settings
- Implement a CodeLens provider of run and debug actions
24.0.3
- Mac OS Apple M1 experimental support
- Tooltips for aspects, pragmas and attributes
- GPR LS: with clauses, Case/When statements in Symbols
- GPR LS: completion request for package & attributes
- Fix extension publishing on Marketplace
24.0.2
- Experimental support on aarch64-linux platform
- Fix prepareCallHierarchy request
- Fix completion at the top of files
- Hover request in GPR files
- Depricate 'gnat' and 'gpr' tasks with 'ada' and 'spark'
- Create a parent node for with-clauses in documentSymbols request
- Organize settings into meaningful groups
- Show a popup to reload the window on environment changes
24.0.1
This is the first release using the LSP 3.17 protocol.
We utilized the JSON metamodel to generate message types
and interfaces for working with them. Due to significant
changes in many types, a large portion of the code was
rewritten. Although all our tests pass, it is possible
that some errors have not yet been discovered.
Nevertheless, the new protocol will enable us to
implement even more new features for Ada in the future.
- Create a VS Code task to compile the current file
- Create a gdb debugging launch configuration
- Publish all diagnostics when refactorings fail
23.0.21
- Fix VS Code extension on Windows
- Fix 'Add subprogram box' command
23.0.20
- Add onTypeFormatting request initial implementation. To try edit
settings.json
with:
"[ada]": {
"editor.formatOnType": true,
},
"ada.onTypeFormatting.indentOnly": false,
- Fixes and improvements in syntax highlighting
- Do not apply semantic tokens to unresolved identifiers
- Highlight 'True' and 'False' like 'null'
- Fixes and improvements in hovers
- Basic
.gpr
language support: document symbols and diagnostics - Support more architectures and platforms in VS Code
- Change executable location to //
- Add
arm64
as a supported architecture - Add initialization code that checks specific combinations of
architectures and platforms (e.g. arm64-darwin is supported even
though it actually uses the x64-darwin executable, will use x86_64
target by default however) - But no native ALS for
arm64
is provided for now
- Accept task bodies and packages for subprogram box command
- publish diagnostics when a refactoring fails.