Skip to content

Commit 4806578

Browse files
committed
Fix display of message graphs in VS Code
Ref. eng/recordflux/RecordFlux#1838, #1307
1 parent 453373e commit 4806578

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.gitlab/issue_templates/Release.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
- [ ] Test GNAT Studio plugin
2-
- Check verification, generation and display of message graph for example apps
2+
- Check verification of specification, code generation and display of message graph for example apps
3+
- [ ] Test VS Code extension
4+
- Check verification of specification and display of message graph for example apps
35
- [ ] Add release to `CHANGELOG`
46
- [ ] Check if any GitHub issues are not yet mentioned in `CHANGELOG` (especially issue numbers below #1288)
57
- [ ] Bring changes to `main` branch

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Fixed
11+
12+
- Display of message graphs in VS Code (AdaCore/RecordFlux#1307, eng/recordflux/RecordFlux#1838)
13+
814
## [0.26.0] - 2024-12-18
915

1016
### Added
@@ -625,6 +631,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
625631

626632
## [0.1.0] - 2019-05-14
627633

634+
[Unreleased]: https://github.com/AdaCore/RecordFlux/compare/v0.26.0...HEAD
628635
[0.26.0]: https://github.com/AdaCore/RecordFlux/compare/v0.25.0...v0.26.0
629636
[0.25.0]: https://github.com/AdaCore/RecordFlux/compare/v0.24.0...v0.25.0
630637
[0.24.0]: https://github.com/AdaCore/RecordFlux/compare/v0.23.0...v0.24.0
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import * as path from "path";
2-
import { homedir } from "os";
32

43
const folderName = path.basename(__dirname);
54
export const EXTENSION_ROOT_DIR =
65
folderName === "common"
76
? path.dirname(path.dirname(__dirname))
87
: path.dirname(__dirname);
9-
export const CACHE_DIR = path.join(homedir(), ".cache", "RecordFlux");
8+
export const CACHE_DIR = path.join(process.cwd(), ".rflx_cache");

rflx/ide/vscode/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function createServer(
125125
initializationOptions: IInitOptions
126126
): Promise<LanguageClient> {
127127
const command = settings.interpreter[0];
128-
const cwd = settings.cwd;
128+
const cwd = process.cwd();
129129

130130
const newEnv = { ...process.env };
131131
newEnv.USE_DEBUGPY = "False";

0 commit comments

Comments
 (0)