Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/lint.yml

This file was deleted.

16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,18 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

- Initial release
## [0.0.1] - 2024

### Added
- Initial release with syntax highlighting support for MarScript files
- Support for MarScript file extensions: `.sbr`, `.mpr`, `.inc`
- Syntax highlighting for:
- Control flow keywords (BEGIN, END, IF, ELSE, FOR, WHILE, REPEAT, RETURN, PROC, TRY, CATCH, THEN, PROGRAM, SWITCH)
- Data types (INT, DOUBLE, STRING)
- Built-in functions (ABS, FLOOR, SQRT, PRINTF, STRLEN, FOPEN, FCLOSE, GET DATE, GET TIME, EXIT)
- Operators (==, !=, <=, >=, =, <, >, +, -, *, /, etc.)
- Comments (single-line // and multi-line /* */)
- String literals with escape sequences
- Preprocessor directives (#define, #include, #ifdef, #ifndef, #endif, #else, #elif, #error, #scramble, #endscramble)
- Language configuration with bracket matching, auto-closing pairs, and comment toggling
- Documentation with encoding recommendations (Windows-1252)
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This extension provides language support for MarScript and MarWin from Mahr GmbH
- Keywords (BEGIN, END, IF, ELSE, etc.)
- Data types (INT, DOUBLE, STRING)
- Built-in functions (ABS, FLOOR, SQRT, etc.)
- Numeric literals (integers, floats, hex, binary, scientific notation)
- Comments (Single line // and Multi line /\* \*/)
- Operators

Expand Down Expand Up @@ -40,6 +41,30 @@ Please make sure that the following setting is set in your `.vscode/settings.jso
}
```

## Project Structure

This is a **pure syntax highlighting extension** with no JavaScript/TypeScript source code.
The project contains only JSON configuration files for VS Code TextMate grammar.

### ⚙️ For Repository Maintainers: Disabling CodeQL

This project does not contain JavaScript/TypeScript source code, so CodeQL analysis must be **disabled manually** in the repository settings to prevent CI/CD errors.

**How to disable CodeQL Default setup:**

1. Go to your repository on GitHub
2. Click **Settings** (top right)
3. In the left sidebar, click **Code security and analysis**
4. Scroll down to the **Code scanning** section
5. Find **CodeQL analysis**
6. If "Default setup" is shown as **Enabled**, click **⋮** (three dots) next to it
7. Select **Disable CodeQL**
8. Confirm the action

After disabling, the "CodeQL detected code written in GitHub Actions, but not any written in JavaScript/TypeScript" error will no longer occur.

**Why this is necessary:** GitHub's CodeQL Default setup automatically detects project languages. Since this project previously had TypeScript configuration files (now removed), CodeQL may still attempt to scan for JavaScript/TypeScript code that doesn't exist.

## Feedback & Contributions

- Report bugs or suggest improvements by creating an issue
Expand Down
12 changes: 0 additions & 12 deletions eslint.config.mjs

This file was deleted.

Loading
Loading