generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(devti-lang): improve file reference completion provider #101
The FileReferenceLanguageProvider has been refactored to correctly handle the addition of lookup elements for files within the project. The `canBeAdded` function now ensures that only valid files are considered for completion, and the `buildElement` function has been updated to correctly construct the lookup element with the appropriate icon and insert handler. Additionally, the use of `FileUtilRt` has been introduced to handle file paths more robustly.
- Loading branch information
Showing
1 changed file
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters