smallcloudai / refact-vscode

Refact AI: Open-source AI Code assistant with autocompletion, chat, refactoring and more for VS Code
https://refact.ai
BSD 3-Clause "New" or "Revised" License
59 stars 19 forks source link

wip(menu) : add chat + hot. key to menu, and fix an issue with the sh… #100

Closed MarcMcIntosh closed 3 months ago

MarcMcIntosh commented 4 months ago

TODO: [x] Add chat to right click menu with shortcut key

Fixed: [x] a bug where pressing the hot key or menu item wouldn't open chat unless the side bar was already open.

Other bugs found: [x] hot key only works one time if refact isn't open in the side bar [ ] console error: Refused to apply inline style because it violates the following Content Security Policy directive: "style-src-attr 'sha256-tQhKwS01F0Bsw/EwspVgMAqfidY8gpn/+DKLIxQ65hg=' 'unsafe-hashes'". Either the 'unsafe-inline' keyword, a hash ('sha256-Qg1aIU8FZMYkvtyVGm/iZPJvQYu9DL7QQrCPQzg+BPo='), or a nonce ('nonce-...') is required to enable inline execution.