gristlabs_grist-core/app
Dmitry S 3513c1e8d2 (core) In formula autocompletions, fix suggestions after an opening parenthesis.
Summary:
Previously, a change was made to include the opening parenthesis into the
"identifier regex", so that backend received the function call name for cases
like 'T.lookupOne(B' (to autocomplete columns of table T that start with "B").
Unfortunately, that interferes with common cases like 'SUM($B', since instead
of sending '$B', it is now including the function name.

To properly fix the common case, we need to exclude the function name from the
call, but for lookups we need to include it. ACE's methods aren't flexible
enough to override this logic cleanly, so some monkey-patching was needed.

Test Plan: Added a test case

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3874
2023-04-26 15:26:44 -04:00
..
client (core) In formula autocompletions, fix suggestions after an opening parenthesis. 2023-04-26 15:26:44 -04:00
common (core) updates from grist-core 2023-04-17 09:58:04 -04:00
gen-server (core) Fix owner view access to snapshots 2023-04-17 00:16:59 -04:00
plugin Use relative imports only in plugin folder (#328) 2022-10-26 10:41:38 -04:00
server (core) Fix reporting of blank attachment types 2023-04-19 09:37:03 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00