Skip to content

Conversation

@guillaume-kotulski
Copy link
Collaborator

This pull request introduces support for the new "4QS" language in the editor, updates and modernizes ESLint configuration, and makes several code quality and logic improvements. The changes include adding syntax highlighting and configuration for "4QS" files, migrating ESLint setup to the new flat config format, and refining TypeScript code for clarity and maintainability.

Language support and configuration:

  • Added support for the "4QS" language, including registration in package.json and a new TextMate grammar file at syntaxes/language-4qs/syntaxes/4qs.tmLanguage.json. [1] [2] [3]
  • Updated the language client to recognize both "4d" and "4qs" files in the document selector.

ESLint and code quality:

  • Migrated ESLint configuration from .eslintrc.js to the new eslint.config.js flat config format, updating ignore patterns and rules accordingly. [1] [2] [3]
  • Cleaned up imports and improved consistency in TypeScript files, including switching from CommonJS to ES module imports where appropriate. [1] [2] [3] [4]

API and logic improvements:

  • Refactored HTTP/HTTPS handling in apiManager.ts to use direct imports instead of require, and improved regex for version detection.
  • Added a new method HasRReleaseVersionAvailable to APIManager and updated logic in ToolPreparator to determine R release availability for major versions. [1] [2]

General code improvements:

  • Fixed minor bugs and improved code style, such as correcting parameter passing, removing unused variables, and clarifying logic in several files. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • Updated lint script in package.json to use the correct path.

@guillaume-kotulski guillaume-kotulski merged commit 237381e into main Nov 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants