Skip to content

Commit faf4e9e

Browse files
Remove pragmas from package snippet
The user is free to add the pragmas that he wants after creating the package file. For eng/ide/ada_language_server#1515
1 parent b8f39c9 commit faf4e9e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ section below it for the last release. -->
1212
* [GNATformat](https://github.com/AdaCore/gnatformat) is now the default back-end for LSP formatting requests
1313
* Add tasks and a CodeLens to run a given main with GNATemulator on non-native projects
1414
* Diagnostics are now emitted for issues encountered when trying to load an Alire crate
15+
* Commands to create a new main units and packages have been added, both available under the `File->New File...` menu
1516

1617
## 26.0.202412190
1718

integration/vscode/ada/ada-snippets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,9 @@
169169
"prefix": "package",
170170
"body": [
171171
"${1|package,package body|} ${2:Name} is",
172-
"\t${3|pragma Preelaborate;,pragma Pure;|}$0",
172+
"\t$0",
173173
"private",
174+
"\t",
174175
"end ${2:Name};"
175176
],
176177
"description": "Package Declaration or Body",

0 commit comments

Comments
 (0)