wunderio / drupal-sdc-helper

MIT License
3 stars 1 forks source link

Incompatibility with latest Cursor.sh (Version 0.41.3) on VSCode 1.91.1 #1

Closed bronisMateusz closed 3 weeks ago

bronisMateusz commented 3 weeks ago

Title: Incompatibility with Cursor.sh (Version 0.41.3) on VSCode 1.91.1

Description:
I encountered an issue when trying to install the drupal-sdc-helper extension on the latest version of Cursor.sh (Version 0.41.3), which is a fork of VSCode. The installation failed due to incompatibility, as shown in the attached screenshot.

Steps to reproduce:

  1. Use Cursor.sh Version 0.41.3.
  2. Attempt to install the drupal-sdc-helper extension.

Expected behavior:
The extension should install successfully without any compatibility issues.

Actual behavior:
The installation fails with the following error:
"Can't install 'davis-are.drupal-sdc-helper' extension because it is not compatible with the current version of Cursor (version 0.41.3, VSCode version 1.91.1)."

Environment:

Pull Request:
I have prepared a Pull Request to resolve this issue by lowering the "engines.vscode" version in the package.json file to support older versions of VSCode (and its forks like Cursor.sh). You can find the PR here:
[Link to the Pull Request]

The relevant change is:


diff --git a/package.json b/package.json
index abc1234..def5678 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "version": "1.0.0",
   "engines": {
-    "vscode": "^1.93.0"
+    "vscode": "^1.91.0"
   },
   "dependencies": {
     "some-dependency": "^1.0.0"