1456 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
91fc6f1092 Merge branch 'topic/fix' into 'master'
Avoid uninitialized status in ALS job

See merge request eng/ide/ada_language_server!1783

(cherry picked from commit 4e688e92c4)

24f7cacd Avoid uninitialized status in ALS job

Co-authored-by: Max Reznik <reznik@adacore.com>
2025-03-31 10:26:17 +00:00
Anthony Leonardo Gracio
a3801e60b0 Merge branch 'topic/als.1493.null_entity_subprogram' into 'edge'
Fix tests failures related to subprogram called on a null entity

See merge request eng/ide/ada_language_server!1779

(cherry picked from commit 8a93a39839)

34b956f2 Fix tests failures related to subprogram called on a null entity

Co-authored-by: Adrien Boulanger <boulanger@adacore.com>
2024-12-18 10:32:09 +00:00
Adrien Boulanger
ccac262c42 Merge branch 'refine-predef-units' into 'master'
Refine indexing iteration over predefined units

See merge request eng/ide/ada_language_server!1780

(cherry picked from commit 159f09a263)

5803f8e7 Refine indexing iteration over predefined units

Co-authored-by: Ronan Desplanques <desplanques@adacore.com>
2024-12-05 15:45:09 +00:00
Adrien Boulanger
2f5c77dffd Merge branch 'topic/als.1437.goto_entry_protected_type' into 'master'
Fix Goto Definition for entry in Protected Types

Closes #1437

See merge request eng/ide/ada_language_server!1753

(cherry picked from commit 5e62ed28c8)

745e0eea Fix Goto Definition for entry in Protected Types
a7fa2fb6 Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Adrien Boulanger <boulanger@adacore.com>
2024-12-05 14:23:31 +00:00
Guillaume Rivier
3718a03cf0 Add missing Subdirs attribute to Analyzer package
The attribute was introduced in
https://gitlab.adacore-it.com/eng/codepeer/codepeer/-/issues/1278.

(cherry picked from commit 60879d2ce5)
2024-12-05 11:42:19 +00:00
Adrien Boulanger
f6feefad8f Merge branch 'topic/gs.394.wrong_check_attribute_def' into 'master'
Wrong attribute definition in GLS external tool

Closes gnatstudio#394

See merge request eng/ide/ada_language_server!1736

(cherry picked from commit 0cb81f4b7e)

31450ac8 Wrong attribute definition in GLS external tool

Co-authored-by: Adrien Boulanger <boulanger@adacore.com>
2024-12-02 16:03:28 +00:00
Vadim Godunko
3b498ac535 Merge branch 'topic/vadim/vss' into 'master'
Rewrite LAL/LSP position/range conversion

See merge request eng/ide/ada_language_server!1805

(cherry picked from commit 72f70c21d5)

9cf1dde8 Rewrite `To_LSP_Column` to compute LSP column index at the end
e7715b2f Minor reformatting

Co-authored-by: Vadim Godunko <godunko@adacore.com>
2024-11-20 15:55:11 +00:00
Anthony Leonardo Gracio
14f8ca0a7e Merge branch 'topic/null_node' into 'master'
Avoid `PRECONDITION_FAILURE` on editing an empty file

Closes #1435

See merge request eng/ide/ada_language_server!1772

(cherry picked from commit 5339090582)

72b664aa Avoid `PRECONDITION_FAILURE` on editing an empty file

Co-authored-by: Max Reznik <reznik@adacore.com>
2024-11-04 13:43:21 +00:00
Max Reznik
0fb7f8d367 Merge branch 'topic/ch' into 'master'
Don't dump `callHierarchy/incomingCalls` response

Closes #1468

See merge request eng/ide/ada_language_server!1768

(cherry picked from commit 14af323d79)

76c8ebb7 Don't dump `callHierarchy/incomingCalls` response

Co-authored-by: Max Reznik <reznik@adacore.com>
2024-10-30 12:05:17 +00:00
Anthony Leonardo Gracio
0d51014aa3 Merge branch 'topic/priorities' into 'master'
Change priorities of GPR-based commands

See merge request eng/ide/ada_language_server!1760

(cherry picked from commit ecae738dbe)

