Skip to content

Commit feca739

Browse files
Import project from Gitlab
1 parent 9bf8628 commit feca739

559 files changed

Lines changed: 118489 additions & 764 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 22.15
18+
- name: Install Python
19+
run: sudo apt-get update && sudo apt-get install -y python3 python3-pip python3-nox python3-venv
20+
- name: Install npm dependencies
21+
run: npm install
22+
- name: Install vsce
23+
run: npm install -g @vscode/vsce
24+
- name: Build and package
25+
run: python3 -m nox -s package -v --no-error-on-missing-interpreters
26+
- name: Upload artifacts
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: vsix-package
30+
path: "*.vsix"
31+
retention-days: 30

.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Node modules
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Logs
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
pnpm-debug.log*
12+
13+
# Dependency directories
14+
jspm_packages/
15+
16+
# Optional npm cache directory
17+
.npm/
18+
19+
# Optional eslint cache
20+
.eslintcache
21+
22+
# TypeScript cache
23+
*.tsbuildinfo
24+
# Test coverage
25+
coverage/
26+
.nyc_output/
27+
28+
# Jest cache
29+
jest-cache/
30+
jest-output/
31+
32+
# Output of esbuild or other build tools
33+
*.out.js
34+
35+
# OS files
36+
.DS_Store
37+
Thumbs.db
38+
39+
# Env files
40+
.env
41+
.env.*
42+
43+
# Yarn lock if tu ne veux pas le versionner
44+
yarn.lock
45+
46+
# Extension quickstart
47+
vsc-extension-quickstart.md
48+
49+
**/__pycache__/
50+
# Fichiers temporaires ou backup
51+
*.tmp
52+
*.swp
53+
*.bak
54+
55+
# Archives
56+
*.zip
57+
*.tar.gz
58+
59+
60+
*.js.map
61+
62+
node_modules/
63+
dist/
64+
65+
yarn.lock
66+
*.vsix
67+
68+
# Exclude extension package
69+
vs-code-aster-*.vsix
70+
.vscode-test
71+
out/

.gitlab-ci.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "connor4312.esbuild-problem-matchers", "ms-vscode.extension-test-runner"]
5+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
],
15+
"outFiles": [
16+
"${workspaceFolder}/dist/**/*.js"
17+
],
18+
"preLaunchTask": "${defaultBuildTask}"
19+
}
20+
]
21+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off"
13+
}

.vscode/tasks.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "watch",
8+
"dependsOn": [
9+
"npm: watch:tsc",
10+
"npm: watch:esbuild"
11+
],
12+
"presentation": {
13+
"reveal": "never"
14+
},
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"type": "npm",
22+
"script": "watch:esbuild",
23+
"group": "build",
24+
"problemMatcher": "$esbuild-watch",
25+
"isBackground": true,
26+
"label": "npm: watch:esbuild",
27+
"presentation": {
28+
"group": "watch",
29+
"reveal": "never"
30+
}
31+
},
32+
{
33+
"type": "npm",
34+
"script": "watch:tsc",
35+
"group": "build",
36+
"problemMatcher": "$tsc-watch",
37+
"isBackground": true,
38+
"label": "npm: watch:tsc",
39+
"presentation": {
40+
"group": "watch",
41+
"reveal": "never"
42+
}
43+
},
44+
{
45+
"type": "npm",
46+
"script": "watch-tests",
47+
"problemMatcher": "$tsc-watch",
48+
"isBackground": true,
49+
"presentation": {
50+
"reveal": "never",
51+
"group": "watchers"
52+
},
53+
"group": "build"
54+
},
55+
{
56+
"label": "tasks: watch-tests",
57+
"dependsOn": [
58+
"npm: watch",
59+
"npm: watch-tests"
60+
],
61+
"problemMatcher": []
62+
}
63+
]
64+
}

.vscodeignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.vscode/**
2+
.vscode-test/**
3+
.github/**
4+
out/**
5+
node_modules/**
6+
src/**
7+
.gitignore
8+
.yarnrc
9+
esbuild.js
10+
vsc-extension-quickstart.md
11+
**/tsconfig.json
12+
**/eslint.config.mjs
13+
**/*.map
14+
**/*.ts
15+
**/.vscode-test.*
16+
.venv
17+
noxfile.py
18+
requirements.txt
19+
python/data
20+
python/lsp/.venv
21+
python/.venv

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Changelog
2+
3+
All notable changes to the `VS Code Aster` extension will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2025-12-17
9+
10+
Initial public release — first stable feature set.
11+
12+
### Added
13+
14+
- **Interactive export form:** Create and edit `.export` files from VS Code (command palette entry and editor button) with validation and a single-click create flow.
15+
- **Run simulations:** Launch simulations from a `.export` file (uses `cave run [file].export` by default); run command is configurable via the extension settings.
16+
- **Smart `.comm` editing:** Syntax highlighting, hover documentation (command descriptions, arguments, types, defaults), signature help, contextual auto-completion, and a status bar showing step progress with a detailed view.
17+
- **Integrated 3D visualizer:** VTK.js-based viewer to load `.med` meshes, highlight face/node groups, interact with camera (rotate/pan/zoom), quick axis alignment, and mesh conversion to `.obj` stored in a hidden `.visu_data/` folder.
18+
- **Documentation and requirements:** Installation notes for Python 3.8+, `numpy`, `pygls==1.3.1`, and `medcoupling`, plus instructions for optional `cave` installation.
19+
- **Troubleshooting:** Ability to restart the language server for `.comm` files to restore hover/signature/completion features.

CITATION.cff

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cff-version: 1.2.0
2+
title: VS Code Aster
3+
message: >-
4+
If you use this software, please cite it using the
5+
metadata from this file.
6+
type: software
7+
authors:
8+
- name: Simvia SAS
9+
website: "https://simvia.tech/"
10+
country: FR
11+
city: Palaiseau
12+
address: 7 Bd Gaspard Monge
13+
post-code: "91120"
14+
repository-code: "https://github.com/simvia-tech/vs-code-aster"
15+
abstract: VS Code Extension for code_aster
16+
license: GPL-3.0

0 commit comments

Comments
 (0)