Skip to content

Commit

Permalink
Merge pull request #7 from abstools/push-kzyzyxyupszp
Browse files Browse the repository at this point in the history
Fix command execution
  • Loading branch information
rudi authored Dec 16, 2024
2 parents 1cb473f + 900a720 commit 5c4dfbe
Show file tree
Hide file tree
Showing 14 changed files with 4,815 additions and 887 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
layout node
export GIT_DIR=$PWD/.jj/repo/store/git
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,23 @@ two items to `abs.compileOptions`: `-jar` and `/path/to/absfrontend.jar`.

## Installing

To install the latest released version:
To install the latest released version, download the `.vsix` file from https://github.com/abstools/abs-vs-code/releases/latest (currently `abs-0.0.7.vsix`).

### Installing from the Command Line

1. download the `.vsix` file from
https://github.com/abstools/abs-vs-code/releases/latest
2. open the Extensions list and choose "Install from VSIX..." from the menu:
Run `code --install-extension abs-0.0.7.vsix`

### Installing from inside Visual Studio Code

1. Open the Extensions list in the left-hand column.

2. Choose "Install from VSIX..." from the three-dotted menu (`...`) on the upper right hand side of the extensions list:

<picture>
<img alt="First click 'Extensions', then the horizontal dots menu at the top of the list, then 'Install from VSIX...'" src="images/installing.png">
</picture>

3. Choose the file downloaded in Step 1
3. In the file browser, choose the `abs-0.0.7.vsix` file downloaded from https://github.com/abstools/abs-vs-code/releases/latest .

### Running an unreleased version

Expand Down
5 changes: 5 additions & 0 deletions abs/.vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
});
3 changes: 2 additions & 1 deletion abs/.vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"ms-vscode.extension-test-runner"
]
}
2 changes: 1 addition & 1 deletion abs/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// A launch configuration that launches the extension inside a new window
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
Expand Down
3 changes: 2 additions & 1 deletion abs/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ src/**
.yarnrc
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/eslint.config.mjs
**/*.map
**/*.ts
**/.vscode-test.*
19 changes: 16 additions & 3 deletions abs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,24 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

### Fixed

## [0.0.7]

### Changed

- Change default value of `abs.backend` to `--java`. This default
value means that developing ABS can be done without installing
Erlang.

### Fixed

- Fix command execution for deployed plugin.

## [0.0.6]

### Added

- Expressions inside template strings (delimited by $) now have a different
color than the surrounding string content.
- Expressions inside template strings (delimited by `$`) now have a
different color than the surrounding string content.

### Fixed

Expand Down Expand Up @@ -62,7 +74,8 @@ Released 2023-03-16

- Initial release

[Unreleased]: https://github.com/abstools/abs-vs-code/compare/HEAD...v0.0.6
[Unreleased]: https://github.com/abstools/abs-vs-code/compare/HEAD...v0.0.7
[0.0.7]: https://github.com/abstools/abs-vs-code/compare/v0.0.7...v0.0.6
[0.0.6]: https://github.com/abstools/abs-vs-code/compare/v0.0.6...v0.0.5
[0.0.5]: https://github.com/abstools/abs-vs-code/compare/v0.0.5...v0.0.4
[0.0.4]: https://github.com/abstools/abs-vs-code/compare/v0.0.4...v0.0.3
Expand Down
6 changes: 6 additions & 0 deletions abs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ file from inside the editor.

## Release Notes

### 0.0.7

- Fix ABS compilation command.

- Change default code generation target to Java.

### 0.0.6

- Fix string coloring, highlight expressions inside template strings.
Expand Down
28 changes: 28 additions & 0 deletions abs/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
parser: tsParser,
ecmaVersion: 2022,
sourceType: "module",
},

rules: {
"@typescript-eslint/naming-convention": ["warn", {
selector: "import",
format: ["camelCase", "PascalCase"],
}],

curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "warn",
},
}];
Loading

0 comments on commit 5c4dfbe

Please sign in to comment.