aws / language-servers

AWS related Language Servers
Apache License 2.0
19 stars 18 forks source link

Extract symbols to improve Q's suggestions #252

Closed makenneth closed 3 months ago

makenneth commented 3 months ago

Description

Apologies for the big PR. I am missing some test cases, but I will come back for them when I work on quick actions.

This PR extracts symbols from document using @aws/fully-qualified-names to improve Q's suggestions. The execution will be run by workers to increase resilience. Since the implementation of workers and the fqn library are platform dependent, we need to split up the entry points so build system can bundle the appropriate files.

Each environment will have its own worker file that takes care of importing fqn and running the code. The exported FqnWorkerPool will use this worker. Build systems are then able to locate the right bundle based on the "target" option

Note

Next up

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.