26c1fefa Change priorities of GPR-based commands

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-23 12:10:30 +00:00
Anthony Leonardo Gracio
f277fa58b1 Merge branch 'topic/eng/ide/gnatstudio#400' into 'master'
Don't create empty project diagnostics

See merge request eng/ide/ada_language_server!1755

(cherry picked from commit 410891ac9c)

74c01562 Don't create empty project diagnostics
3143c2aa Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-22 08:13:44 +00:00
Anthony Leonardo Gracio
eecf38c023 Merge branch 'topic/invisible-compl-from-with-clause' into 'master'
Avoid appending 'auto-import' command when completing with-clauses

Closes #1463

See merge request eng/ide/ada_language_server!1731

(cherry picked from commit 9c5f088a13)

381fc849 Avoid appending 'auto-import' command when completing with-clauses

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-18 09:04:32 +00:00
Anthony Leonardo Gracio
5857400fc0 Merge branch 'topic/zboon' into 'master'
Add defensive code when root project is not defined

See merge request eng/ide/ada_language_server!1745

(cherry picked from commit e93d16be92)

618f45db Add defensive code when root project is not defined

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-16 14:06:23 +00:00
Anthony Leonardo Gracio
0483c64bbf Merge branch 'mr/25.0/lambourg-update-sources' into 'master'
Update_Sources should not prevent the GPR2 project tree from loading

See merge request eng/ide/ada_language_server!1720

(cherry picked from commit 89e8a0cb67)

f9155401 Update_Sources should not prevent the GPR2 project tree from loading
33fd8cdf Update tests

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-07 20:01:35 +00:00
Anthony Leonardo Gracio
fd915cc9d0 Merge branch 'topic/#1450' into 'master'
Fix als-other-file command for child packages

See merge request eng/ide/ada_language_server!1722

(cherry picked from commit 9e0856f493)

f286899f Fix als-other-file command for child packages

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-07 15:39:02 +00:00
Anthony Leonardo Gracio
33ed056d34 Merge branch 'topic/eng/ide/ada_language_server#1453' into 'master'
Avoid exception on unknown predefined entities

See merge request eng/ide/ada_language_server!1715

(cherry picked from commit ebdf0de154)

0a855f20 Avoid exception on unknown predefined entities

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-07 13:19:43 +00:00
Anthony Leonardo Gracio
dac8554809 Merge branch 'topic/eng/ide/ada_language_server#1451' into 'master'
Fix removal of old logs

See merge request eng/ide/ada_language_server!1714

(cherry picked from commit 5b44580850)

e0e918d3 Fix removal of old logs

Co-authored-by: Anthony Leonardo Gracio <leonardo@adacore.com>
2024-10-07 12:50:14 +00:00
Anthony Leonardo Gracio
ceecea1a56 Avoid duplicate in 'als-mains' command
For eng/ide/ada_language_server#1436
2024-09-23 15:52:44 +00:00
Boulanger
001b368635 Show all warnings and errors
- Show them even if there is no file information attached
- Remove defensive code, sending uri for non regular file is fine
- Fix a_range conversion for sloc without source_reference

Adapt tests.

For eng/ide/ada_language_server#1423
2024-09-23 15:08:39 +02:00
automatic-merge
9c069b9bdb Merge remote branch 'origin/master' into edge 2024-09-23 00:55:36 +00:00
Anthony Leonardo Gracio
ed757f0167 Make sure to bufferize ALS/GLS logs
And clean the old .txt logs (old naming scheme) too when necessary, not
only the .log files.

For eng/ide/ada_language_server#143
2024-09-20 15:25:07 +00:00
Boulanger
4cba01981c Replace trace by a setting to control project diagnostics emission
For eng/ide/ada_language_server#1423

For eng/ide/ada_language_server#1427
2024-09-20 16:30:03 +02:00
Boulanger
a62ee30d47 Add gnatformat preferences to FormatOptions
for eng/ide/gnatstudio#138
2024-09-19 10:56:58 +00:00
Boulanger
330f2efa78 Trace to deactivate project diagnostics
For eng/ide/ada_language_server#1423
2024-09-17 10:21:39 +00:00
automatic-merge
814c6a3f8e Merge remote branch 'origin/master' into edge 2024-09-17 00:55:45 +00:00