Closed forki closed 6 years ago
we also need to deduplicate
/cc @MangelMaxime
Yes, and to do that we need to change the state
structure
https://github.com/ionide/ionide-vscode-mechanic/pull/10#discussion_r174152717
Getting project to which file belongs should be fairly simple - Project
object contains list of files, getting current path is window.activeTextEditor.document.filename
I already have this implemented, I just don't know which data structure to use for state ? Is it Dictionnary
? @Krzysztof-Cieslak
Yes, Dictionary
sounds good, I'm using it in couple of places in Ionide
Ok, I will work on this issue and change the structure then
/cc @Krzysztof-Cieslak