File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
11
11
12
12
### Added
13
13
14
+ - Added warning notifications for extensions that interfere with Modern Fortran
15
+ ([ #458 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/458 ) )
14
16
- Added single file and multiple workspace folder support for the Language Server
15
17
([ #446 ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/446 ) )
16
18
- Added file synchronization with VS Code settings and ` .fortls ` against the Language Server
Original file line number Diff line number Diff line change @@ -118,4 +118,21 @@ function detectDeprecatedOptions() {
118
118
loggingService . logError ( `The following deprecated options have been detected:\n${ oldArgs } ` ) ;
119
119
} ) ;
120
120
}
121
+
122
+ // NOTE: the API for this will probably change in the near future to return true
123
+ // even if the extension is not activated
124
+ // see: https://github.com/microsoft/vscode/issues/133734
125
+ if ( vscode . extensions . getExtension ( 'hansec.fortran-ls' ) ) {
126
+ vscode . window . showWarningMessage (
127
+ `Modern Fortran is not compatible with FORTRAN Intellisense.
128
+ Language Server integration is handled in Modern Fortran now.
129
+ Please Disable FORTRAN Intellisense.`
130
+ ) ;
131
+ }
132
+ if ( vscode . extensions . getExtension ( 'ekibun.fortranbreaker' ) ) {
133
+ vscode . window
134
+ . showWarningMessage ( `Modern Fortran is not compatible with Fortran Breakpoint Support.
135
+ Breakpoint support is handled natively in Modern Fortran.
136
+ Please Disable Fortran Breakpoint Support.` ) ;
137
+ }
121
138
}
You can’t perform that action at this time.
0 commit comments