File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 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/).
1111
1212### Added  
1313
14+ -  Added warning notifications for extensions that interfere with Modern Fortran
15+   ([ #458  ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/458 ) )
1416-  Added single file and multiple workspace folder support for the Language Server
1517  ([ #446  ] ( https://github.com/fortran-lang/vscode-fortran-support/issues/446 ) )
1618-  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() {
118118        loggingService . logError ( `The following deprecated options have been detected:\n${ oldArgs }  ) ; 
119119      } ) ; 
120120  } 
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+   } 
121138} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments