You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this request related to a problem? Please describe.
Currently, whenever you select the option "explain code", not selecting any code in the file gives you the error Variable 'selectedText' is too short, forcing you to select the entire file before asking for the AI to explain the entire code
Describe the solution you'd like
Whenever no code is selected, the selectedText variable should be equal to the entirety of the file currently in focus
The text was updated successfully, but these errors were encountered:
I agree. The reason selections are required at the moment is that the prompt input size is limited (4096 tokens - tokens reserved for the response), so you'd run into errors with larger files. But that could be solved with a different error message.
Is this request related to a problem? Please describe.
Currently, whenever you select the option "explain code", not selecting any code in the file gives you the error
Variable 'selectedText' is too short
, forcing you to select the entire file before asking for the AI to explain the entire codeDescribe the solution you'd like
Whenever no code is selected, the
selectedText
variable should be equal to the entirety of the file currently in focusThe text was updated successfully, but these errors were encountered: