On Wed, 1 Jul 2020 17:50:50 +0700 Ryan Joseph via fpc-pascal <[email protected]> wrote:
> I'm using CodeToolBoss.GatherIdentifiers to get completions but with > some units I'm getting 50k identifiers which is simply too much and > too slow. Maybe of these are coming from the RTL I think and I would > be ok with limited some of these results if possible. > > Is there anyway to tell CodeTools to ignore certain units or any > other way to reduce the number of results? So far only the prefix. > One option would be return > results in partial batches (Language Server Protocol) supports this > but again I'm not sure if CodeTools supports this or not. Codetools provide a list of identifiers. Since you loop over the list to fetch the identifiers, why not apply any filter you like directly? Mattias _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
