Fix "Basic decl having multiple defining names" property errors.
Add generic exception handler and log the error when
ALS.HIGHIGHTERS.DEBUG is active.
Add simple test.
When computing completion items' details, compute the documentation
immediately for predefined types (e.g: Integer) since the standard
package does not correspond to any actual URI.
This fixes an exception on the completionItem/resolve request, where
we are trying to retrieve a node from an URI and a SLOC which
does not actually exist.
Add an automatic test.
Introduce generic package for parameter completion.
Add support type for parameter completion.
Support aggregate via parameter completion.
Add tests
Adapt tests
Allowing the extension to query them in order to add them to the workspace
if not already present.
This allows to search for files that come from imported projects that might
not be under the workspace root directory.
This works only for importing non-externally built source directories
for the moment.
This patch removes the call to `p_canonical_type` when looking for
aggregate completions. This call seems useless and can leads to a
property error exception when an incomplete type is involved in the
completion.
TN: V225-032
Extend `sortReply` to work with keys nested in objects
inside JSON array. With this sort complex reply JSON to have
more stable tests.
For instance
```json
"sortReply": {"result": {"range": {"start": "line"}}}
```
will sort `result` JSON array using `X.range.start.line` as
a sorting key, where `X` is an array item.
Allow integer JSON values as sorting keys also.
This adds defensive programming in some cases where
Get_Open_Document is called and the result is expected
to be non-null. Traces these in the log and abandon the
request, rather than crashing with Constraint_Error.