loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

Output colors not showing with Github Copilot enabled #209

Open vanowm opened 10 months ago

vanowm commented 10 months ago

This is not a bug of the extension, but rather in VSCode itself: microsoft/vscode/issues/201603

When two extensions have this in package.json

  "contributes": {
    "configurationDefaults": {
      "editor.tokenColorCustomizations": {

and user settings doesn't have "editor.tokenColorCustomizations" saved, then one extension will override the other. In my case Github Copilot overrides AutoIt-VSCode settings and I don't see any syntax highlighting in the output pane.

For now, we could possibly create a work around by merging that setting into user's config on startup.

vanowm commented 4 days ago

Seems like this issue is back. @sandy081 said it's supported, but I see no highlighting when copilot is enabled.

vanowm commented 4 days ago

My current "fix" is disable both copilot and Ai, then enable first copilot, then Ai.