This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Reload completion on file changes #98
Merged
Merged
Changes from 16 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0b19f3b
Check if file completion before using it
faustinoaq 6353014
Add prelude_path by default
faustinoaq 6ba2aee
Revert not_nil! refactoring
faustinoaq af519b5
Add prelude_node
faustinoaq 37cfd9a
Fixes specs
faustinoaq 33c6a95
Fix crystal path
faustinoaq c349563
Fixes prelude path
faustinoaq 9e89531
Use Crystal::DEFAULT_PATH
faustinoaq 454b93c
Add reopen workspace and rebuild graph methods
faustinoaq e0118f9
Remove overkill code on rebuild
faustinoaq fb59e2e
Delete completion file node when drop_file is executed
faustinoaq c564fe6
Update @open_files
faustinoaq a1384ce
Add missing file_dependencies
faustinoaq b939c06
Merge branch 'master' into fa/reload-completion
faustinoaq 810ce9d
Merge branch 'master' into 'fa/reload-completion'
faustinoaq e515686
Merge branch 'fa/reload-completion' of github.com:crystal-lang-tools/…
faustinoaq 1cd82d1
Use push method
faustinoaq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small note: Remember: If you're doing
+ [expr]
you're having 2 new arrays!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about
ENV["CRYSTAL_PATH"].split(":") << @root_uri
?