| ▲ | bandrami 11 hours ago | |||||||||||||||||||||||||||||||||||||
Genuine question re #1: does your text editor not already do that? | ||||||||||||||||||||||||||||||||||||||
| ▲ | rhdunn 10 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
Text editors/IDEs have simple autocomplete and the ability to do some expansion, e.g. a for loop with placeholders to fill in. Those work and are still useful. JetBrains also has local line-based LLM models for various languages. With the LLM-based autocomplete it a) generally autocompletes more code at once, and b) will often pick up on patterns in the existing code. E.g. if you have a similar method, list of print/string buffer write statements, or other repetitive code in the file it will often use that as a model for the generated code. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | socalgal2 10 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Without ai my text editor auto completes letters into existing identifiers or adds a closing brace With ai it add several lines of code at once as soon as it thinks it recognizes a common pattern. It’s not perfect and it can get in the way but it’s amazing when it guesses right and spits out the next 3-4 lines I would have typed | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||