continue icon indicating copy to clipboard operation
continue copied to clipboard

cmd + i not producing same UI in VSCode as shown in the docs

Open callum-gander opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: macOs 14.5
- Continue: v0.9.214 (pre-release)
- IDE: VSCode 1.93.1
- Model: Claude 3.5 Sonnet
- config.json:
  
{
  "models": [
    {
      "model": "claude-3-5-sonnet-20240620",
      "contextLength": 200000,
      "title": "Claude 3.5 Sonnet",
      "apiKey": "", // removed
      "provider": "anthropic"
    }
  ],
  "slash_commands": [
    {
      "name": "edit",
      "description": "Edit highlighted code",
      "step": "EditHighlightedCodeStep"
    },
    {
      "name": "config",
      "description": "Customize Continue",
      "step": "OpenConfigStep"
    },
    {
      "name": "comment",
      "description": "Write comments for the highlighted code",
      "step": "CommentCodeStep"
    },
    {
      "name": "share",
      "description": "Download and share this session",
      "step": "ShareSessionStep"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command",
      "step": "GenerateShellCommandStep"
    }
  ],
  "custom_commands": [
    {
      "name": "test",
      "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": "" // removed
  }
}

Description

Screenshot 2024-10-03 at 18 56 11

The UI on pressing cmd + i seems to produce a mismatch between what's shown in the GIFs on the docs vs. what's shown in the screenshot above. What's going on here? Is this a bug? Is this a known issue? Has something on VSCode changed?

To reproduce

  1. cmd + i on any piece of code with the configuration outlined above

Log output

rwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-mssql.mssql-1.24.0/syntaxes/SQL.plist
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.js.jsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/JavaScriptReact.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.js.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScript.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/JavaScript.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/TypeScript.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.tsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/TypeScriptReact.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///Users/callum/.vscode/extensions/ms-mssql.mssql-1.24.0/syntaxes/SQL.plist.
New grammar file: file:///Users/callum/.vscode/extensions/mtxr.sqltools-0.28.3/language/sql.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/redhat.vscode-yaml-1.15.0/syntaxes/yaml.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/sql/syntaxes/sql.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-mssql.mssql-1.24.0/syntaxes/SQL.plist
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.js.jsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/JavaScriptReact.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.js.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScript.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/JavaScript.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.ts.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/TypeScript.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.tsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/ms-vscode.vscode-typescript-next-5.7.20241002/syntaxes/TypeScriptReact.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.sql.
Old grammar file: file:///Users/callum/.vscode/extensions/ms-mssql.mssql-1.24.0/syntaxes/SQL.plist.
New grammar file: file:///Users/callum/.vscode/extensions/mtxr.sqltools-0.28.3/language/sql.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/callum/.vscode/extensions/redhat.vscode-yaml-1.15.0/syntaxes/yaml.tmLanguage.json
register @ TMScopeRegistry.ts:46
webviewElement.ts:486 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ webviewElement.ts:486
3console.ts:137 [Extension Host] Failed to load workspace configs
C @ console.ts:137
webviewElement.ts:486 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.

callum-gander avatar Oct 03 '24 18:10 callum-gander