File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
10
10
### Added
11
11
12
+ - Added option to disable Release Notes from being displayed
13
+ ([ #675 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/675 ) )
12
14
- Added support for schema validation of ` fpm.toml ` files.
13
15
- Added local path resolution for ` fortls ` , ` findent ` and ` fprettify ` executables
14
16
([ #667 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/667 ) )
Original file line number Diff line number Diff line change 513
513
}
514
514
}
515
515
},
516
+ {
517
+ "id" : " notifications" ,
518
+ "title" : " Notifications" ,
519
+ "order" : 100 ,
520
+ "properties" : {
521
+ "fortran.notifications.releaseNotes" : {
522
+ "type" : " boolean" ,
523
+ "default" : true ,
524
+ "markdownDescription" : " Show release notes when a new version of the extension is installed." ,
525
+ "order" : 0
526
+ }
527
+ }
528
+ },
516
529
{
517
530
"id" : " deprecated" ,
518
531
"title" : " Deprecated Options" ,
Original file line number Diff line number Diff line change @@ -107,7 +107,10 @@ export async function activate(context: vscode.ExtensionContext) {
107
107
context . subscriptions . push ( vscode . commands . registerCommand ( WhatsNew , showWhatsNew ) ) ;
108
108
// Upon the very first initialisation create a file to indicate that the release
109
109
// notes have been shown and not show them again.
110
- if ( ! fs . existsSync ( path . join ( __dirname , 'displayReleaseNotes.txt' ) ) ) {
110
+ if (
111
+ ! fs . existsSync ( path . join ( __dirname , 'displayReleaseNotes.txt' ) ) &&
112
+ config . get < boolean > ( 'notifications.releaseNotes' )
113
+ ) {
111
114
await showWhatsNew ( ) ;
112
115
fs . writeFileSync ( path . join ( __dirname , 'displayReleaseNotes.txt' ) , 'false' ) ;
113
116
}
You can’t perform that action at this time.
0 commit comments