Skip to content

Add Incremental Update into ts2famix#7

Closed
norilanda wants to merge 13 commits intodevfrom
feature/incremental-update
Closed

Add Incremental Update into ts2famix#7
norilanda wants to merge 13 commits intodevfrom
feature/incremental-update

Conversation

@norilanda
Copy link
Owner

No description provided.

@norilanda norilanda self-assigned this Jul 22, 2025
* Refactor code for the Famic Class creation

* Connect vscode extension with ts2famix changes

* Add neverthrow library, Throw the error when the tsconfig file is not found

* Add better error handling for commands, Add response type for commands

* Add the test cases list

* Rename 'createOrGetFamixClass' method to 'ensureFamixClass' method
* Add the source anchor deletion implementation

* Refactor inheritance and interface creation

* Add a FullyQualifiedNameEntity interface

* Add catching the error for the extension incremental update

* Update README.md

* Split SourcedEntity class into 2 classes: SourcedEntity and EntityWithSourceAnchor
* Add tests and incremental update for property
* Add the source anchor deletion implementation

* Refactor inheritance and interface creation

* Add a FullyQualifiedNameEntity interface

* Split SourcedEntity class into 2 classes: SourcedEntity and EntityWithSourceAnchor

* Add tests for import clause

* Implement ImportClause for named imports. Add incremental update for the imported entities (Inheritance and ImportClause).
----------------------------
Still need to resolve the issue with:
- re-export
- the cases when we choose to create the module over a file
- finish file and module Famix elements creation, add tests
- implement ImportClause for other types of imports

* Add reexport tests

* Add namespace import tests

* Add implementation for the Import Clause for
- named import/export;
- namespace import/export;
- reexport.
Encapsulate ImportClause creation logic in a separate file

* Add test with exporting interfaces for the inheritance

* Remove the old ImportClause test

* Fix getFamixEntityByFullyQualifiedName to work with all the entities that have fullyQualifiedName field

* Fix getModuleSpecifierFromDeclaration to work with import without ts. We still need to verify how does it work with node_modules and import aliases

* Add excluding files specified in tsconfig from watching
@norilanda norilanda closed this Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant