Replies: 1 comment 2 replies
-
It's possible, though I don't know how to do it exactly. This is completely a client-side logic and it boils down to decide which chunks of the codebase to add to the ring-buffer context that the extension uses. Currently, the implementation is very simple by adding just the chunks that you recently edited, visited or copied. The logic can be improved, but the main factors to consider are to keep the extension simple and avoid very custom or language-specific logic. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for the great work!
When completing, could the plugin consider other files in the project as context? For example, when a function is imported from another file, the plugin could analyse the file and predict it's parameter when completing a function call.
Beta Was this translation helpful? Give feedback.
All reactions