Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable initial support for completions #185

Merged
merged 35 commits into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
edde255
Register completion provider
Schottkyc137 Jun 24, 2023
9d836de
clippy and fmt
Schottkyc137 Jun 24, 2023
2bbfdaa
Add function to request completion
Schottkyc137 Jun 24, 2023
3177bc8
Add dummy implementation of request_completion function
Schottkyc137 Jun 24, 2023
93ec3f0
Naive implementation
Schottkyc137 Jun 24, 2023
25ea8b4
Merge branch 'master' into auto-completions
Schottkyc137 Jul 2, 2023
dc23807
Refactor: TokenStream is now a trait
Schottkyc137 Jul 22, 2023
32a01e3
Merge DiagnosticTokenStream and TokenStream
Schottkyc137 Jul 22, 2023
c274a6b
Rename TokenStream to BaseTokenStream
Schottkyc137 Jul 22, 2023
a6741de
Rename _TokenStream to TokenStream
Schottkyc137 Jul 22, 2023
f169464
Refactor BaseTokenStream to TokenStream
Schottkyc137 Jul 22, 2023
017fc4a
Implement completion_tokenstream
Schottkyc137 Jul 25, 2023
72a1fc8
Merge branch 'master' into auto-completions
Schottkyc137 Aug 9, 2023
18cf4cb
Use alternative strategy to enable completions
Schottkyc137 Aug 9, 2023
cc456ec
Revert breaking changes
Schottkyc137 Aug 9, 2023
9dc5ab5
fmt
Schottkyc137 Aug 9, 2023
76f72f8
Allow double deref
Schottkyc137 Aug 9, 2023
54a6e70
Refactor: Use entity header instead of generic and port clause
Schottkyc137 Aug 10, 2023
7b103f1
Refactor: Architecture declarative part is a region
Schottkyc137 Aug 10, 2023
9261b87
Implement capabilities for regions
Schottkyc137 Aug 10, 2023
d8bda3d
Only search throught the current source when looking at completions
Schottkyc137 Aug 10, 2023
3765cfd
fmt
Schottkyc137 Aug 10, 2023
085c9bd
Add documentation
Schottkyc137 Aug 10, 2023
10eaef2
fmt
Schottkyc137 Aug 10, 2023
d040f7f
make sequential statements recoverable
Schottkyc137 Aug 10, 2023
1527b1f
Merge branch 'master' into auto-completions
Schottkyc137 Sep 9, 2023
b77b93b
clippy, fmt
Schottkyc137 Sep 9, 2023
9c3580f
restore Cargo.lock
Schottkyc137 Sep 9, 2023
21bc454
Don't complete simple items
Schottkyc137 Sep 9, 2023
708102f
Remove hardcoded positions
Schottkyc137 Sep 9, 2023
fe888fa
clippy
Schottkyc137 Sep 9, 2023
4588cd0
remove unused tests
Schottkyc137 Sep 9, 2023
64cb893
Merge branch 'master' into auto-completions
Schottkyc137 Sep 9, 2023
87b80d5
remove region related code
Schottkyc137 Sep 10, 2023
d8dd938
Add testcases; use substring instead of hardcoded positions
Schottkyc137 Sep 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
249 changes: 94 additions & 155 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions vhdl_lang/src/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ mod static_expression;
mod target;
mod visibility;

mod completion;

#[cfg(test)]
mod tests;

Expand Down
Loading
Loading