Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You mean you have a text editor that knows what words are on the page in a CHROME tab (for example)

Or you mean, that if you've got 2 text files open as tabs in the same VSCODE window typing in 1 tab will auto-complete with words from the 2nd tab?

Where have you seen this feature as it sounds AMAZING!



Pretty sure he means the latter. Several editors I've used over the years supported that. The ones I can remember are Scite, UltraEdit, PNotepad and Vim.


I mean the latter (other open windows in the text editor). TextMate and Sublime both operate this way, as opposed to IntelliSense style auto-complete where it only operates off of symbol definitions (class names, function names, properties and variables, etc). Which makes sense, because TextMate and Sublime don't really "understand" your code like Visual Studio historically does.


Sublime Text doesn't do this by default although there's an extension[1] to do that.

[1] https://github.com/alienhard/SublimeAllAutocomplete


It auto-completes with words from tabs in the same VSCODE window. Atom has similar behaviour with autocomplete-plus.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: