LairdCP / smartBASIC-VS-Code-language-extension

SmartBASIC Language Extension for Visual Studio Code
MIT License
2 stars 4 forks source link

Latest Version of VS code marks as obsolete #5

Open PillarOfSociety opened 1 year ago

PillarOfSociety commented 1 year ago

When I follow the installation instructions listed in the readme VS code does not recognize the extension and generates a .obsolete file with smartbasic referenced in it. To get My install to work, I had to delete the .obsolete file and add to the extensions.json file:

{"identifier":{"id":"undefined_publisher.smartbasic"},"version":"0.0.1","location":{"$mid":1,"path":"/c:/Users/%USERPROFILE%/.vscode/extensions/smartBASIC-VS-Code-language-extension-main","scheme":"file"},"relativeLocation":"smartBASIC-VS-Code-language-extension-main"}

you will need to change your %USERPROFILE% accordingly.

DamianSuess commented 1 month ago

Removing Manually appending for the win to get syntax highlighting. You just can't drag-n-drop an *.sb file into VSCode; had to open folder/file manually.

Removee from .obsolete

  "undefined_publisher.smartbasic-0.0.1": true

Append to extensions.json:

 , {
    "identifier": {
      "id": "undefined_publisher.smartbasic"
    },
    "version": "0.0.1",
    "location": {
      "$mid": 1,
      "path": "file:///c%3A/Users/XXXXXX/.vscode/extensions/smartBASIC-VS-Code-language-extension",
      "scheme": "file"
    },
    "relativeLocation": "smartBASIC-VS-Code-language-extension"
  }