Skip to content

Commit d6ae187

Browse files
Merge branch 'topic/stable_bump' into 'master'
Bump edge to master Closes #1675 See merge request eng/ide/ada_language_server!2028
2 parents f3594f8 + 3c5a0e5 commit d6ae187

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ extension at
6969
- [Integration with Neovim's built-in LSP client](#integration-with-neovims-built-in-lsp-client)
7070
- [Integration with emacs lsp-mode](#integration-with-emacs-lsp-mode)
7171
- [Integration with QtCreator](#integration-with-qtcreator)
72+
- [Integration with IntelliJ](#integration-with-intellij)
7273
- [Refactoring Tools](#refactoring-tools)
7374
- [Authors \& Contributors](#authors--contributors)
7475
- [Contribute](#contribute)
@@ -601,6 +602,13 @@ the Ada Language Server.
601602

602603
Workspace-specific [ALS Settings](doc/settings.md) such as the `projectFile` can be provided in a `.als.json` file at the root of the workspace.
603604

605+
### Integration with IntelliJ
606+
607+
The [LSP4IJ](https://plugins.jetbrains.com/plugin/23257-lsp4ij) IntelliJ plugin
608+
provides a template for Ada since version `0.14.0`, allowing users tu use the Ada Language Server from IntelliJ.
609+
610+
Follow the [dedicated LSP4J documentation](https://github.com/redhat-developer/lsp4ij/blob/main/docs/user-defined-ls/ada_language_server.md) for more information.
611+
604612
## Refactoring Tools
605613

606614
See [corresponding document](doc/refactoring_tools.md).

source/ada/lsp-utils.adb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ with Libadalang.Sources;
2424
with Langkit_Support.Diagnostics;
2525
with Langkit_Support.Symbols;
2626
with Langkit_Support.Token_Data_Handlers;
27+
with Langkit_Support.Types;
2728
with Pp.Actions;
2829

2930
with VSS.Strings.Character_Iterators;
@@ -202,7 +203,7 @@ package body LSP.Utils is
202203

203204
procedure Tokenize_Output is
204205
Input : constant Libadalang.Lexer.Lexer_Input :=
205-
(Kind => Libadalang.Common.Bytes_Buffer,
206+
(Kind => Langkit_Support.Types.Bytes_Buffer,
206207
Charset => Ada.Strings.Unbounded.To_Unbounded_String ("utf-8"),
207208
Read_BOM => False,
208209
Bytes => To_Unbounded_String (Output));

0 commit comments

Comments
 (0)