The code in this file performs much of the core completion functionality and there are a few issues that should be addressed:
- Certain class methods contain similar repeated code, particularly where symbols chains are traversed. Where possible these should be unified.
- There is extensive use of
try / catch in several class methods (largely due to use of async / await), making the code hard to reason about and possibly conflating errors. These should be refactored.
The code in this file performs much of the core completion functionality and there are a few issues that should be addressed:
try/catchin several class methods (largely due to use ofasync/await), making the code hard to reason about and possibly conflating errors. These should be refactored.