Skip to content

Commit

Permalink
Fix display of message graphs in VS Code
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1838, #1307
  • Loading branch information
treiher committed Jan 7, 2025
1 parent 453373e commit 4806578
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitlab/issue_templates/Release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- [ ] Test GNAT Studio plugin
- Check verification, generation and display of message graph for example apps
- Check verification of specification, code generation and display of message graph for example apps
- [ ] Test VS Code extension
- Check verification of specification and display of message graph for example apps
- [ ] Add release to `CHANGELOG`
- [ ] Check if any GitHub issues are not yet mentioned in `CHANGELOG` (especially issue numbers below #1288)
- [ ] Bring changes to `main` branch
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Display of message graphs in VS Code (AdaCore/RecordFlux#1307, eng/recordflux/RecordFlux#1838)

## [0.26.0] - 2024-12-18

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

## [0.1.0] - 2019-05-14

[Unreleased]: https://github.com/AdaCore/RecordFlux/compare/v0.26.0...HEAD
[0.26.0]: https://github.com/AdaCore/RecordFlux/compare/v0.25.0...v0.26.0
[0.25.0]: https://github.com/AdaCore/RecordFlux/compare/v0.24.0...v0.25.0
[0.24.0]: https://github.com/AdaCore/RecordFlux/compare/v0.23.0...v0.24.0
Expand Down
3 changes: 1 addition & 2 deletions rflx/ide/vscode/src/common/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import * as path from "path";
import { homedir } from "os";

const folderName = path.basename(__dirname);
export const EXTENSION_ROOT_DIR =
folderName === "common"
? path.dirname(path.dirname(__dirname))
: path.dirname(__dirname);
export const CACHE_DIR = path.join(homedir(), ".cache", "RecordFlux");
export const CACHE_DIR = path.join(process.cwd(), ".rflx_cache");
2 changes: 1 addition & 1 deletion rflx/ide/vscode/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function createServer(
initializationOptions: IInitOptions
): Promise<LanguageClient> {
const command = settings.interpreter[0];
const cwd = settings.cwd;
const cwd = process.cwd();

const newEnv = { ...process.env };
newEnv.USE_DEBUGPY = "False";
Expand Down

0 comments on commit 4806578

Please sign in to comment.