queries should automatically factor in the current filetype #18
Replies: 3 comments
-
I've been thinking about something similar, I'll try to add options to configure prefixes/suffixes. But it needs to be done more generically, as this plugin may be used in various ways, not just for coding. I'm also working on other commands specifically for coding: code completion/refactoring/adding comments, etc. I'll be back soon with the first version. By the way, what is your custom configuration and what font and colorscheme are you using? It looks pretty good. |
Beta Was this translation helpful? Give feedback.
-
great, I think simply having different options would be useful here. Maybe apply the prefix/suffix only for when you have have the ChatUI window open, and not for the other scenarios?
great to hear 🥳
Thanks! The font is JetBrains Mono, the theme is oxocarbon |
Beta Was this translation helpful? Give feedback.
-
Yeah would be good to have an option to launch it like this like |
Beta Was this translation helpful? Give feedback.
-
Take this example, which takes place while my current file is a lua file. The first query gives me an answer, which is not valid syntax in lua. I to have explicitly add "in lua" to get the correct answer. Given that the current file is a lua file, I assume it would be smarter if the plugin automatically adds "in {current filetype}" to any query (or offer this as an option).
This would reduce the number of wrong answers, and also reduce the number of queries one has to send when remembering that the filetype is missing (= less tokens)
Beta Was this translation helpful? Give feedback.
All reactions