Closed meherhowji closed 6 years ago
The open tabs have acted as a good way of keeping the list of files to search the words from. Having a list of files outside this will have a performance impact and the extension will need to do a lot more at detecting changes. I will need to test out extensively how much the extension can handle. Will keep this bug open until I have a good solution.
Isn't this pretty much ctags?
@mikew The feature may be similar but it is not sharing any code with ctags. This plugin is not accessing any files directly and runs completely within the VSCode shell using the VSCode API. I do not intend to break the sandbox with this plugin. If you want ctags, use https://marketplace.visualstudio.com/items?itemName=jaydenlin.ctags-support.
Oh I'm aware of all that stuff, my point was that @meherranjan could get what they're looking for with ctags.
Added support for AllAutocomplete.wordListFiles
where you can specify the list of files to open. You can use recursive listing of directory and add that to settings. VSCode does open those files so there is cost involved.
https://marketplace.visualstudio.com/items?itemName=jaydenlin.ctags-support
@atishay what do u mean by "recursive listing"? Can I use a glob pattern? I was to autocomplete from all files in a project except node_modules
, and don't care about performance.
Use ‘find Directory_name -print’ or ‘ls -R’
Use ‘find Directory_name -print’ or ‘ls -R’
I see what you mean! I finally used "Open All Files" extension. I open all ".js files in my project, then I split my editor and then maximise my 2nd workspace.
It would be nice to have a configuration based on directories. For example, let autocomplete suggest based on the current directory level or one level up or project wide.