numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
18 stars 6 forks source link

Improve autocompletion performance #5

Open numeredev opened 1 year ago

numeredev commented 1 year ago

DESCRIPTION

Is your change request related to a problem? Please describe. The autocompletion feature is at the moment a bit laggy because it reparses the current code context on every character.

Describe the solution you'd like Improve the autocompletion performance by introducing an semi-static parser model, which will contain the already detected code symbols used for autocompletion. This should improve loading times in larger files significantly. It will also enable the possibility of resolving includes and their contained declares.

Describe alternatives you've considered No alternative available.

Additional context Migrated from here: https://sourceforge.net/p/numere/tickets/719/

(Do not write below this line)


DEVS' SECTION

ANALYSIS

(Describe, what's the issue and which changes have to be made)

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST