File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
1010## [ 2.6.0]
1111
12+ ### Fixed
13+
14+ - Fixes log channel not initialising when extension fails to activate
15+ ([ #286 ] ( https://github.com/krvajal/vscode-fortran-support/issues/286 ) )
16+
1217### Added
1318
1419- Adds support for variable and path interpolation along with glob expressions
Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ import * as pkg from '../package.json';
1414import { LANG_SERVER_TOOL_ID } from './lib/tools' ;
1515import { FortranFormattingProvider } from './features/formatting-provider' ;
1616
17+ // Make it global to catch errors when activation fails
18+ const loggingService = new LoggingService ( ) ;
19+
1720export function activate ( context : vscode . ExtensionContext ) {
18- const loggingService = new LoggingService ( ) ;
1921 const extensionConfig = vscode . workspace . getConfiguration ( EXTENSION_ID ) ;
2022
2123 loggingService . logInfo ( `Extension Name: ${ pkg . displayName } ` ) ;
You can’t perform that action at this time.
0 commit comments