You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few questions in anticipation of the inclusion of gnatformat in the ALS:
When I look in settings.md, it says by default this option is enabled. I also noticed in package.json, that the default for VSCode seems to be "true", which matches the description in settings.md. However, when looking in lsp-ada_configurations.ads, it appears the default value in the Configuration type sets Use_Gnatformat to false. Is this a discrepancy or is Use_Gnatformat defaulted to true elsewhere?
Is the expectation that the editor will pull these settings from the project file in order to adjust the its internal indentation and continuation amounts? If so, is there a plan for ALS to support a command for extracting this information from the project file? Also, when useGnatFormat is false, would it also support extracting similar settings from the Pretty_Printer section?
It seems that the settings provided in Format are almost identical to the settings you'd find in .editorconfig. Was there a reason to add a Format section, rather than use an existing .editorconfig?
Configuration and Logs
N/A
Other VS Code Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Environment
Bug Summary and Reproducer
I have a few questions in anticipation of the inclusion of
gnatformat
in the ALS:When I look in settings.md, it says by default this option is enabled. I also noticed in package.json, that the default for VSCode seems to be "true", which matches the description in settings.md. However, when looking in lsp-ada_configurations.ads, it appears the default value in the
Configuration
type setsUse_Gnatformat
to false. Is this a discrepancy or isUse_Gnatformat
defaulted to true elsewhere?Is the expectation that the editor will pull these settings from the project file in order to adjust the its internal indentation and continuation amounts? If so, is there a plan for ALS to support a command for extracting this information from the project file? Also, when
useGnatFormat
is false, would it also support extracting similar settings from the Pretty_Printer section?It seems that the settings provided in
Format
are almost identical to the settings you'd find in.editorconfig
. Was there a reason to add aFormat
section, rather than use an existing.editorconfig
?Configuration and Logs
Other VS Code Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: