Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Support for applying types one at time #34

Open
urish opened this issue Mar 20, 2018 · 0 comments
Open

Support for applying types one at time #34

urish opened this issue Mar 20, 2018 · 0 comments
Labels
component:core enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@urish
Copy link
Collaborator

urish commented Mar 20, 2018

Currently, calling applyTypes() adds all the given types to the code at once. If we added support to applying types one at a time, this would pave the way to implement editor plugins (see #15).

One important thing we need to pay attention to - since applyTypes() modifies the original source code, the offsets of the types we collected may change. So ideally, we need change applyTypes() so that it also updates the file offsets in the collected type info whenever it modifies a source file.

@urish urish added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 20, 2018
@urish urish added this to the TypeWiz 1.1.0 milestone Apr 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component:core enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant