File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 0.31.0]
4
+
5
+ * Fix "Logtalk: Toggle Code Lens" command to preserve code lens outdated status
6
+
3
7
## [ 0.30.0]
4
8
5
9
* Fix code navigation issues on Windows
Original file line number Diff line number Diff line change 2
2
"name" : " logtalk-for-vscode" ,
3
3
"displayName" : " Logtalk for VSCode" ,
4
4
"description" : " Logtalk programming support" ,
5
- "version" : " 0.30 .0" ,
5
+ "version" : " 0.31 .0" ,
6
6
"publisher" : " LogtalkDotOrg" ,
7
7
"icon" : " images/logtalk.png" ,
8
8
"license" : " MIT" ,
501
501
"compile" : " tsc -watch -p ./" ,
502
502
"test" : " tsc ./tests/runTest.ts" ,
503
503
"vsix:make" : " vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/" ,
504
- "vsix:install" : " code --install-extension logtalk-for-vscode-0.30 .0.vsix"
504
+ "vsix:install" : " code --install-extension logtalk-for-vscode-0.31 .0.vsix"
505
505
},
506
506
"devDependencies" : {
507
507
"@types/bluebird" : " ^3.5.38" ,
Original file line number Diff line number Diff line change @@ -1023,10 +1023,16 @@ export default class LogtalkTerminal {
1023
1023
let section = workspace . getConfiguration ( "logtalk" , uri ) ;
1024
1024
if ( section ) {
1025
1025
let enabled : boolean = section . get < boolean > ( "enableCodeLens" ) ;
1026
+ let metricsCodeLensOutdated : boolean = LogtalkMetricsCodeLensProvider . outdated ;
1027
+ let testsCodeLensOutdated : boolean = LogtalkTestsCodeLensProvider . outdated ;
1026
1028
if ( enabled ) {
1027
1029
await section . update ( "enableCodeLens" , false , false ) ;
1030
+ LogtalkMetricsCodeLensProvider . outdated = metricsCodeLensOutdated ;
1031
+ LogtalkTestsCodeLensProvider . outdated = testsCodeLensOutdated ;
1028
1032
} else {
1029
1033
await section . update ( "enableCodeLens" , true , false ) ;
1034
+ LogtalkMetricsCodeLensProvider . outdated = metricsCodeLensOutdated ;
1035
+ LogtalkTestsCodeLensProvider . outdated = testsCodeLensOutdated ;
1030
1036
}
1031
1037
} else {
1032
1038
throw new Error ( "configuration settings error: logtalk" ) ;
You can’t perform that action at this time.
0 commit comments