-
Notifications
You must be signed in to change notification settings - Fork 4
Automatically detect adapter packages #14
Copy link
Copy link
Open
Labels
EnhancementNew feature or requestNew feature or requestPythonRelated to the python code generating completionsRelated to the python code generating completions
Milestone
Description
Currently we have to manually import each adapter and have an ugly function (_parser_adapter) with (potentially) lots of if statements.
We could detect these packages automatically, and have each parser_adapter declare the type of parser it matches. Then, we can convert the _parser_adapter to a (slightly) more elegant for loop, and not have to update it ever again (when adding new parsers).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or requestPythonRelated to the python code generating completionsRelated to the python code generating completions