Community
Participate
Working Groups
In DLTK, there are a cache to store AST of a source file (to avoid to re-parse file each time we need to acces to the ast) The ast is remove from cache when : - file is modified - file is remove from workspace (or builpath?) This cache management don't allow to implement a behavior which could be cool for most of editor : when editor is not able to parse a file (because there are a syntax error for example), return the last valid AST for this file. currently, we can use the cache system of DLTK because when a file is modified, it's remove from cache. so we must create our own cache system to implement this. A way to resolve this problem, is to : - remove file from cache when it is removed from workspace(or buildpath). - flag the file as dirty in the cache when the file is just modified.